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.http.structured Immutable data model, strict parser, canonical serializer, and message-header integration for Structured Field Structured Field Values for HTTP.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
Methods in org.apache.hc.core5.http.impl.io with parameters of type CharArrayBuffer Modifier and Type Method Description 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)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
Methods 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)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) -
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.message
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.static voidMessageSupport. formatElements(CharArrayBuffer dst, java.util.List<HeaderElement> elements)static voidMessageSupport. formatElements(CharArrayBuffer dst, HeaderElement... 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.static voidMessageSupport. formatParameters(CharArrayBuffer dst, java.util.List<NameValuePair> params)static voidMessageSupport. formatParameters(CharArrayBuffer dst, NameValuePair... params)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.List<java.lang.String> tokens)static voidMessageSupport. formatTokens(CharArrayBuffer dst, java.util.List<java.lang.String> tokens, java.util.function.UnaryOperator<java.lang.String> transformation)static voidMessageSupport. formatTokens(CharArrayBuffer dst, java.util.Set<java.lang.String> tokens)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.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. -
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.structured
Methods in org.apache.hc.core5.http.structured with parameters of type CharArrayBuffer Modifier and Type Method Description static voidStructuredFieldSerializer. serialize(CharArrayBuffer buffer, StructuredFieldValue value)Appends the canonical serialization of a top-level Structured Field value.static voidStructuredFieldSerializer. serializeBareItem(CharArrayBuffer buffer, StructuredFieldBareItem item)Appends a canonical serialized bare Item.static voidStructuredFieldSerializer. serializeDictionary(CharArrayBuffer buffer, StructuredFieldDictionary dictionary)Appends a canonical serialized Dictionary.static voidStructuredFieldSerializer. serializeInnerList(CharArrayBuffer buffer, StructuredFieldInnerList innerList)Appends a canonical serialized Inner List.static voidStructuredFieldSerializer. serializeItem(CharArrayBuffer buffer, StructuredFieldItem item)Appends a canonical serialized Item.static voidStructuredFieldSerializer. serializeList(CharArrayBuffer buffer, StructuredFieldList list)Appends a canonical serialized List.static voidStructuredFieldSerializer. serializeParameters(CharArrayBuffer buffer, StructuredFieldParameters parameters)Appends canonical serialized parameters. -
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.
-