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.
HTTP message parser and writer APIs for synchronous, blocking
communication.
Core HTTP message components, message element parser
and writer APIs and their default implementations.
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 CharArrayBufferMethods in org.apache.http.impl.io with parameters of type CharArrayBufferModifier and TypeMethodDescriptionint
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.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
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.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