# Uses of Class
com.xceptance.xlt.api.util.XltCharBuffer

Packages that use XltCharBuffer
Package
Description
com.xceptance.xlt.api.engine
Provides core classes as well as classes to represent the different data measured during a test.
com.xceptance.xlt.api.util
Provides various utility classes to make writing test cases easier.

- ## Uses of XltCharBuffer in com.xceptance.xlt.api.engine

  Fields in com.xceptance.xlt.api.engine declared as XltCharBuffer
  Modifier and Type
  Field
  Description
  `static final XltCharBuffer`
  RequestData.`NO_RESPONSE_CODE`
  No response code available
  `static final XltCharBuffer`
  RequestData.`UNKNOWN_HOST`
  The value to show if the host could not be determined from a URL.
  Methods in com.xceptance.xlt.api.engine that return XltCharBuffer
  Modifier and Type
  Method
  Description
  `XltCharBuffer`
  RequestData.`getContentType()`
  Returns the response's content type.
  `XltCharBuffer`
  RequestData.`getFormData()`
  Returns the form data.
  `XltCharBuffer`
  RequestData.`getFormDataEncoding()`
  Returns the encoding of the form data.
  `XltCharBuffer`
  RequestData.`getHost()`
  Returns the host parsed from the url or UNKNOWN_HOST if it does not exist.
  `XltCharBuffer`
  RequestData.`getHttpMethod()`
  Returns the HTTP method of the request.
  `XltCharBuffer`
  RequestData.`getResponseCodeAsChars()`
  Get the request's response code as originally recorded.
  `XltCharBuffer`
  RequestData.`getUrl()`
  Returns the request's URL.
  `XltCharBuffer`
  RequestData.`getUsedIpAddress()`
  Returns the target IP address of the system under test that was used when making the request.
  Methods in com.xceptance.xlt.api.engine with parameters of type XltCharBuffer
  Modifier and Type
  Method
  Description
  `void`
  RequestData.`setContentType(XltCharBuffer contentType)`
  Sets the response's content type.
  `void`
  RequestData.`setFormData(XltCharBuffer formData)`
  Set the form data.
  `void`
  RequestData.`setFormDataEncoding(XltCharBuffer encoding)`
  Set the form data encoding.
  `void`
  RequestData.`setHttpMethod(XltCharBuffer httpMethod)`
  Set the httpMethod value
  `void`
  RequestData.`setRequestId(XltCharBuffer id)`
  Sets the request ID that was sent to the server.
  `void`
  RequestData.`setResponseCode(XltCharBuffer responseCode)`
  Sets the request's response code.
  `void`
  RequestData.`setResponseId(XltCharBuffer id)`
  Sets the response ID that was sent back by the server.
  `void`
  RequestData.`setUrl(XltCharBuffer url)`
  Sets the request's URL.
  `void`
  RequestData.`setUsedIpAddress(XltCharBuffer ipAddress)`
  Sets the target IP address of the system under test that was used when making the request.
  Method parameters in com.xceptance.xlt.api.engine with type arguments of type XltCharBuffer
  Modifier and Type
  Method
  Description
  `final void`
  AbstractData.`setAllValues(List<XltCharBuffer> values)`
  Recreates the full object state at once.
  `void`
  AbstractData.`setBaseValues(List<XltCharBuffer> values)`
  Called by XLT during report creation to recreate the base object state (type code, name, and timestamp) from the passed string list.
  `void`
  Data.`setBaseValues(List<XltCharBuffer> values)`
  Called by XLT during report creation to recreate the base object state (type code, name, and timestamp) from the passed string list.
  `void`
  CustomValue.`setRemainingValues(List<XltCharBuffer> values)`
  Called by XLT during report creation to recreate the remaining object state from the passed string list.
  `void`
  Data.`setRemainingValues(List<XltCharBuffer> values)`
  Called by XLT during report creation to recreate the remaining object state from the passed string list.
  `void`
  EventData.`setRemainingValues(List<XltCharBuffer> values)`
  Called by XLT during report creation to recreate the remaining object state from the passed string list.
  `void`
  RequestData.`setRemainingValues(List<XltCharBuffer> values)`
  Called by XLT during report creation to recreate the remaining object state from the passed string list.
  `void`
  TimerData.`setRemainingValues(List<XltCharBuffer> values)`
  Called by XLT during report creation to recreate the remaining object state from the passed string list.
  `void`
  TransactionData.`setRemainingValues(List<XltCharBuffer> values)`
  Called by XLT during report creation to recreate the remaining object state from the passed string list.
  `void`
  WebVitalData.`setRemainingValues(List<XltCharBuffer> values)`
  Called by XLT during report creation to recreate the remaining object state from the passed string list.

