## 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.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.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 and Description
    --- | ---
    `CharArrayBuffer` | FormattedHeader.`getBuffer()` Obtains the buffer with the formatted header.

  - ### Uses of CharArrayBuffer in org.apache.hc.core5.http.impl.io

    Methods in org.apache.hc.core5.http.impl.io with parameters of type CharArrayBuffer
    Modifier and Type | Method and Description
    --- | ---
    `protected ClassicHttpRequest` | DefaultHttpRequestParser.`createMessage(CharArrayBuffer buffer)`
    `protected abstract T` | AbstractMessageParser.`createMessage(CharArrayBuffer buffer)` Subclasses must override this method to generate an instance of `HttpMessage` based on the initial input from the session buffer.
    `protected ClassicHttpResponse` | DefaultHttpResponseParser.`createMessage(CharArrayBuffer buffer)`
    `int` | SessionInputBufferImpl.`readLine(CharArrayBuffer charBuffer, InputStream inputStream)` Reads a complete line of characters up to a line delimiter from this session buffer into the given line buffer.
    `protected void` | DefaultHttpRequestWriter.`writeHeadLine(ClassicHttpRequest message, CharArrayBuffer lineBuf)`
    `protected void` | DefaultHttpResponseWriter.`writeHeadLine(ClassicHttpResponse message, CharArrayBuffer lineBuf)`
    `protected abstract void` | AbstractMessageWriter.`writeHeadLine(T message, CharArrayBuffer lineBuf)` Subclasses must override this method to write out the first header line based on the `HttpMessage` passed as a parameter.
    `void` | SessionOutputBufferImpl.`writeLine(CharArrayBuffer charbuffer, 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 and Description
    --- | ---
    `static Header[]` | AbstractMessageParser.`parseHeaders(SessionInputBuffer inBuffer, InputStream inputStream, int maxHeaderCount, int maxLineLen, LineParser parser, 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

    Methods in org.apache.hc.core5.http.impl.nio with parameters of type CharArrayBuffer
    Modifier and Type | Method and Description
    --- | ---
    `protected T` | DefaultHttpRequestParser.`createMessage(CharArrayBuffer buffer)`
    `protected abstract T` | AbstractMessageParser.`createMessage(CharArrayBuffer buffer)` Creates `HttpMessage` instance based on the content of the input buffer containing the first line of the incoming HTTP message.
    `protected T` | DefaultHttpResponseParser.`createMessage(CharArrayBuffer buffer)`
    `protected void` | DefaultHttpRequestWriter.`writeHeadLine(T message, CharArrayBuffer lineBuf)`
    `protected void` | DefaultHttpResponseWriter.`writeHeadLine(T message, CharArrayBuffer lineBuf)`
    `protected abstract void` | AbstractMessageWriter.`writeHeadLine(T message, CharArrayBuffer buffer)` Writes out the first line of `HttpMessage`.

  - ### 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 and Description
    --- | ---
    `int` | SessionInputBuffer.`readLine(CharArrayBuffer buffer, 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, 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.message

    Methods in org.apache.hc.core5.http.message that return CharArrayBuffer
    Modifier and Type | Method and Description
    --- | ---
    `CharArrayBuffer` | BufferedHeader.`getBuffer()`

    Methods in org.apache.hc.core5.http.message with parameters of type CharArrayBuffer
    Modifier and Type | Method and 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` | LineFormatter.`formatHeader(CharArrayBuffer buffer, Header header)` Formats a header.
    `void` | BasicLineFormatter.`formatHeader(CharArrayBuffer buffer, Header 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.
    `void` | LineFormatter.`formatRequestLine(CharArrayBuffer buffer, RequestLine reqline)` Formats a request line.
    `void` | BasicLineFormatter.`formatRequestLine(CharArrayBuffer buffer, RequestLine reqline)`
    `void` | LineFormatter.`formatStatusLine(CharArrayBuffer buffer, StatusLine statline)` Formats a status line.
    `void` | BasicLineFormatter.`formatStatusLine(CharArrayBuffer buffer, StatusLine statusLine)`
    `static void` | MessageSupport.`formatTokens(CharArrayBuffer dst, Set<String> tokens)`
    `static void` | MessageSupport.`formatTokens(CharArrayBuffer dst, String... tokens)`
    `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.

    Constructors in org.apache.hc.core5.http.message with parameters of type CharArrayBuffer
    Constructor and Description
    `BufferedHeader(CharArrayBuffer buffer)` Creates a new header from a buffer.

  - ### 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 and 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.util

    Methods in org.apache.hc.core5.util with parameters of type CharArrayBuffer
    Modifier and Type | Method and Description
    --- | ---
    `void` | CharArrayBuffer.`append(CharArrayBuffer b)` Appends all chars to this buffer from the given source buffer starting at index `0`.
    `void` | ByteArrayBuffer.`append(CharArrayBuffer b, int off, int len)` Appends `len` chars to this buffer from the given source char array buffer starting at index `off`.
    `void` | CharArrayBuffer.`append(CharArrayBuffer b, int off, int len)` Appends `len` chars to this buffer from the given source buffer starting at index `off`.

Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.