| 接口 | 说明 |
|---|---|
| AsyncContentProvider |
A
ContentProvider that notifies listeners that content is available. |
| AsyncContentProvider.Listener |
A listener that is notified of content availability
|
| ContentProvider |
ContentProvider provides a source of request content. |
| ContentProvider.Typed |
An extension of
ContentProvider that provides a content type string
to be used as a Content-Type HTTP header in requests. |
| CookieParser.CookieParserCallback | |
| HttpTokens |
HTTP constants
|
| Synchronizable |
Implementations of this interface expose a lock object
via
Synchronizable.getLock() so that callers can synchronize
externally on that lock:
if (iterator instanceof Synchronizable)
{
Object element = null;
synchronized (((Synchronizable)iterator).getLock())
{
if (iterator.hasNext())
element = iterator.next();
}
}
In the example above, the calls to hasNext() and
next() are performed "atomically". |
| 类 | 说明 |
|---|---|
| AbstractTypedContentProvider | |
| ByteBufferContentProvider |
A
ContentProvider for ByteBuffers. |
| BytesContentProvider |
A
ContentProvider for byte arrays. |
| Cookie | |
| CookieGenerator | |
| CookieParser | |
| DateGenerator |
ThreadLocal Date formatters for HTTP style dates.
|
| DateParser |
ThreadLocal data parsers for HTTP style dates
|
| HostPort |
Parse an authority string into Host and Port
Parse a string in the form "host:port", handling IPv4 an IPv6 hosts
|
| HostPortHttpField | |
| HttpField | |
| HttpField.IntValueHttpField | |
| HttpField.LongValueHttpField | |
| HttpFields |
HTTP Fields.
|
| HttpStatus |
Http Status Codes
|
| HttpURI |
Http URI.
|
| InclusiveByteRange |
Byte range inclusive of end points.
|
| InputStreamContentProvider |
A
ContentProvider for an InputStream. |
| MetaData | |
| MetaData.Request | |
| MetaData.Response | |
| MimeTypes | |
| MultiPartContentProvider | |
| MultiPartInputStreamParser |
MultiPartInputStream
Handle a MultiPart Mime input stream, breaking it up on the boundary into
files and strings.
|
| MultiPartOutputStream | |
| MultiPartWriter | |
| PathContentProvider |
A
ContentProvider for files using JDK 7's java.nio.file APIs. |
| PreEncodedHttpField |
Pre encoded HttpField.
|
| QuotedCSV |
Implements a quoted comma separated list of values
in accordance with RFC7230.
|
| QuotedQualityCSV |
Implements a quoted comma separated list of quality values in accordance with
RFC7230 and RFC7231.
|
| StaticTableHttpField | |
| StringContentProvider |
A
ContentProvider for strings. |
| 枚举 | 说明 |
|---|---|
| HttpCompliance |
HTTP compliance modes:
RFC7230
(default) Compliance with RFC7230
RFC2616
Wrapped/Continued headers and HTTP/0.9 supported
LEGACY
(aka STRICT) Adherence to Servlet Specification requirement for exact
case of header names, bypassing the header caches, which are case
insensitive, otherwise equivalent to RFC2616
|
| HttpHeader | |
| HttpHeaderValue | |
| HttpMethod | |
| HttpScheme | |
| HttpStatus.Code | |
| HttpTokens.EndOfContent | |
| HttpVersion | |
| MimeTypes.Type |
| 异常错误 | 说明 |
|---|---|
| BadMessageException |
Exception thrown to indicate a Bad HTTP Message has either been received or
attempted to be generated.
|
| MultiException |
Wraps multiple exceptions.
|
Copyright © 2017. All rights reserved.