Uses of Class
org.apache.http.util.CharArrayBuffer
Packages that use CharArrayBuffer
Package
Description
Core HTTP component APIs and primitives.
Default implementations of message parses and writers
for synchronous, blocking communication.
Default implementations of message parses and writers
for asynchronous, even driven communication.
Default implementation of event driven network communication APIs
based on Java NIO.
HTTP message parser and writer APIs for synchronous, blocking
communication.
Core HTTP message components, message element parser
and writer APIs and their default implementations.
Event driven network communication APIs loosely based on
Doug Lea's
reactor pattern.
Core utility classes.
-
Uses of CharArrayBuffer in org.apache.http
Methods in org.apache.http that return CharArrayBufferModifier and TypeMethodDescriptionFormattedHeader.getBuffer()
Obtains the buffer with the formatted header. -
Uses of CharArrayBuffer in org.apache.http.impl.io
Fields in org.apache.http.impl.io declared as CharArrayBufferModifier and TypeFieldDescriptionprivate final CharArrayBuffer
ChunkedInputStream.buffer
protected final CharArrayBuffer
AbstractMessageWriter.lineBuf
private final CharArrayBuffer
DefaultHttpRequestParser.lineBuf
private final CharArrayBuffer
DefaultHttpResponseParser.lineBuf
private final CharArrayBuffer
HttpRequestParser.lineBuf
Deprecated.private final CharArrayBuffer
HttpResponseParser.lineBuf
Deprecated.Fields in org.apache.http.impl.io with type parameters of type CharArrayBufferModifier and TypeFieldDescriptionprivate final List
<CharArrayBuffer> AbstractMessageParser.headerLines
Methods in org.apache.http.impl.io with parameters of type CharArrayBufferModifier and TypeMethodDescriptionprivate int
AbstractSessionInputBuffer.appendDecoded
(CharArrayBuffer charbuffer, ByteBuffer bbuf) Deprecated.private int
SessionInputBufferImpl.appendDecoded
(CharArrayBuffer charbuffer, ByteBuffer bbuf) private int
AbstractSessionInputBuffer.handleDecodingResult
(CoderResult result, CharArrayBuffer charbuffer, ByteBuffer bbuf) Deprecated.private int
SessionInputBufferImpl.handleDecodingResult
(CoderResult result, CharArrayBuffer charbuffer, ByteBuffer bbuf) private int
AbstractSessionInputBuffer.lineFromLineBuffer
(CharArrayBuffer charbuffer) Deprecated.Reads a complete line of characters up to a line delimiter from this session buffer.private int
SessionInputBufferImpl.lineFromLineBuffer
(CharArrayBuffer charbuffer) Reads a complete line of characters up to a line delimiter from this session buffer.private int
AbstractSessionInputBuffer.lineFromReadBuffer
(CharArrayBuffer charbuffer, int position) Deprecated.private int
SessionInputBufferImpl.lineFromReadBuffer
(CharArrayBuffer charbuffer, int position) int
AbstractSessionInputBuffer.readLine
(CharArrayBuffer charbuffer) Deprecated.Reads a complete line of characters up to a line delimiter from this session buffer into the given line buffer.int
SessionInputBufferImpl.readLine
(CharArrayBuffer charbuffer) Reads a complete line of characters up to a line delimiter from this session buffer into the given line buffer.void
AbstractSessionOutputBuffer.writeLine
(CharArrayBuffer charbuffer) Deprecated.Writes characters from the specified char array followed by a line delimiter to this session buffer.void
SessionOutputBufferImpl.writeLine
(CharArrayBuffer charbuffer) Writes characters from the specified char array followed by a line delimiter to this session buffer.Method parameters in org.apache.http.impl.io with type arguments of type CharArrayBufferModifier and TypeMethodDescriptionstatic Header[]
AbstractMessageParser.parseHeaders
(SessionInputBuffer inBuffer, int maxHeaderCount, int maxLineLen, LineParser parser, List<CharArrayBuffer> headerLines) Parses HTTP headers from the data receiver stream according to the generic format as given in Section 3.1 of RFC 822, RFC-2616 Section 4 and 19.3. -
Uses of CharArrayBuffer in org.apache.http.impl.nio.codecs
Fields in org.apache.http.impl.nio.codecs declared as CharArrayBufferModifier and TypeFieldDescriptionprivate CharArrayBuffer
AbstractMessageParser.lineBuf
protected final CharArrayBuffer
AbstractMessageWriter.lineBuf
private CharArrayBuffer
ChunkDecoder.lineBuf
private final CharArrayBuffer
ChunkEncoder.lineBuffer
Fields in org.apache.http.impl.nio.codecs with type parameters of type CharArrayBufferModifier and TypeFieldDescriptionprivate final List
<CharArrayBuffer> AbstractMessageParser.headerBufs
private final List
<CharArrayBuffer> ChunkDecoder.trailerBufs
Methods in org.apache.http.impl.nio.codecs with parameters of type CharArrayBufferModifier and TypeMethodDescriptionprotected 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 HttpRequest
DefaultHttpRequestParser.createMessage
(CharArrayBuffer buffer) protected HttpResponse
DefaultHttpResponseParser.createMessage
(CharArrayBuffer buffer) protected HttpMessage
HttpRequestParser.createMessage
(CharArrayBuffer buffer) Deprecated.protected HttpMessage
HttpResponseParser.createMessage
(CharArrayBuffer buffer) Deprecated. -
Uses of CharArrayBuffer in org.apache.http.impl.nio.reactor
Methods in org.apache.http.impl.nio.reactor with parameters of type CharArrayBufferModifier and TypeMethodDescriptionboolean
SessionInputBufferImpl.readLine
(CharArrayBuffer lineBuffer, boolean endOfStream) void
SessionOutputBufferImpl.writeLine
(CharArrayBuffer lineBuffer) -
Uses of CharArrayBuffer in org.apache.http.io
Methods in org.apache.http.io with parameters of type CharArrayBufferModifier and TypeMethodDescriptionint
SessionInputBuffer.readLine
(CharArrayBuffer buffer) 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) Writes characters from the specified char array followed by a line delimiter to this session buffer. -
Uses of CharArrayBuffer in org.apache.http.message
Fields in org.apache.http.message declared as CharArrayBufferModifier and TypeFieldDescriptionprivate CharArrayBuffer
BasicHeaderElementIterator.buffer
private final CharArrayBuffer
BufferedHeader.buffer
The buffer containing the entire header line.Methods in org.apache.http.message that return CharArrayBufferModifier and TypeMethodDescriptionBasicLineFormatter.appendProtocolVersion
(CharArrayBuffer buffer, ProtocolVersion version) LineFormatter.appendProtocolVersion
(CharArrayBuffer buffer, ProtocolVersion version) Formats a protocol version.BasicHeaderValueFormatter.formatElements
(CharArrayBuffer charBuffer, HeaderElement[] elems, boolean quote) HeaderValueFormatter.formatElements
(CharArrayBuffer buffer, HeaderElement[] elems, boolean quote) Formats an array of header elements.BasicLineFormatter.formatHeader
(CharArrayBuffer buffer, Header header) LineFormatter.formatHeader
(CharArrayBuffer buffer, Header header) Formats a header.BasicHeaderValueFormatter.formatHeaderElement
(CharArrayBuffer charBuffer, HeaderElement elem, boolean quote) HeaderValueFormatter.formatHeaderElement
(CharArrayBuffer buffer, HeaderElement elem, boolean quote) Formats one header element.BasicHeaderValueFormatter.formatNameValuePair
(CharArrayBuffer charBuffer, NameValuePair nvp, boolean quote) HeaderValueFormatter.formatNameValuePair
(CharArrayBuffer buffer, NameValuePair nvp, boolean quote) Formats one name-value pair, where the value is optional.BasicHeaderValueFormatter.formatParameters
(CharArrayBuffer charBuffer, NameValuePair[] nvps, boolean quote) HeaderValueFormatter.formatParameters
(CharArrayBuffer buffer, NameValuePair[] nvps, boolean quote) Formats the parameters of a header element.BasicLineFormatter.formatRequestLine
(CharArrayBuffer buffer, RequestLine reqline) LineFormatter.formatRequestLine
(CharArrayBuffer buffer, RequestLine reqline) Formats a request line.BasicLineFormatter.formatStatusLine
(CharArrayBuffer buffer, StatusLine statline) LineFormatter.formatStatusLine
(CharArrayBuffer buffer, StatusLine statline) Formats a status line.BufferedHeader.getBuffer()
protected CharArrayBuffer
BasicLineFormatter.initBuffer
(CharArrayBuffer charBuffer) Obtains a buffer for formatting.Methods in org.apache.http.message with parameters of type CharArrayBufferModifier and TypeMethodDescriptionBasicLineFormatter.appendProtocolVersion
(CharArrayBuffer buffer, ProtocolVersion version) LineFormatter.appendProtocolVersion
(CharArrayBuffer buffer, ProtocolVersion version) Formats a protocol version.void
TokenParser.copyContent
(CharArrayBuffer buf, ParserCursor cursor, BitSet delimiters, StringBuilder dst) Transfers content into the destination buffer until a whitespace character or any of the given delimiters is encountered.void
TokenParser.copyQuotedContent
(CharArrayBuffer buf, ParserCursor cursor, StringBuilder dst) Transfers content enclosed with quote marks into the destination buffer.void
TokenParser.copyUnquotedContent
(CharArrayBuffer buf, ParserCursor cursor, BitSet delimiters, StringBuilder dst) Transfers content into the destination buffer until a whitespace character, a quote, or any of the given delimiters is encountered.protected void
BasicLineFormatter.doFormatHeader
(CharArrayBuffer buffer, Header header) Actually formats a header.protected void
BasicLineFormatter.doFormatRequestLine
(CharArrayBuffer buffer, RequestLine reqline) Actually formats a request line.protected void
BasicLineFormatter.doFormatStatusLine
(CharArrayBuffer buffer, StatusLine statline) Actually formats a status line.protected void
BasicHeaderValueFormatter.doFormatValue
(CharArrayBuffer buffer, String value, boolean quote) Actually formats the value of a name-value pair.BasicHeaderValueFormatter.formatElements
(CharArrayBuffer charBuffer, HeaderElement[] elems, boolean quote) HeaderValueFormatter.formatElements
(CharArrayBuffer buffer, HeaderElement[] elems, boolean quote) Formats an array of header elements.BasicLineFormatter.formatHeader
(CharArrayBuffer buffer, Header header) LineFormatter.formatHeader
(CharArrayBuffer buffer, Header header) Formats a header.BasicHeaderValueFormatter.formatHeaderElement
(CharArrayBuffer charBuffer, HeaderElement elem, boolean quote) HeaderValueFormatter.formatHeaderElement
(CharArrayBuffer buffer, HeaderElement elem, boolean quote) Formats one header element.BasicHeaderValueFormatter.formatNameValuePair
(CharArrayBuffer charBuffer, NameValuePair nvp, boolean quote) HeaderValueFormatter.formatNameValuePair
(CharArrayBuffer buffer, NameValuePair nvp, boolean quote) Formats one name-value pair, where the value is optional.BasicHeaderValueFormatter.formatParameters
(CharArrayBuffer charBuffer, NameValuePair[] nvps, boolean quote) HeaderValueFormatter.formatParameters
(CharArrayBuffer buffer, NameValuePair[] nvps, boolean quote) Formats the parameters of a header element.BasicLineFormatter.formatRequestLine
(CharArrayBuffer buffer, RequestLine reqline) LineFormatter.formatRequestLine
(CharArrayBuffer buffer, RequestLine reqline) Formats a request line.BasicLineFormatter.formatStatusLine
(CharArrayBuffer buffer, StatusLine statline) LineFormatter.formatStatusLine
(CharArrayBuffer buffer, StatusLine statline) Formats a status line.boolean
BasicLineParser.hasProtocolVersion
(CharArrayBuffer buffer, ParserCursor cursor) boolean
LineParser.hasProtocolVersion
(CharArrayBuffer buffer, ParserCursor cursor) Checks whether there likely is a protocol version in a line.protected CharArrayBuffer
BasicLineFormatter.initBuffer
(CharArrayBuffer charBuffer) Obtains a buffer for formatting.BasicHeaderValueParser.parseElements
(CharArrayBuffer buffer, ParserCursor cursor) HeaderValueParser.parseElements
(CharArrayBuffer buffer, ParserCursor cursor) Parses a header value into elements.BasicLineParser.parseHeader
(CharArrayBuffer buffer) LineParser.parseHeader
(CharArrayBuffer buffer) Creates a header from a line.BasicHeaderValueParser.parseHeaderElement
(CharArrayBuffer buffer, ParserCursor cursor) HeaderValueParser.parseHeaderElement
(CharArrayBuffer buffer, ParserCursor cursor) Parses a single header element.BasicHeaderValueParser.parseNameValuePair
(CharArrayBuffer buffer, ParserCursor cursor) BasicHeaderValueParser.parseNameValuePair
(CharArrayBuffer buffer, ParserCursor cursor, char[] delimiters) Deprecated.HeaderValueParser.parseNameValuePair
(CharArrayBuffer buffer, ParserCursor cursor) Parses a name=value specification, where the = and value are optional.BasicHeaderValueParser.parseParameters
(CharArrayBuffer buffer, ParserCursor cursor) HeaderValueParser.parseParameters
(CharArrayBuffer buffer, ParserCursor cursor) Parses a list of name-value pairs.BasicLineParser.parseProtocolVersion
(CharArrayBuffer buffer, ParserCursor cursor) LineParser.parseProtocolVersion
(CharArrayBuffer buffer, ParserCursor cursor) Parses the textual representation of a protocol version.BasicLineParser.parseRequestLine
(CharArrayBuffer buffer, ParserCursor cursor) Parses a request line.LineParser.parseRequestLine
(CharArrayBuffer buffer, ParserCursor cursor) Parses a request line.BasicLineParser.parseStatusLine
(CharArrayBuffer buffer, ParserCursor cursor) LineParser.parseStatusLine
(CharArrayBuffer buffer, ParserCursor cursor) Parses a status line.TokenParser.parseToken
(CharArrayBuffer buf, ParserCursor cursor, BitSet delimiters) Extracts from the sequence of chars a token terminated with any of the given delimiters discarding semantically insignificant whitespace characters.TokenParser.parseValue
(CharArrayBuffer buf, ParserCursor cursor, BitSet delimiters) Extracts from the sequence of chars a value which can be enclosed in quote marks and terminated with any of the given delimiters discarding semantically insignificant whitespace characters.protected void
BasicLineParser.skipWhitespace
(CharArrayBuffer buffer, ParserCursor cursor) Helper to skip whitespace.void
TokenParser.skipWhiteSpace
(CharArrayBuffer buf, ParserCursor cursor) Skips semantically insignificant whitespace characters and moves the cursor to the closest non-whitespace character.Constructors in org.apache.http.message with parameters of type CharArrayBufferModifierConstructorDescriptionBufferedHeader
(CharArrayBuffer buffer) Creates a new header from a buffer. -
Uses of CharArrayBuffer in org.apache.http.nio.reactor
Methods in org.apache.http.nio.reactor with parameters of type CharArrayBufferModifier and TypeMethodDescriptionboolean
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.http.util
Methods in org.apache.http.util with parameters of type CharArrayBufferModifier and TypeMethodDescriptionvoid
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
.
TokenParser