A B C D E F G H I L M N O P Q R S T U V W 

A

Accepted - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
addHTTPRequestCallback(HTTPRequestProcessor.HTTPRequestCallback) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestProcessor
addHTTPResponseCallback(HTTPResponseProcessor.HTTPResponseCallback) - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseProcessor
Adds an HTTPResponseProcessor.HTTPResponseCallback to this processor that will be called back as a data stream is processed.
AggregateOperationNotAllowed - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
AlreadyReported - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
appendQuery(String, String) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
Adds a query key/value to this HTTPRequestBuilder.

B

BadGateway - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
BadRequest - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
Binary - org.threadly.litesockets.protocols.websocket.WSOPCode
 
BlockedByWindowsParentalControls - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
bodyData(ByteBuffer) - Method in interface org.threadly.litesockets.protocols.http.request.HTTPRequestProcessor.HTTPRequestCallback
Called after HTTPRequestProcessor.HTTPRequestCallback.headersFinished(HTTPRequest) is called for any body associated with the request.
bodyData(ByteBuffer) - Method in interface org.threadly.litesockets.protocols.http.response.HTTPResponseProcessor.HTTPResponseCallback
Called after HTTPResponseProcessor.HTTPResponseCallback.headersFinished(HTTPResponse) is called for any body associated with the request.
build() - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseBuilder
Build an HTTPResponse object from this builder.
buildClientHTTPRequest() - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
 
builder() - Static method in class org.threadly.litesockets.protocols.http.request.HTTPRequest
Creates a new HTTPRequestBuilder.
builder() - Static method in class org.threadly.litesockets.protocols.http.response.HTTPResponse
Creates an HTTPResponseBuilder from this HTTPResponse.
buildHTTPAddress() - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
Builds an HTTPAddress object from the set host/port name.
buildHTTPRequest() - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
Builds an Immutable HTTPRequest object that can be used to send a request.

C

CertError - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
clearBuffer() - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestProcessor
Resets the processor and any pending buffers left in it.
clearBuffer() - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseProcessor
Resets the processor and any pending buffers left in it.
ClientClosedRequest - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
ClientHTTPRequest - Class in org.threadly.litesockets.protocols.http.request
This contains a full HTTPRequest, including the HTTPRequest, the HTTPAddress the body and the timeout.
Close - org.threadly.litesockets.protocols.websocket.WSOPCode
 
ConferenceNotFound - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
Conflict - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
CONNECT - org.threadly.litesockets.protocols.http.shared.HTTPRequestMethod
 
connectionClosed() - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestProcessor
Called when an http request connection is closes.
connectionClosed() - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseProcessor
Called when an http response connection is closes.
Continuation - org.threadly.litesockets.protocols.websocket.WSOPCode
 
Continue - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
Created - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 

D

DEFAULT_HEADERS - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
DEFAULT_HEADERS_MAP - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
DEFAULT_HTTP_PORT - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
DEFAULT_HTTPS_PORT - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
DEFAULT_READ_TIMEOUT - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
DEFAULT_REQUEST_HEADER - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
DEFAULT_SECRET_HASH_ALGO - Static variable in class org.threadly.litesockets.protocols.websocket.WSConstants
 
DEFAULT_SECRET_KEY_SIZE - Static variable in class org.threadly.litesockets.protocols.websocket.WSConstants
 
DEFAULT_TIMEOUT_MS - Static variable in class org.threadly.litesockets.protocols.http.request.HTTPRequest
 
DELETE - org.threadly.litesockets.protocols.http.shared.HTTPRequestMethod
 
DestinationUnreachable - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
duplicate() - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
Creates an independent copy of this HTTPRequestBuilder.

E

EnhanceYourClaim - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
equals(Object) - Method in class org.threadly.litesockets.protocols.http.request.ClientHTTPRequest
 
equals(Object) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequest
 
equals(Object) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestHeader
 
equals(Object) - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponse
 
equals(Object) - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseHeader
 
equals(Object) - Method in class org.threadly.litesockets.protocols.http.shared.HTTPAddress
 
equals(Object) - Method in class org.threadly.litesockets.protocols.http.shared.HTTPHeaders
 
ExpectationFailed - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 

F

