ClientConnection.
This class only represents the HTTP header, it does not represent an entity body. If the request needs an entity
body then this must be specified by either setting a Content-Length or Transfer-Encoding header, otherwise
the client will assume that the body is empty.
| Modifier and Type | Field and Description |
|---|---|
| private HttpString | |
| private String | |
| private HttpString | |
| private final HeaderMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public HttpString | |
| public String | |
| public HttpString | |
| public HeaderMap | |
| public ClientRequest | |
| public ClientRequest | |
| public ClientRequest | |
| public String |
| method | back to summary |
|---|---|
| private HttpString method | |
| path | back to summary |
|---|---|
| private String path | |
| protocol | back to summary |
|---|---|
| private HttpString protocol | |
| requestHeaders | back to summary |
|---|---|
| private final HeaderMap requestHeaders | |
| ClientRequest | back to summary |
|---|---|
| public ClientRequest() | |
| getMethod | back to summary |
|---|---|
| public HttpString getMethod() | |
| getPath | back to summary |
|---|---|
| public String getPath() | |
| getProtocol | back to summary |
|---|---|
| public HttpString getProtocol() | |
| getRequestHeaders | back to summary |
|---|---|
| public HeaderMap getRequestHeaders() | |
| setMethod | back to summary |
|---|---|
| public ClientRequest setMethod(HttpString method) | |
| setPath | back to summary |
|---|---|
| public ClientRequest setPath(String path) | |
| setProtocol | back to summary |
|---|---|
| public ClientRequest setProtocol(HttpString protocol) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |