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

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

Introduction

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

The text is from its open source code.

Constructor

ServletWebRequest(HttpServletRequest request)
Create a new ServletWebRequest instance for the given request.
ServletWebRequest(HttpServletRequest request, @Nullable HttpServletResponse response)
Create a new ServletWebRequest instance for the given request/response pair.

Method

booleancheckNotModified(long lastModifiedTimestamp)
booleancheckNotModified(String etag)
StringgetContextPath()
String[]getHeaderValues(String headerName)
HttpMethodgetHttpMethod()
Return the HTTP method of the request.
StringgetParameter(String paramName)
MapgetParameterMap()
String[]getParameterValues(String paramName)
HttpServletRequestgetRequest()
Exposes the native HttpServletRequest that we're wrapping.
HttpServletResponsegetResponse()
Exposes the native HttpServletResponse that we're wrapping (if any).
booleanisNotModified()
voidsetAttribute(String name, Object value, int scope)