FailedDependency - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
findResponseCode(int) - Static method in enum org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
finished() - Method in interface org.threadly.litesockets.protocols.http.request.HTTPRequestProcessor.HTTPRequestCallback
This is called when the http request finishes.
finished() - Method in interface org.threadly.litesockets.protocols.http.response.HTTPResponseProcessor.HTTPResponseCallback
This is called when the http request finishes.
Forbidden - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
formatHeaderMap(Map<String, String>) - Static method in class org.threadly.litesockets.protocols.http.shared.HTTPHeaders
 
Found - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
fromByte(byte) - Static method in enum org.threadly.litesockets.protocols.websocket.WSOPCode
 

G

GatewayTimeout - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
GET - org.threadly.litesockets.protocols.http.shared.HTTPRequestMethod
 
getAllCallbacks() - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseProcessor
Gets all listeners that are on this processor.
getBodyBuffer() - Method in class org.threadly.litesockets.protocols.http.request.ClientHTTPRequest
 
getBufferSize() - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestProcessor
returns the total amount of unprocessable data pending.
getBufferSize() - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseProcessor
returns the total amount of unprocessable data pending.
getByteBuffer() - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequest
Returns a ByteBuffer for this header.
getByteBuffer() - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestHeader
Returns the header as a read-only ByteBuffer.
getByteBuffer() - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponse
Gets this HTTPResponse as a ByteBuffer.
getByteBuffer() - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseHeader
Returns the header as a read-only ByteBuffer.
getContentLength() - Method in class org.threadly.litesockets.protocols.http.shared.HTTPHeaders
 
getCurrentBodySize() - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseProcessor
Gets the current body size for the httpResponse currently in process.
getdoSSL() - Method in class org.threadly.litesockets.protocols.http.shared.HTTPAddress
Should ssl be done on this HTTPAddress.
getFrameLength(ByteBuffer) - Static method in class org.threadly.litesockets.protocols.websocket.WSUtils
Gives the total length of the next Frame in the provided ByteBuffer.
getFrameLength(MergedByteBuffers) - Static method in class org.threadly.litesockets.protocols.websocket.WSUtils
Gives the total length of the next Frame in the provided MergedByteBuffers.
getHeader(String) - Method in class org.threadly.litesockets.protocols.http.shared.HTTPHeaders
 
getHeaders() - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponse
Gets the HTTPHeaders for this HTTPResponse object.
getHeadersMap() - Method in class org.threadly.litesockets.protocols.http.shared.HTTPHeaders
 
getHost() - Method in class org.threadly.litesockets.protocols.http.shared.HTTPAddress
Returns the host portion of this HTTPAddress.
getHTTPAddress() - Method in class org.threadly.litesockets.protocols.http.request.ClientHTTPRequest
 
getHTTPHeaders() - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequest
Returns the HTTPHeaders object for this request.
getHTTPRequest() - Method in class org.threadly.litesockets.protocols.http.request.ClientHTTPRequest
 
getHTTPRequestHeader() - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequest
Returns the HTTPRequestHeader object for this request.
getHttpVersion() - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestHeader
Gets the http version.
getHTTPVersion() - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseHeader
Gets the http version.
getId() - Method in enum org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
getMaskArray() - Method in class org.threadly.litesockets.protocols.websocket.WSFrame
Gets the mask as a byte array.
getMaskValue() - Method in class org.threadly.litesockets.protocols.websocket.WSFrame
Gets the int used to mask this payload.
getNextChunkLength(ByteBuffer) - Static method in class org.threadly.litesockets.protocols.http.shared.HTTPUtils
 
getOpCode() - Method in class org.threadly.litesockets.protocols.websocket.WSFrame
The opCode for this websocket frame.
getPayloadDataLength() - Method in class org.threadly.litesockets.protocols.websocket.WSFrame
Returns the size of the websocket frames payload
getPort() - Method in class org.threadly.litesockets.protocols.http.shared.HTTPAddress
Returns the port portion of this HTTPAddress.
getRawFrame() - Method in class org.threadly.litesockets.protocols.websocket.WSFrame
ByteBuffer for the raw frame.
getRequestMethod() - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestHeader
Gets the http request method (ie POST, GET, HEAD, etc).
getRequestPath() - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestHeader
Gets the requestPath set in this request.
getRequestQuery() - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestHeader
Gets the request query.
getRequestQueryValue(String) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestHeader
Gets the value to a given query parameter.
getResponseCode() - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponse
Gets the HTTPResponseCode for this HTTPResponse object.
getResponseCode() - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseHeader
Gets the HTTPResponseCode set in this response.
getResponseHeader() - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponse
Gets the HTTPResponseHeader for this HTTPResponse object.
getTimeoutMS() - Method in class org.threadly.litesockets.protocols.http.request.ClientHTTPRequest
 
