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

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

Introduction

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

The text is from its open source code.

Implementation

org.springframework.web.context.request.NativeWebRequest has the following implementations.
Click this link to see all its implementation.

Method

booleancheckNotModified(long lastModifiedTimestamp)
Check whether the requested resource has been modified given the supplied last-modified timestamp (as determined by the application).
booleancheckNotModified(@Nullable String etag, long lastModifiedTimestamp)
Check whether the requested resource has been modified given the supplied ETag (entity tag) and last-modified timestamp, 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).
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.
TgetNativeRequest(@Nullable Class requiredType)
Return the underlying native request object, if available.
ObjectgetNativeRequest()
Return the underlying native request object.
TgetNativeResponse(@Nullable Class requiredType)
Return the underlying native response object, if available.
ObjectgetNativeResponse()
Return the underlying native response object, if any.
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.
PrincipalgetUserPrincipal()
Return the user principal for this request, if any.
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).
StringtoString()
Returns a string representation of the object.