public interface Request extends RequestContainer, RequestSupport, ValidationProvider
Request is the framework-internal representation of a HttpServletRequest, wrapping the afore
mentioned and adding framework-specific methods.| Modifier and Type | Method and Description |
|---|---|
ExpressionEvaluator |
getExpressionEvaluator()
Returns the
ExpressionEvaluator for this Request. |
Locale |
getLocale()
|
ParameterSupport |
getParameterSupportDollar()
Returns the
ParameterSupport for this Request. |
PermissionProcessor |
getPermissionProcessor()
Returns the
PermissionProcessor for this Request. |
Subject |
getSubject()
|
List<String> |
getUrlParameters()
Returns a list of URL-Parameters for a JSP-page, which are those path-elements appearing after the name of the
JSP-page itself.
|
org.springframework.http.HttpHeaders |
headers()
Returns the
HttpHeaders for the underlying HttpServletRequest. |
boolean |
isGet()
Checks whether this
Request originates of a HTTP GET-request. |
boolean |
isPost()
Checks whether this
Request originates of a HTTP POST-request. |
boolean |
isRedirect()
Checks whether a redirect-target has been set for this
Request. |
getFormUploads, getFormUploads, getHost, getParameter, getParameterList, getParameterNames, getParameters, getParametersList, hasParameteraddErrorMessage, addErrorMessage, fillBindObject, getBindObject, getEnvironment, getFieldConverter, getMessage, getMessageSource, handleException, setPropertyValue, setPropertyValuescanConvert, canConvert, convert, convertaddValidationMetaData, validateBean, validateBean, validateFieldExpressionEvaluator getExpressionEvaluator()
ExpressionEvaluator for this Request.ExpressionEvaluatorParameterSupport getParameterSupportDollar()
ParameterSupport for this Request.ParameterSupportPermissionProcessor getPermissionProcessor()
PermissionProcessor for this Request.PermissionProcessorList<String> getUrlParameters()
contact and the path is /contact/europe/germany, the
resulting List would be equal to Arrays.asList("europe","germany").Path.getJspUrlParameters()boolean isRedirect()
Request.true if a redirect-target has been set for this Request, false otherwiseboolean isGet()
Request originates of a HTTP GET-request.true if this Request originates of a HTTP GET-request, false otherwiseboolean isPost()
Request originates of a HTTP POST-request.true if this Request originates of a HTTP POST-request, false otherwiseorg.springframework.http.HttpHeaders headers()
HttpHeaders for the underlying HttpServletRequest.Copyright © 2011–2023 aiticon GmbH. All rights reserved.