|
Spring Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.http.server.ServletServerHttpRequest
public class ServletServerHttpRequest
ServerHttpRequest implementation that is based on a HttpServletRequest.
| Field Summary | |
|---|---|
protected static java.lang.String |
FORM_CHARSET
|
protected static java.lang.String |
FORM_CONTENT_TYPE
|
| Constructor Summary | |
|---|---|
ServletServerHttpRequest(javax.servlet.http.HttpServletRequest servletRequest)
Construct a new instance of the ServletServerHttpRequest based on the given HttpServletRequest. |
|
| Method Summary | |
|---|---|
java.io.InputStream |
getBody()
Return the body of the message as an input stream. |
HttpHeaders |
getHeaders()
Return the headers of this message. |
HttpMethod |
getMethod()
Return the HTTP method of the request. |
javax.servlet.http.HttpServletRequest |
getServletRequest()
Returns the HttpServletRequest this object is based on. |
java.net.URI |
getURI()
Return the URI of the request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String FORM_CONTENT_TYPE
protected static final java.lang.String FORM_CHARSET
| Constructor Detail |
|---|
public ServletServerHttpRequest(javax.servlet.http.HttpServletRequest servletRequest)
HttpServletRequest.
servletRequest - the servlet request| Method Detail |
|---|
public javax.servlet.http.HttpServletRequest getServletRequest()
HttpServletRequest this object is based on.
public HttpMethod getMethod()
HttpRequest
getMethod in interface HttpRequestpublic java.net.URI getURI()
HttpRequest
getURI in interface HttpRequestpublic HttpHeaders getHeaders()
HttpMessage
getHeaders in interface HttpMessage
public java.io.InputStream getBody()
throws java.io.IOException
HttpInputMessage
getBody in interface HttpInputMessagejava.io.IOException - in case of I/O Errors
|
Spring Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||