Uses of Class
org.apache.hc.core5.util.CharArrayBuffer
-
Packages that use CharArrayBuffer Package Description org.apache.hc.core5.http Core HTTP transport component APIs.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.io Core HTTP transport APIs based on the classic (blocking) I/O model.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.nio Core HTTP transport APIs based on the asynchronous, event driven I/O model.org.apache.hc.core5.http.nio.entity HTTP message entity APIs based on the asynchronous (non-blocking) I/O model.org.apache.hc.core5.util Core utility classes. -
-
Uses of CharArrayBuffer in org.apache.hc.core5.http
Methods in org.apache.hc.core5.http that return CharArrayBuffer Modifier and Type Method Description CharArrayBuffer
FormattedHeader. getBuffer()
Obtains the buffer with the formatted header. -
Uses of CharArrayBuffer in org.apache.hc.core5.http.impl.io
Fields in org.apache.hc.core5.http.impl.io declared as CharArrayBuffer Modifier and Type Field Description private CharArrayBuffer
AbstractMessageParser. headLine
private CharArrayBuffer
AbstractMessageWriter. lineBuf
private CharArrayBuffer
ChunkedInputStream. lineBuffer
private CharArrayBuffer
ChunkedOutputStream. lineBuffer
Fields in org.apache.hc.core5.http.impl.io with type parameters of type CharArrayBuffer Modifier and Type Field Description private java.util.List<CharArrayBuffer>
AbstractMessageParser. headerLines
Methods in org.apache.hc.core5.http.impl.io with parameters of type CharArrayBuffer Modifier and Type Method Description private int
SessionInputBufferImpl. appendDecoded(CharArrayBuffer charbuffer, java.nio.ByteBuffer bbuf)
protected abstract T
AbstractMessageParser. createMessage(CharArrayBuffer buffer)
Subclasses must override this method to generate an instance ofHttpMessage
based on the initial input from the session buffer.protected ClassicHttpRequest
DefaultHttpRequestParser. createMessage(CharArrayBuffer buffer)
protected ClassicHttpResponse
DefaultHttpResponseParser. createMessage(CharArrayBuffer buffer)
private int
SessionInputBufferImpl. handleDecodingResult(java.nio.charset.CoderResult result, CharArrayBuffer charBuffer)
private int
SessionInputBufferImpl. lineFromLineBuffer(CharArrayBuffer charBuffer)
Reads a complete line of characters up to a line delimiter from this session buffer.private int
SessionInputBufferImpl. lineFromReadBuffer(CharArrayBuffer charbuffer, int position)
int
SessionInputBufferImpl. readLine(CharArrayBuffer charBuffer, java.io.InputStream inputStream)
Reads a complete line of characters up to a line delimiter from this session buffer into the given line buffer.protected abstract void
AbstractMessageWriter. writeHeadLine(T message, CharArrayBuffer lineBuf)
Subclasses must override this method to write out the first header line based on theHttpMessage
passed as a parameter.protected void
DefaultHttpRequestWriter. writeHeadLine(ClassicHttpRequest message, CharArrayBuffer lineBuf)
protected void
DefaultHttpResponseWriter. writeHeadLine(ClassicHttpResponse message, CharArrayBuffer lineBuf)
void
SessionOutputBufferImpl. writeLine(CharArrayBuffer charbuffer, java.io.OutputStream outputStream)
Writes characters from the specified char array followed by a line delimiter to this session buffer.Method parameters in org.apache.hc.core5.http.impl.io with type arguments of type CharArrayBuffer Modifier and Type Method Description static Header[]
AbstractMessageParser. parseHeaders(SessionInputBuffer inBuffer, java.io.InputStream inputStream, int maxHeaderCount, int maxLineLen, LineParser parser, java.util.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. -
Uses of CharArrayBuffer in org.apache.hc.core5.http.impl.nio
Fields in org.apache.hc.core5.http.impl.nio declared as CharArrayBuffer Modifier and Type Field Description private CharArrayBuffer
AbstractMessageParser. lineBuf
private CharArrayBuffer
AbstractMessageWriter. lineBuf
private CharArrayBuffer
ChunkDecoder. lineBuf
private CharArrayBuffer
ChunkEncoder. lineBuffer
Fields in org.apache.hc.core5.http.impl.nio with type parameters of type CharArrayBuffer Modifier and Type Field Description private java.util.List<CharArrayBuffer>
AbstractMessageParser. headerBufs
private java.util.List<CharArrayBuffer>
ChunkDecoder. trailerBufs
Methods in org.apache.hc.core5.http.impl.nio with parameters of type CharArrayBuffer Modifier and Type Method Description protected abstract T
AbstractMessageParser. createMessage(CharArrayBuffer buffer)
CreatesHttpMessage
instance based on the content of the input buffer containing the first line of the incoming HTTP message.protected T
DefaultHttpRequestParser. createMessage(CharArrayBuffer buffer)
protected T
DefaultHttpResponseParser. createMessage(CharArrayBuffer buffer)
boolean
SessionInputBufferImpl. readLine(CharArrayBuffer lineBuffer, boolean endOfStream)
protected abstract void
AbstractMessageWriter. writeHeadLine(T message, CharArrayBuffer buffer)
Writes out the first line ofHttpMessage
.protected void
DefaultHttpRequestWriter. writeHeadLine(T message, CharArrayBuffer lineBuf)
protected void
DefaultHttpResponseWriter. writeHeadLine(T message, CharArrayBuffer lineBuf)
void
SessionOutputBufferImpl. writeLine(CharArrayBuffer lineBuffer)
-
Uses of CharArrayBuffer in org.apache.hc.core5.http.io
Methods in org.apache.hc.core5.http.io with parameters of type CharArrayBuffer Modifier and Type Method Description int
SessionInputBuffer. readLine(CharArrayBuffer buffer, java.io.InputStream inputStream)
Reads a complete line of characters up to a line delimiter from this session buffer into the given line buffer.void
SessionOutputBuffer. writeLine(CharArrayBuffer buffer, java.io.OutputStream outputStream)
Writes characters from the specified char array followed by a line delimiter to this session buffer. -
Uses of CharArrayBuffer in org.apache.hc.core5.http.io.entity
Methods in org.apache.hc.core5.http.io.entity that return CharArrayBuffer Modifier and Type Method Description private static CharArrayBuffer
EntityUtils. toCharArrayBuffer(java.io.InputStream inStream, int contentLength, java.nio.charset.Charset charset, int maxResultLength)
-
Uses of CharArrayBuffer in org.apache.hc.core5.http.message
Fields in org.apache.hc.core5.http.message declared as CharArrayBuffer Modifier and Type Field Description private CharArrayBuffer
BufferedHeader. buffer
The buffer containing the entire header line.Methods in org.apache.hc.core5.http.message that return CharArrayBuffer Modifier and Type Method Description CharArrayBuffer
BufferedHeader. getBuffer()
Methods in org.apache.hc.core5.http.message with parameters of type CharArrayBuffer Modifier and Type Method Description static BufferedHeader
BufferedHeader. create(CharArrayBuffer buffer)
void
BasicHeaderValueFormatter. formatElements(CharArrayBuffer buffer, HeaderElement[] elems, boolean quote)
void
HeaderValueFormatter. formatElements(CharArrayBuffer buffer, HeaderElement[] elems, boolean quote)
Formats an array of header elements.void
BasicLineFormatter. formatHeader(CharArrayBuffer buffer, Header header)
void
LineFormatter. formatHeader(CharArrayBuffer buffer, Header header)
Formats a header.void
BasicHeaderValueFormatter. formatHeaderElement(CharArrayBuffer buffer, HeaderElement elem, boolean quote)
void
HeaderValueFormatter. formatHeaderElement(CharArrayBuffer buffer, HeaderElement elem, boolean quote)
Formats one header element.void
BasicHeaderValueFormatter. formatNameValuePair(CharArrayBuffer buffer, NameValuePair nvp, boolean quote)
void
HeaderValueFormatter. formatNameValuePair(CharArrayBuffer buffer, NameValuePair nvp, boolean quote)
Formats one name-value pair, where the value is optional.void
BasicHeaderValueFormatter. formatParameters(CharArrayBuffer buffer, NameValuePair[] nvps, boolean quote)
void
HeaderValueFormatter. formatParameters(CharArrayBuffer buffer, NameValuePair[] nvps, boolean quote)
Formats the parameters of a header element.(package private) void
BasicLineFormatter. formatProtocolVersion(CharArrayBuffer buffer, ProtocolVersion version)
void
BasicLineFormatter. formatRequestLine(CharArrayBuffer buffer, RequestLine reqline)
void
LineFormatter. formatRequestLine(CharArrayBuffer buffer, RequestLine reqline)
Formats a request line.void
BasicLineFormatter. formatStatusLine(CharArrayBuffer buffer, StatusLine statusLine)
void
LineFormatter. formatStatusLine(CharArrayBuffer buffer, StatusLine statline)
Formats a status line.static void
MessageSupport. formatTokens(CharArrayBuffer dst, java.lang.String... tokens)
static void
MessageSupport. formatTokens(CharArrayBuffer dst, java.util.Set<java.lang.String> tokens)
(package private) void
BasicHeaderValueFormatter. formatValue(CharArrayBuffer buffer, java.lang.String value, boolean quote)
Header
BasicLineParser. parseHeader(CharArrayBuffer buffer)
Header
LazyLaxLineParser. parseHeader(CharArrayBuffer buffer)
Header
LazyLineParser. parseHeader(CharArrayBuffer buffer)
Header
LineParser. parseHeader(CharArrayBuffer buffer)
Parses a header from the given buffer containing one line of text.(package private) ProtocolVersion
BasicLineParser. parseProtocolVersion(CharArrayBuffer buffer, ParserCursor cursor)
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.Constructors in org.apache.hc.core5.http.message with parameters of type CharArrayBuffer Constructor Description BufferedHeader(CharArrayBuffer buffer)
Creates a new header from a buffer.BufferedHeader(CharArrayBuffer buffer, boolean strict)
-
Uses of CharArrayBuffer in org.apache.hc.core5.http.nio
Methods in org.apache.hc.core5.http.nio with parameters of type CharArrayBuffer Modifier and Type Method Description boolean
SessionInputBuffer. readLine(CharArrayBuffer dst, boolean endOfStream)
Attempts to transfer a complete line of characters up to a line delimiter from this buffer to the destination buffer.void
SessionOutputBuffer. writeLine(CharArrayBuffer src)
Copies content of the source buffer into this buffer as one line of text including a line delimiter. -
Uses of CharArrayBuffer in org.apache.hc.core5.http.nio.entity
Fields in org.apache.hc.core5.http.nio.entity declared as CharArrayBuffer Modifier and Type Field Description private CharArrayBuffer
StringAsyncEntityConsumer. content
-
Uses of CharArrayBuffer in org.apache.hc.core5.util
Methods in org.apache.hc.core5.util with parameters of type CharArrayBuffer Modifier and Type Method Description void
ByteArrayBuffer. append(CharArrayBuffer b, int off, int len)
Appendslen
chars to this buffer from the given source char array buffer starting at indexoff
.void
CharArrayBuffer. append(CharArrayBuffer b)
Appends all chars to this buffer from the given source buffer starting at index0
.void
CharArrayBuffer. append(CharArrayBuffer b, int off, int len)
Appendslen
chars to this buffer from the given source buffer starting at indexoff
.
-