getURL() - Method in class org.threadly.litesockets.protocols.http.shared.HTTPAddress
Gets the URL of this HTTPAddress.
getValue() - Method in enum org.threadly.litesockets.protocols.websocket.WSOPCode
 
Gone - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 

H

hasError(Throwable) - Method in interface org.threadly.litesockets.protocols.http.request.HTTPRequestProcessor.HTTPRequestCallback
This is called if there is a parsing error or the connection closes before finished, or any other error reason.
hasError(Throwable) - Method in interface org.threadly.litesockets.protocols.http.response.HTTPResponseProcessor.HTTPResponseCallback
This is called if there is a parsing error or the connection closes before finished, or any other error reason.
hashCode() - Method in class org.threadly.litesockets.protocols.http.request.ClientHTTPRequest
 
hashCode() - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequest
 
hashCode() - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestHeader
 
hashCode() - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponse
 
hashCode() - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseHeader
 
hashCode() - Method in class org.threadly.litesockets.protocols.http.shared.HTTPAddress
 
hashCode() - Method in class org.threadly.litesockets.protocols.http.shared.HTTPHeaders
 
hasMask() - Method in class org.threadly.litesockets.protocols.websocket.WSFrame
Is the mask bit set for this WSFrames payload.
hasRSV1() - Method in class org.threadly.litesockets.protocols.websocket.WSFrame
Is the RSV1 bit set.
hasRSV2() - Method in class org.threadly.litesockets.protocols.websocket.WSFrame
Is the RSV2 bit set.
hasRSV3() - Method in class org.threadly.litesockets.protocols.websocket.WSFrame
Is the RSV3 bit set.
HEAD - org.threadly.litesockets.protocols.http.shared.HTTPRequestMethod
 
HeaderFieldNotValidForRequest - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
headersFinished(HTTPRequest) - Method in interface org.threadly.litesockets.protocols.http.request.HTTPRequestProcessor.HTTPRequestCallback
Called when we reach a completed HTTPRequest header.
headersFinished(HTTPResponse) - Method in interface org.threadly.litesockets.protocols.http.response.HTTPResponseProcessor.HTTPResponseCallback
Called when we reach a completed HTTPResponse header.
HEX_SIZE - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
HTTP - org.threadly.litesockets.protocols.http.shared.HTTPConstants.PROTOCOL
 
HTTP_DOUBLE_NEWLINE_DELIMINATOR - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
HTTP_HEADER_VALUE_DELIMINATOR - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
HTTP_KEY_ACCEPT - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
HTTP_KEY_AUTHORIZATION - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
HTTP_KEY_CONNECTION - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
HTTP_KEY_CONTENT_LENGTH - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
HTTP_KEY_CONTENT_TYPE - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
HTTP_KEY_HOST - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
HTTP_KEY_KEEP_ALIVE - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
HTTP_KEY_TRANSFER_ENCODING - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
HTTP_KEY_UPGRADE - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
HTTP_KEY_USER_AGENT - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
HTTP_KEY_WEBSOCKET_ACCEPT - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
HTTP_KEY_WEBSOCKET_KEY - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
HTTP_KEY_WEBSOCKET_VERSION - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
HTTP_NEWLINE_DELIMINATOR - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
HTTP_VERSION_1_0 - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
HTTP_VERSION_1_1 - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
HTTPAddress - Class in org.threadly.litesockets.protocols.http.shared
Simple Immutable class that is used for http Connections.
HTTPAddress(String, int, boolean) - Constructor for class org.threadly.litesockets.protocols.http.shared.HTTPAddress
Construct an HTTPAdrress by specifying the host port and protocol(https or http).
HTTPAddress(URL) - Constructor for class org.threadly.litesockets.protocols.http.shared.HTTPAddress
Constructs an HTTPAddress from a URL.
HTTPConstants - Class in org.threadly.litesockets.protocols.http.shared
This is a bunch of constants used by the HTTP protocol.
HTTPConstants() - Constructor for class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
HTTPConstants.PROTOCOL - Enum in org.threadly.litesockets.protocols.http.shared
These are the different protocol types, currently only http and https.
HTTPHeaders - Class in org.threadly.litesockets.protocols.http.shared
This is an immutable object of http headers.
HTTPHeaders(String) - Constructor for class org.threadly.litesockets.protocols.http.shared.HTTPHeaders
 
