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 CharArrayBufferFormattedHeader. 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 CharArrayBufferAbstractMessageParser. headLineprivate CharArrayBufferAbstractMessageWriter. lineBufprivate CharArrayBufferChunkedInputStream. lineBufferprivate CharArrayBufferChunkedOutputStream. lineBufferFields 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. headerLinesMethods in org.apache.hc.core5.http.impl.io with parameters of type CharArrayBuffer Modifier and Type Method Description private intSessionInputBufferImpl. appendDecoded(CharArrayBuffer charbuffer, java.nio.ByteBuffer bbuf)protected abstract TAbstractMessageParser. createMessage(CharArrayBuffer buffer)Subclasses must override this method to generate an instance ofHttpMessagebased on the initial input from the session buffer.protected ClassicHttpRequestDefaultHttpRequestParser. createMessage(CharArrayBuffer buffer)protected ClassicHttpResponseDefaultHttpResponseParser. createMessage(CharArrayBuffer buffer)private intSessionInputBufferImpl. handleDecodingResult(java.nio.charset.CoderResult result, CharArrayBuffer charBuffer)private intSessionInputBufferImpl. lineFromLineBuffer(CharArrayBuffer charBuffer)Reads a complete line of characters up to a line delimiter from this session buffer.private intSessionInputBufferImpl. lineFromReadBuffer(CharArrayBuffer charbuffer, int position)intSessionInputBufferImpl. 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 voidAbstractMessageWriter. writeHeadLine(T message, CharArrayBuffer lineBuf)Subclasses must override this method to write out the first header line based on theHttpMessagepassed as a parameter.protected voidDefaultHttpRequestWriter. writeHeadLine(ClassicHttpRequest message, CharArrayBuffer lineBuf)protected voidDefaultHttpResponseWriter. writeHeadLine(ClassicHttpResponse message, CharArrayBuffer lineBuf)voidSessionOutputBufferImpl. 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 CharArrayBufferAbstractMessageParser. lineBufprivate CharArrayBufferAbstractMessageWriter. lineBufprivate CharArrayBufferChunkDecoder. lineBufprivate CharArrayBufferChunkEncoder. lineBufferFields 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. headerBufsprivate java.util.List<CharArrayBuffer>ChunkDecoder. trailerBufsMethods in org.apache.hc.core5.http.impl.nio with parameters of type CharArrayBuffer Modifier and Type Method Description protected abstract TAbstractMessageParser. createMessage(CharArrayBuffer buffer)CreatesHttpMessageinstance based on the content of the input buffer containing the first line of the incoming HTTP message.protected TDefaultHttpRequestParser. createMessage(CharArrayBuffer buffer)protected TDefaultHttpResponseParser. createMessage(CharArrayBuffer buffer)booleanSessionInputBufferImpl. readLine(CharArrayBuffer lineBuffer, boolean endOfStream)protected abstract voidAbstractMessageWriter. writeHeadLine(T message, CharArrayBuffer buffer)Writes out the first line ofHttpMessage.protected voidDefaultHttpRequestWriter. writeHeadLine(T message, CharArrayBuffer lineBuf)protected voidDefaultHttpResponseWriter. writeHeadLine(T message, CharArrayBuffer lineBuf)voidSessionOutputBufferImpl. 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 intSessionInputBuffer. 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.voidSessionOutputBuffer. 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 CharArrayBufferEntityUtils. 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 CharArrayBufferBufferedHeader. bufferThe buffer containing the entire header line.Methods in org.apache.hc.core5.http.message that return CharArrayBuffer Modifier and Type Method Description CharArrayBufferBufferedHeader. getBuffer()Methods in org.apache.hc.core5.http.message with parameters of type CharArrayBuffer Modifier and Type Method Description static BufferedHeaderBufferedHeader. create(CharArrayBuffer buffer)voidBasicHeaderValueFormatter. formatElements(CharArrayBuffer buffer, HeaderElement[] elems, boolean quote)voidHeaderValueFormatter. formatElements(CharArrayBuffer buffer, HeaderElement[] elems, boolean quote)Formats an array of header elements.voidBasicLineFormatter. formatHeader(CharArrayBuffer buffer, Header header)voidLineFormatter. formatHeader(CharArrayBuffer buffer, Header header)Formats a header.voidBasicHeaderValueFormatter. formatHeaderElement(CharArrayBuffer buffer, HeaderElement elem, boolean quote)voidHeaderValueFormatter. formatHeaderElement(CharArrayBuffer buffer, HeaderElement elem, boolean quote)Formats one header element.voidBasicHeaderValueFormatter. formatNameValuePair(CharArrayBuffer buffer, NameValuePair nvp, boolean quote)voidHeaderValueFormatter. formatNameValuePair(CharArrayBuffer buffer, NameValuePair nvp, boolean quote)Formats one name-value pair, where the value is optional.voidBasicHeaderValueFormatter. formatParameters(CharArrayBuffer buffer, NameValuePair[] nvps, boolean quote)voidHeaderValueFormatter. formatParameters(CharArrayBuffer buffer, NameValuePair[] nvps, boolean quote)Formats the parameters of a header element.(package private) voidBasicLineFormatter. formatProtocolVersion(CharArrayBuffer buffer, ProtocolVersion version)voidBasicLineFormatter. formatRequestLine(CharArrayBuffer buffer, RequestLine reqline)voidLineFormatter. formatRequestLine(CharArrayBuffer buffer, RequestLine reqline)Formats a request line.voidBasicLineFormatter. formatStatusLine(CharArrayBuffer buffer, StatusLine statusLine)voidLineFormatter. formatStatusLine(CharArrayBuffer buffer, StatusLine statline)Formats a status line.static voidMessageSupport. formatTokens(CharArrayBuffer dst, java.lang.String... tokens)static voidMessageSupport. formatTokens(CharArrayBuffer dst, java.util.Set<java.lang.String> tokens)(package private) voidBasicHeaderValueFormatter. formatValue(CharArrayBuffer buffer, java.lang.String value, boolean quote)HeaderBasicLineParser. parseHeader(CharArrayBuffer buffer)HeaderLazyLaxLineParser. parseHeader(CharArrayBuffer buffer)HeaderLazyLineParser. parseHeader(CharArrayBuffer buffer)HeaderLineParser. parseHeader(CharArrayBuffer buffer)Parses a header from the given buffer containing one line of text.(package private) ProtocolVersionBasicLineParser. parseProtocolVersion(CharArrayBuffer buffer, ParserCursor cursor)RequestLineBasicLineParser. parseRequestLine(CharArrayBuffer buffer)Parses a request line.RequestLineLineParser. parseRequestLine(CharArrayBuffer buffer)Parses a request line from the given buffer containing one line of text.StatusLineBasicLineParser. parseStatusLine(CharArrayBuffer buffer)StatusLineLineParser. 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 booleanSessionInputBuffer. 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.hc.core5.http.nio.entity
Fields in org.apache.hc.core5.http.nio.entity declared as CharArrayBuffer Modifier and Type Field Description private CharArrayBufferStringAsyncEntityConsumer. 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 voidByteArrayBuffer. 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.
-