Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.struts.scripting
Class RequestToVariableFilter

    java.lang.Object
      org.apache.struts.scripting.RequestToVariableFilter

All Implemented Interfaces:
  BSFManagerFilter

    public class RequestToVariableFilter

extends java.lang.Object
implements BSFManagerFilter

Takes request parameters and declares variables with them. If a variable is already exists with that name, a "_" is prepended to the name. Both Strings and arrays are recognized.

Constructor Summary
`RequestToVariableFilter()`

Method Summary
`org.apache.bsf.BSFManager` | `apply(org.apache.bsf.BSFManager mgr)` Applies the filter.
`void` | `init(java.lang.String name, java.util.Properties props)` Initializes the filter.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### RequestToVariableFilter

    public RequestToVariableFilter()

Method Detail

### init

    public void init(java.lang.String name,
                     java.util.Properties props)

  Initializes the filter.

  Specified by:
    `init` in interface `BSFManagerFilter`
  Parameters:
    `name` - The name of the filter
    `props` - The properties

### apply

    public org.apache.bsf.BSFManager apply(org.apache.bsf.BSFManager mgr)

  Applies the filter.

  Specified by:
    `apply` in interface `BSFManagerFilter`
  Parameters:
    `mgr` - The bsf manager
  Returns:
    The bsf manager

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2005 The Apache Software Foundation. All Rights Reserved.