HTTPHeaders(Map<String, String>) - Constructor for class org.threadly.litesockets.protocols.http.shared.HTTPHeaders
 
HTTPParsingException - Exception in org.threadly.litesockets.protocols.http.shared
Whenever there is a problem processing HTTP protocol this exception is thrown.
HTTPParsingException() - Constructor for exception org.threadly.litesockets.protocols.http.shared.HTTPParsingException
 
HTTPParsingException(String) - Constructor for exception org.threadly.litesockets.protocols.http.shared.HTTPParsingException
 
HTTPParsingException(String, Throwable) - Constructor for exception org.threadly.litesockets.protocols.http.shared.HTTPParsingException
 
HTTPParsingException(Throwable) - Constructor for exception org.threadly.litesockets.protocols.http.shared.HTTPParsingException
 
HTTPRequest - Class in org.threadly.litesockets.protocols.http.request
This is an immutable HTTPRequest object.
HTTPRequestBuilder - Class in org.threadly.litesockets.protocols.http.request
A builder object for HTTPRequest.
HTTPRequestBuilder() - Constructor for class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
Creates a new HTTPRequestBuilder object.
HTTPRequestBuilder(URL) - Constructor for class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
Creates a new HTTPRequestBuilder object from a URL.
HTTPRequestHeader - Class in org.threadly.litesockets.protocols.http.request
This is an immutable HTTP Request Header.
HTTPRequestHeader(String) - Constructor for class org.threadly.litesockets.protocols.http.request.HTTPRequestHeader
This parses an http request string and creates an Immutable HTTPRequest object for it.
HTTPRequestHeader(String, String, Map<String, List<String>>, String) - Constructor for class org.threadly.litesockets.protocols.http.request.HTTPRequestHeader
Creates a new Immutable HTTPRequest object from the parts that are in a request.
HTTPRequestHeader(HTTPRequestMethod, String, Map<String, List<String>>, String) - Constructor for class org.threadly.litesockets.protocols.http.request.HTTPRequestHeader
Creates a new Immutable HTTPRequest object from the parts that are in a request.
HTTPRequestMethod - Enum in org.threadly.litesockets.protocols.http.shared
Enum of Http Request methods.
HTTPRequestProcessor - Class in org.threadly.litesockets.protocols.http.request
This processes byte data and turns it into HTTPrequests.
HTTPRequestProcessor() - Constructor for class org.threadly.litesockets.protocols.http.request.HTTPRequestProcessor
Constructs an httpRequestProcessor.
HTTPRequestProcessor.HTTPRequestCallback - Interface in org.threadly.litesockets.protocols.http.request
Used for processing data with HTTPRequestProcessor.
HTTPResponse - Class in org.threadly.litesockets.protocols.http.response
An Immutable HTTPResponse object.
HTTPResponse(HTTPResponseHeader, HTTPHeaders) - Constructor for class org.threadly.litesockets.protocols.http.response.HTTPResponse
Creates an HTTPResponse object.
HTTPResponse(HTTPResponseCode, String, Map<String, String>) - Constructor for class org.threadly.litesockets.protocols.http.response.HTTPResponse
Creates an HTTPResponse object.
HTTPResponseBuilder - Class in org.threadly.litesockets.protocols.http.response
A builder to help create HTTPResponse objects.
HTTPResponseBuilder() - Constructor for class org.threadly.litesockets.protocols.http.response.HTTPResponseBuilder
Creates a new HTTPResponseBuilder object.
HTTPResponseCode - Enum in org.threadly.litesockets.protocols.http.shared
Enum of all known HTTP Response codes.
HTTPResponseHeader - Class in org.threadly.litesockets.protocols.http.response
An Immutable object of the HTTP Response header.
HTTPResponseHeader(String) - Constructor for class org.threadly.litesockets.protocols.http.response.HTTPResponseHeader
This parses an http response string and creates an Immutable HTTPResponse object for it.
HTTPResponseHeader(HTTPResponseCode, String) - Constructor for class org.threadly.litesockets.protocols.http.response.HTTPResponseHeader
This parses an http response string and creates an Immutable HTTPResponse object for it.
HTTPResponseProcessor - Class in org.threadly.litesockets.protocols.http.response
This is a simple HTTP Response parser.
HTTPResponseProcessor(boolean) - Constructor for class org.threadly.litesockets.protocols.http.response.HTTPResponseProcessor
Creates a new HTTPResponseProcessor.
HTTPResponseProcessor.HTTPResponseCallback - Interface in org.threadly.litesockets.protocols.http.response
Used for processing data with HTTPResponseProcessor.
HTTPS - org.threadly.litesockets.protocols.http.shared.HTTPConstants.PROTOCOL
 
