public interface IRequestParameterHandler extends Serializable
| Modifier and Type | Method and Description |
|---|---|
com.helger.commons.url.SimpleURL |
buildURL(com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope,
String sBasePath,
Locale aDisplayLocale,
String sMenuItemID)
Build a URL based on the passed base path and an optional list of
parameters.
|
PhotonRequestParameters |
getParametersFromRequest(com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope)
Get all request parameters from the provided request.
|
PhotonRequestParameters |
getParametersFromURL(com.helger.commons.url.ISimpleURL aURL)
Get all request parameters from the provided URL.
|
@Nonnull @ReturnsMutableCopy PhotonRequestParameters getParametersFromRequest(@Nonnull com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope)
aRequestScope - The current request scope. May not be null.null list of all parameters.@Nonnull @ReturnsMutableCopy PhotonRequestParameters getParametersFromURL(@Nonnull com.helger.commons.url.ISimpleURL aURL)
aURL - The URL to extract the parameters from. May not be
null.null list of all parameters.@Nonnull com.helger.commons.url.SimpleURL buildURL(@Nullable com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, @Nonnull @Nonempty String sBasePath, @Nullable Locale aDisplayLocale, @Nullable String sMenuItemID)
aRequestScope - Current request scope. May be null.sBasePath - The base path to use. May not be null and must NOT end
with a "/".aDisplayLocale - The display locale to use. May be null.sMenuItemID - The menu item ID to use. May be null.Copyright © 2014–2017 Philip Helger. All rights reserved.