Java org.springframework.web.context.request WebRequest fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web.context.request WebRequest fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web.context.request WebRequest.

The text is from its open source code.

Method

booleancheckNotModified(long lastModifiedTimestamp)
Check whether the requested resource has been modified given the supplied last-modified timestamp (as determined by the application).
booleancheckNotModified(String etag)
Check whether the requested resource has been modified given the supplied ETag (entity tag), as determined by the application.
ObjectgetAttribute(String name, int scope)
Return the value for the scoped attribute of the given name, if any.
StringgetContextPath()
Return the context path for this request (usually the base path that the current web application is mapped to).
StringgetDescription(boolean includeClientInfo)
Get a short description of this request, typically containing request URI and session id.
StringgetHeader(String headerName)
Return the request header of the given name, or null if none.
IteratorgetHeaderNames()
Return a Iterator over request header names.
String[]getHeaderValues(String headerName)
Return the request header values for the given header name, or null if none.
LocalegetLocale()
Return the primary Locale for this request.
StringgetParameter(String paramName)
Return the request parameter of the given name, or null if none.
MapgetParameterMap()
Return a immutable Map of the request parameters, with parameter names as map keys and parameter values as map values.
IteratorgetParameterNames()
Return a Iterator over request parameter names.
String[]getParameterValues(String paramName)
Return the request parameter values for the given parameter name, or null if none.
StringgetRemoteUser()
Return the remote user for this request, if any.
StringgetSessionId()
Return an id for the current underlying session.
PrincipalgetUserPrincipal()
Return the user principal for this request, if any.
booleanisSecure()
Return whether this request has been sent over a secure transport mechanism (such as SSL).
voidremoveAttribute(String name, int scope)
Remove the scoped attribute of the given name, if it exists.
voidsetAttribute(String name, Object value, int scope)
Set the value for the scoped attribute of the given name, replacing an existing value (if any).