HttpToHttps - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
HTTPUtils - Class in org.threadly.litesockets.protocols.http.shared
 
HTTPUtils() - Constructor for class org.threadly.litesockets.protocols.http.shared.HTTPUtils
 
HTTPVersionNotSupported - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 

I

ImAteapot - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
IMUsed - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
InsufficientStorage - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
InternalServerError - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
InvalidRange - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
isChunked() - Method in class org.threadly.litesockets.protocols.http.shared.HTTPHeaders
 
isFinished() - Method in class org.threadly.litesockets.protocols.websocket.WSFrame
Is the finished bit set in the frame.
isProcessing() - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseProcessor
Lets you know if a response is currently being processed or not.
isRequestComplete() - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestProcessor
Lets you know if we have gotten enough data to see a full request yet.
isResponseComplete() - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseProcessor
Lets you know if we have gotten enough data to see a full response yet.

L

leftTrim(String) - Static method in class org.threadly.litesockets.protocols.http.shared.HTTPUtils
 
length() - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestHeader
The length in bytes of the http request header.
length() - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseHeader
The length in bytes of the http response header.
LengthRequired - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
Locked - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
LoopDetected - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
LowOnStorageSpace - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 

M

MAGIC_UUID - Static variable in class org.threadly.litesockets.protocols.websocket.WSConstants
 
makeBuilder() - Method in class org.threadly.litesockets.protocols.http.request.ClientHTTPRequest
 
makeBuilder() - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequest
Create an HTTPRequestBuilder from this header.
makeBuilder() - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponse
Creates an HTTPResponseBuilder from this HTTPResponse.
makeKeyResponse(String) - Static method in class org.threadly.litesockets.protocols.websocket.WSUtils
Makes a Sec-WebSocket-Key response string.
makeSecretKey() - Static method in class org.threadly.litesockets.protocols.websocket.WSUtils
Makes a Sec-WebSocket-Key that is 20 Bytes long.
makeSecretKey(int) - Static method in class org.threadly.litesockets.protocols.websocket.WSUtils
Makes a Sec-WebSocket-Key that is however long you make it.
makeWSFrame(int, boolean, byte, boolean) - Static method in class org.threadly.litesockets.protocols.websocket.WSFrame
Creates a WSFrame object with the provided parameters.
makeWSFrame(int, byte, boolean) - Static method in class org.threadly.litesockets.protocols.websocket.WSFrame
Creates a WSFrame object with the provided parameters.
makeWSFrame(int, WSOPCode, boolean) - Static method in class org.threadly.litesockets.protocols.websocket.WSFrame
Creates a WSFrame object with the provided parameters.
MASK_SIZE - Static variable in class org.threadly.litesockets.protocols.websocket.WSConstants
 
maskData(ByteBuffer, int) - Static method in class org.threadly.litesockets.protocols.websocket.WSUtils
This will mask or unmask data against provided mask.
MAX_HEADER_LENGTH - Static variable in class org.threadly.litesockets.protocols.http.request.HTTPRequestProcessor
 
