ClassicHttpRequest.
| Modifier and Type | Field and Description |
|---|---|
| private HttpEntity | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | BasicClassicHttpRequest(final String
request method. method, final String request scheme. scheme, final URIAuthority request authority. authority, final String request path. path)Creates request message with the given method, host and request path. |
| public | BasicClassicHttpRequest(final String
request method. method, final String request path. path)Creates request message with the given method and request path. |
| public | BasicClassicHttpRequest(final String
request method. method, final HttpHost request host. host, final String request path. path)Creates request message with the given method, host and request path. |
| public | BasicClassicHttpRequest(final String
request method. method, final URI request URI. requestUri)Creates request message with the given method, request URI. |
| public | BasicClassicHttpRequest(final Method
request method. method, final String request path. path)Creates request message with the given method and request path. |
| public | BasicClassicHttpRequest(final Method
request method. method, final HttpHost request host. host, final String request path. path)Creates request message with the given method, host and request path. |
| public | BasicClassicHttpRequest(final Method
request method. method, final URI request URI. requestUri)Creates request message with the given method, request URI. |
| Modifier and Type | Method and Description |
|---|---|
| public HttpEntity | getEntity()
Implements org. |
| public void | setEntity(final HttpEntity
the entity to set of this message, or entity)null to unsetImplements org. |
| entity | back to summary |
|---|---|
| private HttpEntity entity | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. | |
| BasicClassicHttpRequest | back to summary |
|---|---|
| public BasicClassicHttpRequest(final String method, final String scheme, final URIAuthority authority, final String path) Creates request message with the given method, host and request path.
| |
| BasicClassicHttpRequest | back to summary |
|---|---|
| public BasicClassicHttpRequest(final String method, final String path) Creates request message with the given method and request path. | |
| BasicClassicHttpRequest | back to summary |
|---|---|
| public BasicClassicHttpRequest(final String method, final HttpHost host, final String path) Creates request message with the given method, host and request path. | |
| BasicClassicHttpRequest | back to summary |
|---|---|
| public BasicClassicHttpRequest(final String method, final URI requestUri) Creates request message with the given method, request URI. | |
| BasicClassicHttpRequest | back to summary |
|---|---|
| public BasicClassicHttpRequest(final Method method, final String path) Creates request message with the given method and request path. | |
| BasicClassicHttpRequest | back to summary |
|---|---|
| public BasicClassicHttpRequest(final Method method, final HttpHost host, final String path) Creates request message with the given method, host and request path. | |
| BasicClassicHttpRequest | back to summary |
|---|---|
| public BasicClassicHttpRequest(final Method method, final URI requestUri) Creates request message with the given method, request URI. | |
| getEntity | back to summary |
|---|---|
| public HttpEntity getEntity() Implements org. Doc from org. Obtains the message entity, if available.
| |
| setEntity | back to summary |
|---|---|
| public void setEntity(final HttpEntity entity) Implements org. Doc from org. Sets an entity for this message. Please note that if an entity has already been set it is responsibility of the caller to ensure release of the resources that may be associated with that entity.
| |