- ## Uses of XltCharBuffer in com.xceptance.xlt.api.util

  Fields in com.xceptance.xlt.api.util declared as XltCharBuffer
  Modifier and Type
  Field
  Description
  `static final XltCharBuffer`
  XltCharBuffer.`EMPTY`
  An empty static XltCharBuffer
  Methods in com.xceptance.xlt.api.util that return XltCharBuffer
  Modifier and Type
  Method
  Description
  `static XltCharBuffer`
  XltCharBuffer.`empty()`
  Just returns an empty buffer.
  `static XltCharBuffer`
  XltCharBuffer.`emptyWhenNull(XltCharBuffer s)`
  Returns the empty string if the provided buffer is null the buffer otherwise
  `XltCharBuffer`
  XltCharBuffer.`put(int pos, char c)`
  Set a character at this position.
  `XltCharBuffer`
  XltCharBuffer.`substring(int from)`
  Creates a new buffer similar to a String.substring call from a position till the end
  `XltCharBuffer`
  XltCharBuffer.`substring(int from, int to)`
  Creates a new buffer similar to a String.substring call.
  `static XltCharBuffer`
  XltCharBuffer.`valueOf(char[] s)`
  Create a new char buffer from a char array without copying it.
  `static XltCharBuffer`
  XltCharBuffer.`valueOf(XltCharBuffer s1, char c)`
  Creates a new char buffer by adding a single char
  `static XltCharBuffer`
  XltCharBuffer.`valueOf(XltCharBuffer s1, XltCharBuffer s2)`
  Creates a new char buffer by merging XltCharBuffers
  `static XltCharBuffer`
  XltCharBuffer.`valueOf(XltCharBuffer s1, XltCharBuffer s2, XltCharBuffer s3)`
  Creates a new char buffer by merging strings
  `static XltCharBuffer`
  XltCharBuffer.`valueOf(String s)`
  Create a new char buffer from a string.
  `static XltCharBuffer`
  XltCharBuffer.`valueOf(String s1, String s2)`
  Creates a new char buffer by merging strings
  `static XltCharBuffer`
  XltCharBuffer.`valueOf(String s1, String s2, String s3)`
  Creates a new char buffer by merging strings
  `static XltCharBuffer`
  XltCharBuffer.`valueOf(String s1, String s2, String s3, String... more)`
  Creates a new char buffer by merging strings
  `XltCharBuffer`
  XltCharBuffer.`viewByLength(int from, int length)`
  Returns a new buffer with a view on the current.
  `XltCharBuffer`
  XltCharBuffer.`viewFromTo(int from, int to)`
  Returns a new buffer with a view on the current.
  Methods in com.xceptance.xlt.api.util that return types with arguments of type XltCharBuffer
  Modifier and Type
  Method
  Description
  `List<XltCharBuffer>`
  XltCharBuffer.`split(char splitChar)`
  Splits up this sequence into sub-sequences at splitChar markers excluding the marker
  Methods in com.xceptance.xlt.api.util with parameters of type XltCharBuffer
  Modifier and Type
  Method
  Description
  `int`
  XltCharBuffer.`compareTo(XltCharBuffer other)`
  Compares this object with the specified object for order.
  `static boolean`
  XltCharBuffer.`contains(XltCharBuffer haystack, XltCharBuffer needle, int[] shiftTable)`
  Checks if the needle is contained in the haystack using the Boyer-Moore-Horspool algorithm.
  `static int[]`
  XltCharBuffer.`createShiftTable(XltCharBuffer needle)`
  Creates the shift table needed for the Boyer-Moore-Horspool algorithm.
  `static XltCharBuffer`
  XltCharBuffer.`emptyWhenNull(XltCharBuffer s)`
  Returns the empty string if the provided buffer is null the buffer otherwise
  `boolean`
  XltCharBuffer.`endsWith(XltCharBuffer s)`
  Checks whether or not a buffer ends with the content of another buffer
  `int`
  XltCharBuffer.`indexOf(XltCharBuffer s)`
  Search for the first occurrence of another buffer in this buffer
  `int`
  XltCharBuffer.`indexOf(XltCharBuffer s, int fromIndex)`
  Search for the first occurrence of another buffer in this buffer
  `int`
  XltCharBuffer.`lastIndexOf(XltCharBuffer s)`
  Returns the last occurrence of a buffer in this buffer
  `int`
  XltCharBuffer.`lastIndexOf(XltCharBuffer s, int from)`
  Returns the last occurrence of a buffer in this starting from a certain offset and searching backwards(!)
  `boolean`
  XltCharBuffer.`startsWith(XltCharBuffer s)`
  Checks if the start of the buffer matches another buffer
  `static XltCharBuffer`
  XltCharBuffer.`valueOf(XltCharBuffer s1, char c)`
  Creates a new char buffer by adding a single char
  `static XltCharBuffer`
  XltCharBuffer.`valueOf(XltCharBuffer s1, XltCharBuffer s2)`
  Creates a new char buffer by merging XltCharBuffers
  `static XltCharBuffer`
  XltCharBuffer.`valueOf(XltCharBuffer s1, XltCharBuffer s2, XltCharBuffer s3)`
  Creates a new char buffer by merging strings