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

## com.opensymphony.xwork2.interceptor
Interface ParameterNameAware

    public interface ParameterNameAware

This interface is implemented by actions that want to declare acceptable parameters. Works in conjunction with `ParametersInterceptor`. For example, actions may want to create a whitelist of parameters they will accept or a blacklist of paramters they will reject to prevent clients from setting other unexpected (and possibly dangerous) parameters.

Author:
  Bob Lee (crazybob@google.com)

Method Summary
`boolean` | `acceptableParameterName(String parameterName)` Tests if the the action will accept the parameter with the given name.

Method Detail

### acceptableParameterName

    boolean acceptableParameterName(String parameterName)

  Tests if the the action will accept the parameter with the given name.

  Parameters:
    `parameterName` - the parameter name
  Returns:
    `if accepted, `false` otherwise`

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

Copyright © 2000–2018 Apache Software Foundation. All rights reserved.