MAX_HEADER_ROW_LENGTH - Static variable in class org.threadly.litesockets.protocols.http.request.HTTPRequestProcessor
 
MAX_HEADER_SIZE - Static variable in class org.threadly.litesockets.protocols.http.response.HTTPResponseProcessor
 
MAX_RESPONSE_HEADER_SIZE - Static variable in class org.threadly.litesockets.protocols.http.response.HTTPResponseProcessor
 
MAX_TIMEOUT_MS - Static variable in class org.threadly.litesockets.protocols.http.request.HTTPRequest
 
MAX_WS_FRAME_SIZE - Static variable in class org.threadly.litesockets.protocols.websocket.WSConstants
 
MethodNotAllowed - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
MethodNotValidInThisState - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
MIN_TIMEOUT_MS - Static variable in class org.threadly.litesockets.protocols.http.request.HTTPRequest
 
MIN_WS_FRAME_SIZE - Static variable in class org.threadly.litesockets.protocols.websocket.WSConstants
 
MisdirectedRequest - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
MovedPermanently - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
MultipleChoices - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
MultiStatus - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 

N

NetworkAuthenticationRequired - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
NoCert - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
NoContent - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
NonAuthoritativeInformation - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
NOT_FOUND_RESPONSE_HEADER - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
NotAcceptable - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
NotEnoughhBandwidth - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
NotExtended - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
NotFound - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
NotImplemented - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
NotModified - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 

O

OK - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
OK_RESPONSE_HEADER - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
OnlyAggregateOperationAllowed - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
OPCODE_MASK - Static variable in class org.threadly.litesockets.protocols.websocket.WSConstants
 
OptionNotSupported - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
OPTIONS - org.threadly.litesockets.protocols.http.shared.HTTPRequestMethod
 
org.threadly.litesockets.protocols.http.request - package org.threadly.litesockets.protocols.http.request
 
org.threadly.litesockets.protocols.http.response - package org.threadly.litesockets.protocols.http.response
 
org.threadly.litesockets.protocols.http.shared - package org.threadly.litesockets.protocols.http.shared
 
org.threadly.litesockets.protocols.websocket - package org.threadly.litesockets.protocols.websocket
 

P

ParameterIsReadOnly - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
parseRequest(String) - Static method in class org.threadly.litesockets.protocols.http.request.HTTPRequest
Creates a new HTTPRequest object from a string.
parseResponse(String) - Static method in class org.threadly.litesockets.protocols.http.response.HTTPResponse
Creates a new HTTPResponse object from a string.
parseWSFrame(ByteBuffer) - Static method in class org.threadly.litesockets.protocols.websocket.WSFrame
Parses a WebSocket frame out of the provided ByteBuffer.
parseWSFrame(MergedByteBuffers) - Static method in class org.threadly.litesockets.protocols.websocket.WSFrame
Parses a WebSocket frame from the passed in MergedByteBuffers.
PartialContent - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
PaymentRequired - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
PermanentRedirect - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
Ping - org.threadly.litesockets.protocols.websocket.WSOPCode
 
Pong - org.threadly.litesockets.protocols.websocket.WSOPCode
 
POST - org.threadly.litesockets.protocols.http.shared.HTTPRequestMethod
 
PreconditionFailed - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
PreconditionRequired - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
processData(byte[]) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestProcessor
byte[] to send through the processor.
processData(byte[]) - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseProcessor
byte[] to send through the processor.
processData(ByteBuffer) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestProcessor
ByteBuffer to send through the processor.
processData(ByteBuffer) - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseProcessor
ByteBuffer to send through the processor.
processData(MergedByteBuffers) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestProcessor
MergedByteBuffers to send through the processor.
processData(MergedByteBuffers) - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseProcessor
MergedByteBuffers to send through the processor.
Processing - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
ProxyAuthenticationRequired - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
PUT - org.threadly.litesockets.protocols.http.shared.HTTPRequestMethod
 

Q

queryToMap(String) - Static method in class org.threadly.litesockets.protocols.http.shared.HTTPUtils
 
queryToString(Map<String, List<String>>) - Static method in class org.threadly.litesockets.protocols.http.shared.HTTPUtils
 

