Package | Description |
---|---|
org.apache.hc.core5.http.impl.io |
Default implementation of HTTP/1.1 transport based on the classic
(blocking) I/O model.
|
org.apache.hc.core5.http.impl.nio |
Default implementation of HTTP/1.1 transport based on
the asynchronous (non-blocking) I/O model.
|
org.apache.hc.core5.http.message |
Core HTTP message components, message element parser
and writer APIs and their default implementations.
|
Modifier and Type | Method and Description |
---|---|
static Header[] |
AbstractMessageParser.parseHeaders(SessionInputBuffer inBuffer,
InputStream inputStream,
int maxHeaderCount,
int maxLineLen,
LineParser lineParser)
Parses HTTP headers from the data receiver stream according to the generic
format as specified by the HTTP/1.1 protocol specification.
|
static Header[] |
AbstractMessageParser.parseHeaders(SessionInputBuffer inBuffer,
InputStream inputStream,
int maxHeaderCount,
int maxLineLen,
LineParser parser,
List<CharArrayBuffer> headerLines)
Parses HTTP headers from the data receiver stream according to the generic
format as specified by the HTTP/1.1 protocol specification.
|
Constructor and Description |
---|
AbstractMessageParser(LineParser lineParser,
Http1Config http1Config)
Creates new instance of AbstractMessageParser.
|
DefaultHttpRequestParser(LineParser lineParser,
HttpRequestFactory<ClassicHttpRequest> requestFactory,
Http1Config http1Config)
Creates new instance of DefaultHttpRequestParser.
|
DefaultHttpRequestParserFactory(LineParser lineParser,
HttpRequestFactory<ClassicHttpRequest> requestFactory) |
DefaultHttpResponseParser(LineParser lineParser,
HttpResponseFactory<ClassicHttpResponse> responseFactory,
Http1Config http1Config)
Creates new instance of DefaultHttpResponseParser.
|
DefaultHttpResponseParserFactory(LineParser lineParser,
HttpResponseFactory<ClassicHttpResponse> responseFactory) |
Constructor and Description |
---|
AbstractMessageParser(LineParser lineParser,
Http1Config messageConstraints)
Creates an instance of AbstractMessageParser.
|
DefaultHttpRequestParser(HttpRequestFactory<T> requestFactory,
LineParser parser,
Http1Config http1Config)
Creates an instance of DefaultHttpRequestParser.
|
DefaultHttpRequestParserFactory(Http1Config http1Config,
HttpRequestFactory<HttpRequest> requestFactory,
LineParser lineParser) |
DefaultHttpResponseParser(HttpResponseFactory<T> responseFactory,
LineParser parser,
Http1Config http1Config)
Creates an instance of DefaultHttpResponseParser.
|
DefaultHttpResponseParserFactory(Http1Config http1Config,
HttpResponseFactory<HttpResponse> responseFactory,
LineParser lineParser) |
Modifier and Type | Class and Description |
---|---|
class |
BasicLineParser
Default
LineParser implementation. |
class |
LazyLaxLineParser
Extension of
BasicLineParser that defers parsing of
header values. |
class |
LazyLineParser
Extension of
BasicLineParser that defers parsing of
header values. |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.