@Immutable public abstract class AbstractRequestParameterHandlerNamed extends Object implements IRequestParameterHandler
IRequestParameterHandler implementations that support
special parameter names| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_REQUEST_PARAMETER_DISPLAY_LOCALE
The default name of the parameter selecting the current display locale
|
static String |
DEFAULT_REQUEST_PARAMETER_MENUITEM
The default name of the parameter selecting the current menu item
|
| Constructor and Description |
|---|
AbstractRequestParameterHandlerNamed() |
| Modifier and Type | Method and Description |
|---|---|
String |
getRequestParamNameLocale() |
String |
getRequestParamNameMenuItem() |
abstract boolean |
isValidParameterName(String sParamName)
Check if the passed parameter name is valid according to the rules of this
parameter handler.
|
AbstractRequestParameterHandlerNamed |
setRequestParamNameLocale(String sRequestParamNameLocale) |
AbstractRequestParameterHandlerNamed |
setRequestParamNameMenuItem(String sRequestParamNameMenuItem) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbuildURL, getParametersFromRequest, getParametersFromURLpublic static final String DEFAULT_REQUEST_PARAMETER_DISPLAY_LOCALE
public static final String DEFAULT_REQUEST_PARAMETER_MENUITEM
public AbstractRequestParameterHandlerNamed()
public abstract boolean isValidParameterName(@Nonnull String sParamName)
sParamName - The parameter name to check. May not be null.true if the parameter is valid, false
otherwise.@Nonnull public final AbstractRequestParameterHandlerNamed setRequestParamNameLocale(@Nonnull @Nonempty String sRequestParamNameLocale)
@Nonnull public final AbstractRequestParameterHandlerNamed setRequestParamNameMenuItem(@Nonnull @Nonempty String sRequestParamNameMenuItem)
Copyright © 2014–2017 Philip Helger. All rights reserved.