R

removeHeader(String) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
Removes a header on the HTTPRequest.
removeHeader(String) - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseBuilder
Removes a header on the HTTPResponse.
removeHTTPRequestCallback(HTTPRequestProcessor.HTTPRequestCallback) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestProcessor
Removes an HTTPRequestProcessor.HTTPRequestCallback from the processor.
removeHTTPResponseCallback(HTTPResponseProcessor.HTTPResponseCallback) - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseProcessor
Removes an HTTPResponseProcessor.HTTPResponseCallback from this processor the removed callback will no longer be called.
removeQuery(String) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
Removes a Key from the query portion of the http request.
replaceHTTPHeaders(HTTPHeaders) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
Replaces all the HTTPHeaders for this HTTPRequestBuilder with the ones provided.
replaceHTTPHeaders(HTTPHeaders) - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseBuilder
Replaces all the HTTPHeaders for this HTTPResponseBuilder with the ones provided.
RequestedRangeNotSatisfiable - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
RequestEntityTooLarge - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
RequestHeaderFieldsTooLarge - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
RequestHeaderTooLarge - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
RequestTimeout - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
RequestURITooLong - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
reset() - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestProcessor
Forces a reset on the HTTPProcessor.
reset() - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseProcessor
Forces a reset on the HTTPProcessor.
reset(Throwable) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestProcessor
Forces a reset on the HTTPProcessor with an error, call callbacks will be called with hasError if a request has started.
reset(Throwable) - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseProcessor
Forces a reset on the HTTPProcessor with an error, call callbacks will be called with hasError if a request has started.
ResetContent - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 

S

SeeOther - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
SERVER_ERROR_RESPONSE_HEADER - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
ServiceUnavailable - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
SessionNotFound - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
setBody(String) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
 
setBody(String, Charset) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
 
setBody(ByteBuffer) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
 
setHeader(String, String) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
Set a header on the HTTPRequest.
setHeader(String, String) - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseBuilder
Set a header on the HTTPResponse.
setHost(String) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
Sets the Host: header in the client.
setHost(String, boolean) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
Sets the Host: header in the client.
setHTTPAddress(HTTPAddress, boolean) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
Sets the HTTPAddress for this builder.
setHTTPRequestHeader(HTTPRequestHeader) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
Set the HTTPRequestHeader object for this HTTPRequestBuilder.
setHTTPVersion(String) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
Set the HTTPVersion for this HTTPRequestBuilder.
setHTTPVersion(String) - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseBuilder
Set the HTTPVersion for this HTTPResponseBuilder.
setPath(String) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
This sets the request path for the HTTPRequestBuilder.
setPort(int) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
This sets the port to use in the HTTPRequestBuilder.buildHTTPAddress() method.
setQueryString(String) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
Set the query on this HTTPRequestBuilder.
setRequestMethod(String) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
Sets the HTTPRequestMethod for this request.
setRequestMethod(HTTPRequestMethod) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
Sets the HTTPRequestMethod for this request.
setResponseCode(HTTPResponseCode) - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseBuilder
Set the HTTPResponse code for this builder.
setResponseHeader(HTTPResponseHeader) - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseBuilder
Set the HTTPResponseHeader object for this HTTPResponseBuilder.
setSSL(boolean) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
Sets if the request should be made using ssl or not.
setTimeout(long, TimeUnit) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
 
setURL(URL) - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestBuilder
Uses a URL to set the path and query on this HTTPRequestBuilder object.
SPACE - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
STATIC_FIVE - Static variable in class org.threadly.litesockets.protocols.websocket.WSConstants
 
STATIC_FOUR - Static variable in class org.threadly.litesockets.protocols.websocket.WSConstants
 
STATIC_SEVEN - Static variable in class org.threadly.litesockets.protocols.websocket.WSConstants
 
STATIC_SIX - Static variable in class org.threadly.litesockets.protocols.websocket.WSConstants
 
SwitchingProtocols - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
SwitchProxy - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 

T

TemporaryRedirect - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
Text - org.threadly.litesockets.protocols.websocket.WSOPCode
 
TooManyRequests - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
toString() - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequest
 
