org.springframework.integration.http
Interface HttpRequest


public interface HttpRequest

Representation of an HTTP request to be executed by an implementation of the HttpRequestExecutor strategy.

Since:
1.0.2
Author:
Mark Fisher

Method Summary
 java.io.ByteArrayOutputStream getBody()
          Return the request body as a ByteArrayOutputStream, or null if this request has no body content.
 java.lang.Integer getContentLength()
          Return the content length if known, else null.
 java.lang.String getContentType()
          Return the content type for requests.
 java.lang.String getRequestMethod()
          Return the request method ("GET", "POST", etc).
 java.net.URL getTargetUrl()
          Return the target URL for this request.
 

Method Detail

getTargetUrl

java.net.URL getTargetUrl()
Return the target URL for this request.


getRequestMethod

java.lang.String getRequestMethod()
Return the request method ("GET", "POST", etc).


getContentType

java.lang.String getContentType()
Return the content type for requests.


getContentLength

java.lang.Integer getContentLength()
Return the content length if known, else null.


getBody

java.io.ByteArrayOutputStream getBody()
Return the request body as a ByteArrayOutputStream, or null if this request has no body content.