|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface HttpRequest
Representation of an HTTP request to be executed by an implementation of
the HttpRequestExecutor strategy.
| 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 |
|---|
java.net.URL getTargetUrl()
java.lang.String getRequestMethod()
java.lang.String getContentType()
java.lang.Integer getContentLength()
null.
java.io.ByteArrayOutputStream getBody()
ByteArrayOutputStream,
or null if this request has no body content.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||