| Package | Description |
|---|---|
| org.codehaus.httpcache4j | |
| org.codehaus.httpcache4j.mutable | |
| org.codehaus.httpcache4j.payload | |
| org.codehaus.httpcache4j.util |
| Modifier and Type | Method and Description |
|---|---|
Optional<Payload> |
HTTPResponse.getPayload() |
Optional<Payload> |
HTTPRequest.getPayload() |
| Modifier and Type | Method and Description |
|---|---|
HTTPRequest |
HTTPRequest.payload(Payload payload)
Deprecated.
Use
HTTPRequest.withPayload(Payload) instead |
HTTPResponse |
HTTPResponse.withPayload(Payload payload) |
HTTPRequest |
HTTPRequest.withPayload(Payload payload) |
| Modifier and Type | Method and Description |
|---|---|
<A> Optional<A> |
HTTPResponse.transform(ThrowableFunction<Payload,A,IOException> f) |
| Constructor and Description |
|---|
HTTPRequest(URI requestURI,
HTTPMethod method,
Headers headers,
Optional<Challenge> challenge,
Optional<Payload> payload) |
HTTPResponse(Optional<Payload> payload,
Status status,
Headers headers) |
HTTPResponse(Optional<Payload> payload,
StatusLine statusLine,
Headers headers) |
| Modifier and Type | Method and Description |
|---|---|
Payload |
MutableRequest.getPayload() |
| Modifier and Type | Method and Description |
|---|---|
void |
MutableRequest.setPayload(Payload payload) |
| Modifier and Type | Class and Description |
|---|---|
class |
ByteArrayPayload |
class |
ClosedInputStreamPayload
This MUST ONLY be used for testing purposes.
|
class |
FilePayload
Payload that accepts a file with mimetype.
|
class |
FormDataPayload |
class |
InputStreamPayload
Represents a payload that is backed by a one-shot inputstream.
|
class |
StringPayload |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractHTTPWriter.writeBody(PrintStream writer,
Optional<Payload> payload) |
Copyright © 2008–2017. All rights reserved.