| 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.io | Core HTTP transport APIs based on the classic (blocking) I/O model. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SessionInputBufferImplAbstract base class for session input buffers that stream data from
 an arbitrary  InputStream. | 
| Modifier and Type | Method and Description | 
|---|---|
| T | AbstractMessageParser. parse(SessionInputBuffer buffer,
     InputStream inputStream) | 
| ClassicHttpRequest | DefaultHttpRequestParser. parse(SessionInputBuffer buffer,
     InputStream inputStream) | 
| 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 | 
|---|
| ChunkedInputStream(SessionInputBuffer buffer,
                  InputStream inputStream)Wraps session input stream and reads chunk coded input. | 
| ChunkedInputStream(SessionInputBuffer buffer,
                  InputStream inputStream,
                  Http1Config http1Config)Default constructor. | 
| ContentLengthInputStream(SessionInputBuffer buffer,
                        InputStream inputStream,
                        long contentLength)Default constructor. | 
| IdentityInputStream(SessionInputBuffer buffer,
                   InputStream inputStream)Default constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| T | HttpMessageParser. parse(SessionInputBuffer buffer,
     InputStream inputStream)Generates an instance of  MessageHeadersfrom the given input stream.. | 
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.