Example usage for Java org.springframework.web.context.request ServletWebRequest fields, constructors, methods, implement or subclass
The text is from its open source code.
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. |
boolean | checkNotModified(long lastModifiedTimestamp) |
boolean | checkNotModified(String etag) |
String | getContextPath() |
String[] | getHeaderValues(String headerName) |
HttpMethod | getHttpMethod() Return the HTTP method of the request. |
String | getParameter(String paramName) |
Map | getParameterMap() |
String[] | getParameterValues(String paramName) |
HttpServletRequest | getRequest() Exposes the native HttpServletRequest that we're wrapping. |
HttpServletResponse | getResponse() Exposes the native HttpServletResponse that we're wrapping (if any). |
boolean | isNotModified() |
void | setAttribute(String name, Object value, int scope) |