toString() - Method in class org.threadly.litesockets.protocols.http.request.HTTPRequestHeader
 
toString() - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponse
 
toString() - Method in class org.threadly.litesockets.protocols.http.response.HTTPResponseHeader
 
toString() - Method in class org.threadly.litesockets.protocols.http.shared.HTTPAddress
 
toString() - Method in class org.threadly.litesockets.protocols.http.shared.HTTPHeaders
 
toString() - Method in enum org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
TRACE - org.threadly.litesockets.protocols.http.shared.HTTPRequestMethod
 

U

Unauthorized - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
UnavailableForLegalReasons - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
unmaskPayload(ByteBuffer) - Method in class org.threadly.litesockets.protocols.websocket.WSFrame
Takes a ByteBuffer if this WSFrames payload and unmasks it.
UnorderedCollection - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
UnprocessableEntity - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
UNSIGN_BYTE_MASK - Static variable in class org.threadly.litesockets.protocols.websocket.WSConstants
 
UNSIGNED_SHORT_MASK - Static variable in class org.threadly.litesockets.protocols.websocket.WSConstants
 
UnsupportedMediaType - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
UnsupportedTransport - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
Unused - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 
UpgradeRequired - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 

V

validateKeyResponse(String, String) - Static method in class org.threadly.litesockets.protocols.websocket.WSUtils
Validates the Sec-WebSocket-Accept header response for a websocket request.
validateKeyResponse(String, HTTPHeaders) - Static method in class org.threadly.litesockets.protocols.websocket.WSUtils
Validates the Sec-WebSocket-Accept header response for a websocket request.
valueOf(String) - Static method in enum org.threadly.litesockets.protocols.http.shared.HTTPConstants.PROTOCOL
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.threadly.litesockets.protocols.http.shared.HTTPRequestMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.threadly.litesockets.protocols.websocket.WSOPCode
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.threadly.litesockets.protocols.http.shared.HTTPConstants.PROTOCOL
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.threadly.litesockets.protocols.http.shared.HTTPRequestMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.threadly.litesockets.protocols.websocket.WSOPCode
Returns an array containing the constants of this enum type, in the order they are declared.
VariantAlsoNegotiates - org.threadly.litesockets.protocols.http.shared.HTTPResponseCode
 

W

WEBSOCKET - Static variable in class org.threadly.litesockets.protocols.http.shared.HTTPConstants
 
websocketData(WSFrame, ByteBuffer) - Method in interface org.threadly.litesockets.protocols.http.request.HTTPRequestProcessor.HTTPRequestCallback
If the last headersFinished was a websocket request this will be called back on each frame we get from processed data.
websocketData(WSFrame, ByteBuffer) - Method in interface org.threadly.litesockets.protocols.http.response.HTTPResponseProcessor.HTTPResponseCallback
If the last headersFinished was a websocket request this will be called back on each frame we get from processed data.
wrapInChunk(ByteBuffer) - Static method in class org.threadly.litesockets.protocols.http.shared.HTTPUtils
 
WS_LONG_LENGTH - Static variable in class org.threadly.litesockets.protocols.websocket.WSConstants
 
WS_LONG_SIZE - Static variable in class org.threadly.litesockets.protocols.websocket.WSConstants
 
WS_SHORT_LENGTH - Static variable in class org.threadly.litesockets.protocols.websocket.WSConstants
 
WS_SHORT_SIZE - Static variable in class org.threadly.litesockets.protocols.websocket.WSConstants
 
WS_SMALL_LENGTH_MASK - Static variable in class org.threadly.litesockets.protocols.websocket.WSConstants
 
WSConstants - Class in org.threadly.litesockets.protocols.websocket
 
WSConstants() - Constructor for class org.threadly.litesockets.protocols.websocket.WSConstants
 
WSFrame - Class in org.threadly.litesockets.protocols.websocket
WSFrame object.
WSOPCode - Enum in org.threadly.litesockets.protocols.websocket
Standard Websocket OpCodes.
WSUtils - Class in org.threadly.litesockets.protocols.websocket
 
WSUtils() - Constructor for class org.threadly.litesockets.protocols.websocket.WSUtils
 
A B C D E F G H I L M N O P Q R S T U V W 
Skip navigation links