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 CharArrayBufferChunkedInputStream.bufferprotected final CharArrayBufferAbstractMessageWriter.lineBufprivate final CharArrayBufferDefaultHttpRequestParser.lineBufprivate final CharArrayBufferDefaultHttpResponseParser.lineBufprivate final CharArrayBufferHttpRequestParser.lineBufDeprecated.private final CharArrayBufferHttpResponseParser.lineBufDeprecated.Fields in org.apache.http.impl.io with type parameters of type CharArrayBufferModifier and TypeFieldDescriptionprivate final List<CharArrayBuffer>AbstractMessageParser.headerLinesMethods in org.apache.http.impl.io with parameters of type CharArrayBufferModifier and TypeMethodDescriptionprivate intAbstractSessionInputBuffer.appendDecoded(CharArrayBuffer charbuffer, ByteBuffer bbuf) Deprecated.private intSessionInputBufferImpl.appendDecoded(CharArrayBuffer charbuffer, ByteBuffer bbuf) private intAbstractSessionInputBuffer.handleDecodingResult(CoderResult result, CharArrayBuffer charbuffer, ByteBuffer bbuf) Deprecated.private intSessionInputBufferImpl.handleDecodingResult(CoderResult result, CharArrayBuffer charbuffer, ByteBuffer bbuf) private intAbstractSessionInputBuffer.lineFromLineBuffer(CharArrayBuffer charbuffer) Deprecated.Reads a complete line of characters up to a line delimiter from this session buffer.private intSessionInputBufferImpl.lineFromLineBuffer(CharArrayBuffer charbuffer) Reads a complete line of characters up to a line delimiter from this session buffer.private intAbstractSessionInputBuffer.lineFromReadBuffer(CharArrayBuffer charbuffer, int position) Deprecated.private intSessionInputBufferImpl.lineFromReadBuffer(CharArrayBuffer charbuffer, int position) intAbstractSessionInputBuffer.readLine(CharArrayBuffer charbuffer) Deprecated.Reads a complete line of characters up to a line delimiter from this session buffer into the given line buffer.intSessionInputBufferImpl.readLine(CharArrayBuffer charbuffer) Reads a complete line of characters up to a line delimiter from this session buffer into the given line buffer.voidAbstractSessionOutputBuffer.writeLine(CharArrayBuffer charbuffer) Deprecated.Writes characters from the specified char array followed by a line delimiter to this session buffer.voidSessionOutputBufferImpl.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 CharArrayBufferAbstractMessageParser.lineBufprotected final CharArrayBufferAbstractMessageWriter.lineBufprivate CharArrayBufferChunkDecoder.lineBufprivate final CharArrayBufferChunkEncoder.lineBufferFields in org.apache.http.impl.nio.codecs with type parameters of type CharArrayBufferModifier and TypeFieldDescriptionprivate final List<CharArrayBuffer>AbstractMessageParser.headerBufsprivate final List<CharArrayBuffer>ChunkDecoder.trailerBufsMethods in org.apache.http.impl.nio.codecs with parameters of type CharArrayBufferModifier and TypeMethodDescriptionprotected abstract TAbstractMessageParser.createMessage(CharArrayBuffer buffer) CreatesHttpMessageinstance based on the content of the input buffer containing the first line of the incoming HTTP message.protected HttpRequestDefaultHttpRequestParser.createMessage(CharArrayBuffer buffer) protected HttpResponseDefaultHttpResponseParser.createMessage(CharArrayBuffer buffer) protected HttpMessageHttpRequestParser.createMessage(CharArrayBuffer buffer) Deprecated.protected HttpMessageHttpResponseParser.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 TypeMethodDescriptionbooleanSessionInputBufferImpl.readLine(CharArrayBuffer lineBuffer, boolean endOfStream) voidSessionOutputBufferImpl.writeLine(CharArrayBuffer lineBuffer) -
Uses of CharArrayBuffer in org.apache.http.io
Methods in org.apache.http.io with parameters of type CharArrayBufferModifier and TypeMethodDescriptionintSessionInputBuffer.readLine(CharArrayBuffer buffer) Reads a complete line of characters up to a line delimiter from this session buffer into the given line buffer.voidSessionOutputBuffer.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 CharArrayBufferBasicHeaderElementIterator.bufferprivate final CharArrayBufferBufferedHeader.bufferThe 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 CharArrayBufferBasicLineFormatter.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.voidTokenParser.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.voidTokenParser.copyQuotedContent(CharArrayBuffer buf, ParserCursor cursor, StringBuilder dst) Transfers content enclosed with quote marks into the destination buffer.voidTokenParser.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 voidBasicLineFormatter.doFormatHeader(CharArrayBuffer buffer, Header header) Actually formats a header.protected voidBasicLineFormatter.doFormatRequestLine(CharArrayBuffer buffer, RequestLine reqline) Actually formats a request line.protected voidBasicLineFormatter.doFormatStatusLine(CharArrayBuffer buffer, StatusLine statline) Actually formats a status line.protected voidBasicHeaderValueFormatter.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.booleanBasicLineParser.hasProtocolVersion(CharArrayBuffer buffer, ParserCursor cursor) booleanLineParser.hasProtocolVersion(CharArrayBuffer buffer, ParserCursor cursor) Checks whether there likely is a protocol version in a line.protected CharArrayBufferBasicLineFormatter.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 voidBasicLineParser.skipWhitespace(CharArrayBuffer buffer, ParserCursor cursor) Helper to skip whitespace.voidTokenParser.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 TypeMethodDescriptionbooleanSessionInputBuffer.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.voidSessionOutputBuffer.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 TypeMethodDescriptionvoidByteArrayBuffer.append(CharArrayBuffer b, int off, int len) Appendslenchars to this buffer from the given source char array buffer starting at indexoff.voidCharArrayBuffer.append(CharArrayBuffer b) Appends all chars to this buffer from the given source buffer starting at index0.voidCharArrayBuffer.append(CharArrayBuffer b, int off, int len) Appendslenchars to this buffer from the given source buffer starting at indexoff.
TokenParser