Package | Description |
---|---|
org.apache.hc.core5.http.io.entity |
HTTP message entity APIs based on the classic (blocking) I/O model.
|
org.apache.hc.core5.http.message |
Core HTTP message components, message element parser
and writer APIs and their default implementations.
|
org.apache.hc.core5.http.ssl |
Modifier and Type | Method and Description |
---|---|
static String |
EntityUtils.toString(HttpEntity entity)
Reads the contents of an entity and return it as a String.
|
static String |
EntityUtils.toString(HttpEntity entity,
Charset defaultCharset)
Gets the entity content as a String, using the provided default character set
if none is found in the entity.
|
static String |
EntityUtils.toString(HttpEntity entity,
Charset defaultCharset,
int maxResultLength)
Gets the entity content as a String, using the provided default character set
if none is found in the entity.
|
static String |
EntityUtils.toString(HttpEntity entity,
int maxResultLength)
Reads the contents of an entity and return it as a String.
|
static String |
EntityUtils.toString(HttpEntity entity,
String defaultCharset)
Gets the entity content as a String, using the provided default character set
if none is found in the entity.
|
static String |
EntityUtils.toString(HttpEntity entity,
String defaultCharset,
int maxResultLength)
Gets the entity content as a String, using the provided default character set
if none is found in the entity.
|
Modifier and Type | Method and Description |
---|---|
Header |
BasicLineParser.parseHeader(CharArrayBuffer buffer) |
Header |
LazyLaxLineParser.parseHeader(CharArrayBuffer buffer) |
Header |
LineParser.parseHeader(CharArrayBuffer buffer)
Parses a header from the given buffer containing one line of text.
|
Header |
LazyLineParser.parseHeader(CharArrayBuffer buffer) |
RequestLine |
BasicLineParser.parseRequestLine(CharArrayBuffer buffer)
Parses a request line.
|
RequestLine |
LineParser.parseRequestLine(CharArrayBuffer buffer)
Parses a request line from the given buffer containing one line of text.
|
StatusLine |
BasicLineParser.parseStatusLine(CharArrayBuffer buffer) |
StatusLine |
LineParser.parseStatusLine(CharArrayBuffer buffer)
Parses a status line from the given buffer containing one line of text.
|
Constructor and Description |
---|
BufferedHeader(CharArrayBuffer buffer)
Creates a new header from a buffer.
|
Modifier and Type | Method and Description |
---|---|
static ProtocolVersion |
TLS.parse(String s) |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.