Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ABNORMAL_CLOSURE - Enum constant in enum org.simpleframework.http.socket.CloseCode
-
Indicates an abnormal closure and should not be used.
- ACCEPT - Enum constant in enum org.simpleframework.transport.connect.ConnectionEvent
-
This event occurs when the server accepts a new connection.
- ACCEPT - Static variable in interface org.simpleframework.http.Protocol
-
Specifies media types which are acceptable for the response.
- ACCEPT_CHARSET - Static variable in interface org.simpleframework.http.Protocol
-
Indicates what character sets are acceptable for the response.
- ACCEPT_ENCODING - Static variable in interface org.simpleframework.http.Protocol
-
Restricts the content codings that are acceptable in the response.
- ACCEPT_LANGUAGE - Static variable in interface org.simpleframework.http.Protocol
-
Restricts the set of languages that are preferred as a response.
- ACCEPT_RANGES - Static variable in interface org.simpleframework.http.Protocol
-
Indicates a servers acceptance of range requests for a resource.
- ACCEPTED - Enum constant in enum org.simpleframework.http.Status
-
This is used to signify that the request has been accepted.
- add(String, String) - Method in class org.simpleframework.http.message.SegmentConsumer
-
This is used to add the name and value specified as a special header within the segment.
- addDate(String, long) - Method in interface org.simpleframework.http.message.Message
-
This is used as a convenience method for adding a header that needs to be parsed into a HTTPdate string.
- addDate(String, long) - Method in class org.simpleframework.http.message.MessageHeader
-
This is used as a convenience method for adding a header that needs to be parsed into a HTTPdate string.
- addDate(String, long) - Method in interface org.simpleframework.http.ResponseHeader
-
This is used as a convenience method for adding a header that needs to be parsed into a HTTPdate string.
- addDate(String, long) - Method in class org.simpleframework.http.ResponseWrapper
-
This is used as a convenience method for adding a header that needs to be parsed into a HTTPdate string.
- addInteger(String, int) - Method in interface org.simpleframework.http.message.Message
-
This can be used to add a HTTP message header to this object.
- addInteger(String, int) - Method in class org.simpleframework.http.message.MessageHeader
-
This can be used to add a HTTP message header to this object.
- addInteger(String, int) - Method in interface org.simpleframework.http.ResponseHeader
-
This can be used to add a HTTP message header to this object.
- addInteger(String, int) - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to add a HTTP message header to this object.
- Address - Interface in org.simpleframework.http
-
The
Addressinterface is used to represent a generic uniform resource identifier. - AddressParser - Class in org.simpleframework.http.parse
-
This parser is used to parse uniform resource identifiers.
- AddressParser() - Constructor for class org.simpleframework.http.parse.AddressParser
-
Default constructor will create a
AddressParserthat contains no specifics. - AddressParser(String) - Constructor for class org.simpleframework.http.parse.AddressParser
-
This is primarily a convenience constructor.
- addValue(String, String) - Method in interface org.simpleframework.http.message.Message
-
This can be used to add a HTTP message header to this object.
- addValue(String, String) - Method in class org.simpleframework.http.message.MessageHeader
-
This can be used to add a HTTP message header to this object.
- addValue(String, String) - Method in interface org.simpleframework.http.ResponseHeader
-
This can be used to add a HTTP message header to this object.
- addValue(String, String) - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to add a HTTP message header to this object.
- adjust() - Method in class org.simpleframework.http.message.SegmentConsumer
-
This will update the offset variable so that the next read will be of a non whitespace character.
- AGE - Static variable in interface org.simpleframework.http.Protocol
-
Estimates the amount of time since the response was generated.
- all - Variable in class org.simpleframework.common.parse.MapParser
-
Represents all values inserted to the map as a list of values.
- allocate() - Method in interface org.simpleframework.common.buffer.Allocator
-
This method is used to allocate a default buffer.
- allocate() - Method in class org.simpleframework.common.buffer.ArrayAllocator
-
This method is used to allocate a default buffer.
- allocate() - Method in class org.simpleframework.common.buffer.ArrayBuffer
-
This method is used to allocate a segment of this buffer as a separate buffer object.
- allocate() - Method in interface org.simpleframework.common.buffer.Buffer
-
This method is used to allocate a segment of this buffer as a separate buffer object.
- allocate() - Method in class org.simpleframework.common.buffer.BufferAllocator
-
This method is used to allocate a default buffer.
- allocate() - Method in class org.simpleframework.common.buffer.FileAllocator
-
This will allocate a file buffer which will write data for the buffer to a file.
- allocate() - Method in class org.simpleframework.common.buffer.FilterAllocator
-
This method is used to allocate a default buffer.
- allocate(long) - Method in interface org.simpleframework.common.buffer.Allocator
-
This method is used to allocate a default buffer.
- allocate(long) - Method in class org.simpleframework.common.buffer.ArrayAllocator
-
This method is used to allocate a default buffer.
- allocate(long) - Method in class org.simpleframework.common.buffer.BufferAllocator
-
This method is used to allocate a default buffer.
- allocate(long) - Method in class org.simpleframework.common.buffer.FileAllocator
-
This will allocate a file buffer which will write data for the buffer to a file.
- allocate(long) - Method in class org.simpleframework.common.buffer.FilterAllocator
-
This method is used to allocate a default buffer.
- Allocator - Interface in org.simpleframework.common.buffer
-
The
Allocatorinterface is used to describe a resource that can allocate a buffer. - ALLOW - Static variable in interface org.simpleframework.http.Protocol
-
Lists the set of methods supported by the resource identified.
- ALREADY_SELECTING - Enum constant in enum org.simpleframework.transport.reactor.ReactorEvent
-
This is used to indicate the channel is already selecting.
- append(byte[]) - Method in class org.simpleframework.common.buffer.ArrayBuffer
-
This method is used to append bytes to the end of the buffer.
- append(byte[]) - Method in interface org.simpleframework.common.buffer.Buffer
-
This method is used to append bytes to the end of the buffer.
- append(byte[]) - Method in class org.simpleframework.common.buffer.BufferAllocator
-
This method is used to append bytes to the end of the buffer.
- append(byte[], int, int) - Method in class org.simpleframework.common.buffer.ArrayBuffer
-
This method is used to append bytes to the end of the buffer.
- append(byte[], int, int) - Method in interface org.simpleframework.common.buffer.Buffer
-
This method is used to append bytes to the end of the buffer.
- append(byte[], int, int) - Method in class org.simpleframework.common.buffer.BufferAllocator
-
This method is used to append bytes to the end of the buffer.
- append(char) - Method in class org.simpleframework.common.parse.ParseBuffer
-
This will add a
charto the end of the buffer. - append(char[], int, int) - Method in class org.simpleframework.common.parse.ParseBuffer
-
This will add a
charto the end of the buffer. - append(String) - Method in class org.simpleframework.common.parse.ParseBuffer
-
This will add a
Stringto the end of the buffer. - append(String, int, int) - Method in class org.simpleframework.common.parse.ParseBuffer
-
This will add a
Stringto the end of the buffer. - append(ParseBuffer) - Method in class org.simpleframework.common.parse.ParseBuffer
-
This will add a
ParseBufferto the end of this. - append(ParseBuffer, int, int) - Method in class org.simpleframework.common.parse.ParseBuffer
-
This will add a
ParseBufferto the end of this. - APPLICATION - Static variable in interface org.simpleframework.http.Protocol
-
Represents a class of data representing an executable application.
- array - Variable in class org.simpleframework.http.message.ArrayConsumer
-
This is the array that is used to contain the read bytes.
- array - Variable in class org.simpleframework.http.message.UpdateConsumer
-
This is an external array used to copy data between buffers.
- ArrayAllocator - Class in org.simpleframework.common.buffer
-
The
ArrayAllocatorobject is used to provide a means to allocate buffers using a single byte array. - ArrayAllocator() - Constructor for class org.simpleframework.common.buffer.ArrayAllocator
-
Constructor for the
ArrayAllocatorobject. - ArrayAllocator(int) - Constructor for class org.simpleframework.common.buffer.ArrayAllocator
-
Constructor for the
ArrayAllocatorobject. - ArrayAllocator(int, int) - Constructor for class org.simpleframework.common.buffer.ArrayAllocator
-
Constructor for the
ArrayAllocatorobject. - ArrayBuffer - Class in org.simpleframework.common.buffer
-
The
ArrayBufferis intended to be a general purpose byte buffer that stores bytes in an single internal byte array. - ArrayBuffer() - Constructor for class org.simpleframework.common.buffer.ArrayBuffer
-
Constructor for the
ArrayBufferobject. - ArrayBuffer(int) - Constructor for class org.simpleframework.common.buffer.ArrayBuffer
-
Constructor for the
ArrayBufferobject. - ArrayBuffer(int, int) - Constructor for class org.simpleframework.common.buffer.ArrayBuffer
-
Constructor for the
ArrayBufferobject. - ArrayConsumer - Class in org.simpleframework.http.message
-
The
ArrayConsumerobject is a consumer that consumes bytes in to an internal array before processing. - ArrayConsumer() - Constructor for class org.simpleframework.http.message.ArrayConsumer
-
Constructor for the
ArrayConsumerobject. - ArrayConsumer(int) - Constructor for class org.simpleframework.http.message.ArrayConsumer
-
Constructor for the
ArrayConsumerobject. - ArrayConsumer(int, int) - Constructor for class org.simpleframework.http.message.ArrayConsumer
-
Constructor for the
ArrayConsumerobject. - attach(SelectableChannel) - Method in interface org.simpleframework.transport.trace.TraceAnalyzer
-
This method is used to attach a trace to the specified channel.
- AUTHORIZATION - Static variable in interface org.simpleframework.http.Protocol
-
Sent by a client that wishes to authenticate itself with a server.
B
- BAD_GATEWAY - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client that the gateway is invalid.
- BAD_REQUEST - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client they have send an invalid request.
- Base64Encoder - Class in org.simpleframework.common.encode
-
The
Base64Encoderis used to encode and decode base64 content. - Base64Encoder() - Constructor for class org.simpleframework.common.encode.Base64Encoder
- Base64InputStream - Class in org.simpleframework.common.encode
-
The
Base64InputStreamis used to read base64 text in the form of a string through a conventional input stream. - Base64InputStream(String) - Constructor for class org.simpleframework.common.encode.Base64InputStream
-
Constructor for the
Base64InputStreamobject. - Base64OutputStream - Class in org.simpleframework.common.encode
-
The
Base64OutputStreamis used to write base64 text in the form of a string through a conventional output stream. - Base64OutputStream() - Constructor for class org.simpleframework.common.encode.Base64OutputStream
-
Constructor for the
Base64OutputStreamobject. - Base64OutputStream(int) - Constructor for class org.simpleframework.common.encode.Base64OutputStream
-
Constructor for the
Base64OutputStreamobject. - BINARY - Enum constant in enum org.simpleframework.http.socket.FrameType
-
A binary frame identifies a message that contains binary data.
- BinaryData - Class in org.simpleframework.http.socket
-
The
BinaryDataobject represents a binary payload for a WebScoket frame. - BinaryData(byte[]) - Constructor for class org.simpleframework.http.socket.BinaryData
-
Constructor for the
BinaryDataobject. - body - Variable in class org.simpleframework.http.message.EntityConsumer
-
This is used to consume the body for the request entity.
- Body - Interface in org.simpleframework.http.message
-
The
Bodyinterface is used to represent the body of a HTTP entity. - BODY_FINISHED - Enum constant in enum org.simpleframework.http.core.ContainerEvent
-
This indicates that the server has fully read the request body.
- BodyConsumer - Interface in org.simpleframework.http.message
-
The
BodyConsumeris used to consume the body of an HTTP message. - BOUNDARY - Static variable in interface org.simpleframework.http.Protocol
-
Represents the token used to identify a multipart boundary.
- buf - Variable in class org.simpleframework.common.parse.ParseBuffer
-
The
char's this buffer accumulated. - buf - Variable in class org.simpleframework.common.parse.Parser
-
This is the buffer that is being parsed.
- Buffer - Interface in org.simpleframework.common.buffer
-
The
Bufferinterface represents a collection of bytes that can be written to and later read. - BufferAllocator - Class in org.simpleframework.common.buffer
-
The
BufferAllocatorobject is used to provide a means to allocate buffers using a single underlying buffer. - BufferAllocator(Allocator) - Constructor for class org.simpleframework.common.buffer.BufferAllocator
-
Constructor for the
BufferAllocatorobject. - BufferAllocator(Allocator, long) - Constructor for class org.simpleframework.common.buffer.BufferAllocator
-
Constructor for the
BufferAllocatorobject. - BufferAllocator(Allocator, long, long) - Constructor for class org.simpleframework.common.buffer.BufferAllocator
-
Constructor for the
BufferAllocatorobject. - BufferException - Exception Class in org.simpleframework.common.buffer
-
The
BufferExceptionis used to report problems that can occur during the use or allocation of a buffer. - BufferException(String, Object...) - Constructor for exception class org.simpleframework.common.buffer.BufferException
-
Constructor for the
BufferExceptionobject. - ByteConsumer - Interface in org.simpleframework.http.message
-
The
ByteConsumerobject is used to consume and process bytes from a cursor. - ByteCursor - Interface in org.simpleframework.transport
-
The
ByteCursorobject is used to acquire bytes from a given source. - ByteWriter - Interface in org.simpleframework.transport
-
The
ByteWriterobject is used to send data over the TCP transport.
C
- cache - Variable in class org.simpleframework.common.parse.ParseBuffer
-
This is used to quicken
toString. - CACHE_CONTROL - Static variable in interface org.simpleframework.http.Protocol
-
Specifies directives that must be obeyed by all caching mechanisms.
- cancel() - Method in interface org.simpleframework.common.lease.Lease
-
This will cancel the lease and release the resource.
- cancel() - Method in interface org.simpleframework.transport.reactor.Operation
-
This is used to cancel the operation if it has timed out.
- capacity - Variable in class org.simpleframework.common.buffer.FilterAllocator
-
This is the default initial minimum capacity of the buffer.
- Certificate - Interface in org.simpleframework.transport
-
The
Certificateinterface represents the certificate that is sent by a client during a secure HTTPS conversation. - CERTIFICATE_CHALLENGE - Enum constant in enum org.simpleframework.transport.TransportEvent
-
This event occurs when a server challenges for an X509 certificate.
- CertificateChallenge - Interface in org.simpleframework.transport
-
The
CertificateChallengeobject is used to challenge a client for their x509 certificate. - challenge() - Method in interface org.simpleframework.transport.CertificateChallenge
-
This method will challenge the client for their certificate.
- challenge(Runnable) - Method in interface org.simpleframework.transport.CertificateChallenge
-
This method will challenge the client for their certificate.
- Channel - Interface in org.simpleframework.transport
-
The
Channelinterface represents a connected channel through which data can be sent and received. - CHANNEL_CLOSED - Enum constant in enum org.simpleframework.transport.reactor.ReactorEvent
-
This occurs on an attempt to register an closed channel.
- CHARSET - Static variable in interface org.simpleframework.http.Protocol
-
Represents the token used to identify the encoding of a message.
- chunk - Variable in class org.simpleframework.http.message.ArrayConsumer
-
This is the size of the chunk of bytes to read each time.
- CHUNKED - Static variable in interface org.simpleframework.http.Protocol
-
Represents the name of a self delimiting transfer encoding.
- ChunkedConsumer - Class in org.simpleframework.http.message
-
The
ChunkedConsumeris reads an decodes a stream using the chunked transfer coding. - ChunkedConsumer(Allocator) - Constructor for class org.simpleframework.http.message.ChunkedConsumer
-
Constructor for the
ChunkedConsumerobject. - clean(T) - Method in interface org.simpleframework.common.lease.Cleaner
-
This method is used to clean up after a the keyed resource.
- Cleaner<T> - Interface in org.simpleframework.common.lease
-
The
Cleanerrepresents an object that is used to clean up after the keyed resource. - clear() - Method in class org.simpleframework.common.buffer.ArrayBuffer
-
This will clear all data from the buffer.
- clear() - Method in interface org.simpleframework.common.buffer.Buffer
-
This will clear all data from the buffer.
- clear() - Method in class org.simpleframework.common.buffer.BufferAllocator
-
This will clear all data from the buffer.
- clear() - Method in class org.simpleframework.common.parse.MapParser
-
The
clearmethod is used to wipe out all the currently existing tokens from the collection. - clear() - Method in class org.simpleframework.common.parse.ParseBuffer
-
This will empty the
ParseBufferso that thetoStringparameter will returnnull. - clear() - Method in class org.simpleframework.http.parse.ContentDispositionParser
-
This is used to clear all previously collected tokens.
- close() - Method in class org.simpleframework.common.buffer.ArrayBuffer
-
This method is used to ensure the buffer can be closed.
- close() - Method in interface org.simpleframework.common.buffer.Buffer
-
This method is used to ensure the buffer can be closed.
- close() - Method in class org.simpleframework.common.buffer.BufferAllocator
-
This method is used to ensure the buffer can be closed.
- close() - Method in class org.simpleframework.common.encode.Base64OutputStream
-
This is used to close the stream and encode the buffered bytes to base64.
- close() - Method in class org.simpleframework.common.lease.LeaseManager
-
This is used to close the lease provider such that all of the outstanding leases are canceled.
- close() - Method in interface org.simpleframework.common.lease.LeaseProvider
-
This is used to close the lease provider such that all of the outstanding leases are canceled.
- close() - Method in interface org.simpleframework.http.Response
-
This is used to close the connection and commit the request.
- close() - Method in class org.simpleframework.http.ResponseWrapper
-
This is used to close the connection and commit the request.
- close() - Method in interface org.simpleframework.http.socket.FrameChannel
-
This is used to close the connection without a specific reason.
- close() - Method in interface org.simpleframework.transport.ByteWriter
-
This is used to close the sender and the underlying transport.
- close() - Method in interface org.simpleframework.transport.Channel
-
Because the channel represents a duplex means of communication there needs to be a means to close it down.
- close() - Method in class org.simpleframework.transport.connect.SocketConnection
-
This is used to close the connection and the server socket used to accept connections.
- close() - Method in class org.simpleframework.transport.SocketTransport
-
This method is used to flush the internal buffer and close the underlying socket.
- close() - Method in interface org.simpleframework.transport.Transport
-
This is used to close the transport and the underlying socket.
- close() - Method in class org.simpleframework.transport.TransportChannel
-
Because the channel represents a duplex means of communication there needs to be a means to close it down.
- close() - Method in class org.simpleframework.transport.TransportWriter
-
This is used to close the writer and the underlying transport.
- close(Reason) - Method in interface org.simpleframework.http.socket.FrameChannel
-
This is used to close the connection with a specific reason.
- CLOSE - Enum constant in enum org.simpleframework.http.socket.FrameType
-
A close frame identifies a frame used to terminate a connection.
- CLOSE - Enum constant in enum org.simpleframework.transport.TransportEvent
-
This event occurs when the underlying connection is terminated.
- CLOSE - Static variable in interface org.simpleframework.http.Protocol
-
Specifies that the server will terminate the connection.
- CLOSE_SELECTOR - Enum constant in enum org.simpleframework.transport.reactor.ReactorEvent
-
This occurs when the selector has been shutdown globally.
- CloseCode - Enum in org.simpleframework.http.socket
-
The
CloseCodeenumerates the closure codes specified in RFC 6455. - code - Variable in enum org.simpleframework.http.socket.CloseCode
-
This is the actual integer value representing the code.
- code - Variable in enum org.simpleframework.http.socket.FrameType
-
This is the integer value for the opcode.
- code - Variable in enum org.simpleframework.http.Status
-
This is the code for the status that this instance represents.
- commit() - Method in interface org.simpleframework.http.Response
-
This is used to write the headers that where given to the
Response. - commit() - Method in class org.simpleframework.http.ResponseWrapper
-
This is used to write the headers that where given to the
Response. - commit(ByteCursor) - Method in class org.simpleframework.http.message.UpdateConsumer
-
This method can be used to commit the consumer when all data has been consumed.
- ConcurrentExecutor - Class in org.simpleframework.common.thread
-
The
ConcurrentExecutorobject is used to execute tasks in a thread pool. - ConcurrentExecutor(Class) - Constructor for class org.simpleframework.common.thread.ConcurrentExecutor
-
Constructor for the
ConcurrentExecutorobject. - ConcurrentExecutor(Class, int) - Constructor for class org.simpleframework.common.thread.ConcurrentExecutor
-
Constructor for the
ConcurrentExecutorobject. - ConcurrentExecutor(Class, int, int) - Constructor for class org.simpleframework.common.thread.ConcurrentExecutor
-
Constructor for the
ConcurrentExecutorobject. - ConcurrentScheduler - Class in org.simpleframework.common.thread
-
The
ConcurrentSchedulerobject is used to schedule tasks for execution. - ConcurrentScheduler(Class) - Constructor for class org.simpleframework.common.thread.ConcurrentScheduler
-
Constructor for the
ConcurrentSchedulerobject. - ConcurrentScheduler(Class, int) - Constructor for class org.simpleframework.common.thread.ConcurrentScheduler
-
Constructor for the
ConcurrentSchedulerobject. - CONFLICT - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client that there has been a conflict.
- connect(SocketAddress) - Method in interface org.simpleframework.transport.connect.Connection
-
This creates a new background task that will listen to the specified
ServerAddressfor incoming TCP connect requests. - connect(SocketAddress) - Method in class org.simpleframework.transport.connect.SocketConnection
-
This creates a new background task that will listen to the specified
ServerAddressfor incoming TCP connect requests. - connect(SocketAddress, SSLContext) - Method in interface org.simpleframework.transport.connect.Connection
-
This creates a new background task that will listen to the specified
ServerAddressfor incoming TCP connect requests. - connect(SocketAddress, SSLContext) - Method in class org.simpleframework.transport.connect.SocketConnection
-
This creates a new background task that will listen to the specified
ServerAddressfor incoming TCP connect requests. - connect(Session) - Method in interface org.simpleframework.http.socket.service.Service
-
This method connects a new session with a service implementation.
- CONNECT - Static variable in interface org.simpleframework.http.Method
-
For use with a proxy that can dynamically switch to being a tunnel.
- Connection - Interface in org.simpleframework.transport.connect
-
The
Connectionobject is used to manage connections from a server socket. - CONNECTION - Static variable in interface org.simpleframework.http.Protocol
-
Specifies options that are desired for that particular connection.
- ConnectionEvent - Enum in org.simpleframework.transport.connect
-
The
ConnectionEventenum represents various events that can occur with a new connection. - consume(ByteCursor) - Method in class org.simpleframework.http.message.ArrayConsumer
-
This method is used to consume bytes from the provided cursor.
- consume(ByteCursor) - Method in interface org.simpleframework.http.message.ByteConsumer
-
This method is used to consume bytes from the provided cursor.
- consume(ByteCursor) - Method in class org.simpleframework.http.message.EmptyConsumer
-
This method will not consume any bytes from the cursor.
- consume(ByteCursor) - Method in class org.simpleframework.http.message.EntityConsumer
-
This consumes the header and body from the cursor.
- consume(ByteCursor) - Method in class org.simpleframework.http.message.FileUploadConsumer
-
This method is used to consume bytes from the provided cursor.
- consume(ByteCursor) - Method in class org.simpleframework.http.message.UpdateConsumer
-
This method is used to consume bytes from the provided cursor.
- Container - Interface in org.simpleframework.http.core
-
The
Containerobject is used to process HTTP requests and compose HTTP responses. - ContainerEvent - Enum in org.simpleframework.http.core
-
The
ContainerEventenum represents events that occur when processing a HTTP transaction. - ContainerSocketProcessor - Class in org.simpleframework.http.core
-
The
ContainerSocketProcessorobject is a connector that dispatch requests from a connected pipeline. - ContainerSocketProcessor(Container) - Constructor for class org.simpleframework.http.core.ContainerSocketProcessor
-
Constructor for the
ContainerSocketProcessorobject. - ContainerSocketProcessor(Container, int) - Constructor for class org.simpleframework.http.core.ContainerSocketProcessor
-
Constructor for the
ContainerSocketProcessorobject. - ContainerSocketProcessor(Container, int, int) - Constructor for class org.simpleframework.http.core.ContainerSocketProcessor
-
Constructor for the
ContainerSocketProcessorobject. - ContainerSocketProcessor(Container, Allocator) - Constructor for class org.simpleframework.http.core.ContainerSocketProcessor
-
Constructor for the
ContainerSocketProcessorobject. - ContainerSocketProcessor(Container, Allocator, int) - Constructor for class org.simpleframework.http.core.ContainerSocketProcessor
-
Constructor for the
ContainerSocketProcessorobject. - ContainerSocketProcessor(Container, Allocator, int, int) - Constructor for class org.simpleframework.http.core.ContainerSocketProcessor
-
Constructor for the
ContainerSocketProcessorobject. - ContainerTransportProcessor - Class in org.simpleframework.http.core
-
The
ContainerProcessorobject is used to create channels which can be used to consume and process requests. - ContainerTransportProcessor(Container, Allocator, int) - Constructor for class org.simpleframework.http.core.ContainerTransportProcessor
-
Constructor for the
ContainerProcessorobject. - ContainerTransportProcessor(Container, Allocator, int, int) - Constructor for class org.simpleframework.http.core.ContainerTransportProcessor
-
Constructor for the
ContainerProcessorobject. - containsKey(Object) - Method in class org.simpleframework.common.parse.MapParser
-
This is used to determine whether a token representing the name of a pair has been inserted into the internal map.
- containsValue(Object) - Method in class org.simpleframework.common.parse.MapParser
-
This method is used to determine whether any pair that has been inserted into the internal map had the presented value.
- CONTENT_DISPOSITION - Static variable in interface org.simpleframework.http.Protocol
-
Specifies a tag indicating of its desired presentation semantics.
- CONTENT_ENCODING - Static variable in interface org.simpleframework.http.Protocol
-
Indicates additional content codings have been applied to the body.
- CONTENT_LANGUAGE - Static variable in interface org.simpleframework.http.Protocol
-
Describes the languages of the intended audience for the body.
- CONTENT_LENGTH - Static variable in interface org.simpleframework.http.Protocol
-
Indicates the size of the entity body in decimal number of octets.
- CONTENT_LOCATION - Static variable in interface org.simpleframework.http.Protocol
-
Used to supply the resource location for the entity enclosed.
- CONTENT_MD5 - Static variable in interface org.simpleframework.http.Protocol
-
An MD5 digest of the body for the purpose of checking integrity.
- CONTENT_RANGE - Static variable in interface org.simpleframework.http.Protocol
-
Specifies where in the full body a partial body should be applied.
- CONTENT_TYPE - Static variable in interface org.simpleframework.http.Protocol
-
Indicates the media type of the body sent to the recipient.
- ContentDisposition - Interface in org.simpleframework.http
-
The
ContentDispositionobject represents the HTTP Content-Disposition header of a request. - ContentDispositionParser - Class in org.simpleframework.http.parse
-
The
ContentDispositionParserobject is used to represent a parser used to parse the Content-Disposition header. - ContentDispositionParser() - Constructor for class org.simpleframework.http.parse.ContentDispositionParser
-
Constructor for the
ContentDispositionParserobject. - ContentDispositionParser(String) - Constructor for class org.simpleframework.http.parse.ContentDispositionParser
-
Constructor for the
ContentDispositionParserobject. - ContentType - Interface in org.simpleframework.http
-
This provides access to the MIME type parts, that is the primary type, the secondary type and an optional character set parameter.
- ContentTypeParser - Class in org.simpleframework.http.parse
-
This provides access to the MIME type parts, that is the primary type, the secondary type and an optional character set parameter.
- ContentTypeParser() - Constructor for class org.simpleframework.http.parse.ContentTypeParser
-
The default constructor will create a
ContentParserthat contains no charset, primary or secondary. - ContentTypeParser(String) - Constructor for class org.simpleframework.http.parse.ContentTypeParser
-
This is primarily a convenience constructor.
- CONTINUATION - Enum constant in enum org.simpleframework.http.socket.FrameType
-
A continuation frame identifies a fragment from a larger message.
- CONTINUE - Enum constant in enum org.simpleframework.http.Status
-
This is used as an intermediate response to a request.
- Conversation - Class in org.simpleframework.http.core
-
The
Conversationobject is used to set and interpret the semantics of the HTTP headers with regard to the encoding used for the response. - Conversation(RequestHeader, ResponseHeader) - Constructor for class org.simpleframework.http.core.Conversation
-
Constructor for the
Conversationobject. - convert(byte[]) - Method in class org.simpleframework.http.socket.DataConverter
-
This method is used to convert data using the character encoding specified when constructing the converter.
- convert(byte[], int, int) - Method in class org.simpleframework.http.socket.DataConverter
-
This method is used to convert data using the character encoding specified when constructing the converter.
- convert(long) - Method in class org.simpleframework.http.parse.DateParser
-
Convenience method used to convert the specified long date in to a HTTP date format.
- convert(String) - Method in class org.simpleframework.http.parse.DateParser
-
Convenience method used to convert the specified HTTP date in to a long representing the time.
- convert(String) - Method in class org.simpleframework.http.socket.DataConverter
-
This method is used to convert text using the character encoding specified when constructing the converter.
- cookie(String) - Method in class org.simpleframework.http.message.SegmentConsumer
-
This will accept any cookie header and parse it such that all cookies within it are converted to
Cookieobjects and made available as typed objects. - Cookie - Class in org.simpleframework.http
-
This class is used to represent a generic cookie.
- Cookie(String, String) - Constructor for class org.simpleframework.http.Cookie
-
Constructor of the
Cookiethat uses a default version of 1, which is used by RFC 2109. - Cookie(String, String, boolean) - Constructor for class org.simpleframework.http.Cookie
-
Constructor of the
Cookiethat uses a default version of 1, which is used by RFC 2109. - Cookie(String, String, String) - Constructor for class org.simpleframework.http.Cookie
-
Constructor of the
Cookiethat uses a default version of 1, which is used by RFC 2109. - Cookie(String, String, String, boolean) - Constructor for class org.simpleframework.http.Cookie
-
Constructor of the
Cookiethat uses a default version of 1, which is used by RFC 2109. - COOKIE - Static variable in interface org.simpleframework.http.Protocol
-
Represents a cookie that contains some information from the client.
- CookieParser - Class in org.simpleframework.http.parse
-
CookieParser is used to parse the cookie header.
- CookieParser() - Constructor for class org.simpleframework.http.parse.CookieParser
-
Create a
CookieParserthat contains no cookies. the instance will returnfalsefor thehasNextmethod. cookies may be parsed using this instance by using theparsemethod. - CookieParser(String) - Constructor for class org.simpleframework.http.parse.CookieParser
-
This is primarily a convineance constructor.
- cookies - Variable in class org.simpleframework.http.message.SegmentConsumer
-
This is used to parse the cookie headers that are consumed.
- count - Variable in class org.simpleframework.common.parse.ParseBuffer
-
This is the number of
char's stored. - count - Variable in class org.simpleframework.common.parse.Parser
-
This represents the length of the buffer.
- count - Variable in class org.simpleframework.http.message.ArrayConsumer
-
This is the number of bytes that have been consumed so far.
- create(char[], int, int) - Method in class org.simpleframework.http.parse.LanguageParser
-
This creates a locale object using an offset and a length.
- create(char[], int, int) - Method in class org.simpleframework.http.parse.ListParser
-
This creates an value object using the range of characters that have been parsed as an item within the list of values.
- create(char[], int, int) - Method in class org.simpleframework.http.parse.ValueParser
-
This creates a string object using an offset and a length.
- CREATED - Enum constant in enum org.simpleframework.http.Status
-
This is used to signify that a resource was created successfully.
D
- Daemon - Class in org.simpleframework.common.thread
-
The
Daemonobject provides a named thread which will execute therunmethod when started. - Daemon() - Constructor for class org.simpleframework.common.thread.Daemon
-
Constructor for the
Daemonobject. - DaemonFactory - Class in org.simpleframework.common.thread
-
The
DaemonFactoryobject is used to build threads and prefix the thread with a type name. - DaemonFactory() - Constructor for class org.simpleframework.common.thread.DaemonFactory
-
Constructor for the
DaemonFactoryobject. - DaemonFactory(Class) - Constructor for class org.simpleframework.common.thread.DaemonFactory
-
Constructor for the
DaemonFactoryobject. - Data - Interface in org.simpleframework.http.socket
-
The
Datainterface represents a payload for a WebScoket frame. - DataConverter - Class in org.simpleframework.http.socket
-
The
DataConverterobject is used to convert binary data to text data and vice versa. - DataConverter() - Constructor for class org.simpleframework.http.socket.DataConverter
-
Constructor for the
DataConverterobject. - DataConverter(String) - Constructor for class org.simpleframework.http.socket.DataConverter
-
Constructor for the
DataConverterobject. - DataFrame - Class in org.simpleframework.http.socket
-
The
DataFrameobject represents a frame as defined in RFC 6455. - DataFrame(FrameType) - Constructor for class org.simpleframework.http.socket.DataFrame
-
Constructor for the
DataFrameobject. - DataFrame(FrameType, byte[]) - Constructor for class org.simpleframework.http.socket.DataFrame
-
Constructor for the
DataFrameobject. - DataFrame(FrameType, byte[], boolean) - Constructor for class org.simpleframework.http.socket.DataFrame
-
Constructor for the
DataFrameobject. - DataFrame(FrameType, String) - Constructor for class org.simpleframework.http.socket.DataFrame
-
Constructor for the
DataFrameobject. - DataFrame(FrameType, String, boolean) - Constructor for class org.simpleframework.http.socket.DataFrame
-
Constructor for the
DataFrameobject. - DataFrame(FrameType, Data) - Constructor for class org.simpleframework.http.socket.DataFrame
-
Constructor for the
DataFrameobject. - DataFrame(FrameType, Data, boolean) - Constructor for class org.simpleframework.http.socket.DataFrame
-
Constructor for the
DataFrameobject. - DATE - Static variable in interface org.simpleframework.http.Protocol
-
Represents the date and time at which the message was originated.
- DateParser - Class in org.simpleframework.http.parse
-
This is used to create a
Parserfor the HTTP date format. - DateParser() - Constructor for class org.simpleframework.http.parse.DateParser
-
The default constructor will create a parser that can parse
Strings that contain dates in the form of RFC 1123, RFC 850 or asctime. - DateParser(long) - Constructor for class org.simpleframework.http.parse.DateParser
-
This constructor will conveniently parse the
longargument in the constructor. - DateParser(String) - Constructor for class org.simpleframework.http.parse.DateParser
-
This constructor will conveniently parse the
Stringargument in the constructor. - decode(char[]) - Static method in class org.simpleframework.common.encode.Base64Encoder
-
This is used to decode the provide base64 data back in to an array of binary data.
- decode(char[], int, int) - Static method in class org.simpleframework.common.encode.Base64Encoder
-
This is used to decode the provide base64 data back in to an array of binary data.
- DELETE - Static variable in interface org.simpleframework.http.Method
-
Requests that the origin server delete the resource identified.
- description - Variable in enum org.simpleframework.http.Status
-
This is the description of the status this instance represents.
- digit(byte) - Method in class org.simpleframework.http.message.RequestConsumer
-
This is used to determine if a given ISO-8859-1 byte is a digit character, between an ISO-8859-1 0 and 9.
- digit(char) - Method in class org.simpleframework.common.parse.Parser
-
This is used to determine weather or not a given character is a digit character.
- DirectRouter - Class in org.simpleframework.http.socket.service
-
The
DirectRouterobject is used to create a router that uses a single service. - DirectRouter(Service) - Constructor for class org.simpleframework.http.socket.service.DirectRouter
-
Constructor for the
DirectRouterobject. - DirectRouter(Service, String) - Constructor for class org.simpleframework.http.socket.service.DirectRouter
-
Constructor for the
DirectRouterobject. - DISPATCH_CONTINUE - Enum constant in enum org.simpleframework.http.core.ContainerEvent
-
This event indicates that the server sent a HTTP continue reply.
- DISPATCH_FINISHED - Enum constant in enum org.simpleframework.http.core.ContainerEvent
-
This indicates that the dispatch thread has completed the dispatch.
- DISPATCH_REQUEST - Enum constant in enum org.simpleframework.http.core.ContainerEvent
-
This indicates that the request has been dispatched for processing.
- DISPATCH_SOCKET - Enum constant in enum org.simpleframework.http.socket.service.ServiceEvent
-
This event is dispatched when a WebSocket is dispatched.
- dispatcher - Variable in class org.simpleframework.http.message.EntityConsumer
-
This is used to determine if there a continue is expected.
- disposition - Variable in class org.simpleframework.http.message.SegmentConsumer
-
This is used to represent the content disposition header.
- disposition(String) - Method in class org.simpleframework.http.message.SegmentConsumer
-
This is used to parse the content disposition header header so that the MIME type is available to the segment.
- done - Variable in class org.simpleframework.http.message.ArrayConsumer
-
This determines whether the terminal token has been read.
E
- EmptyConsumer - Class in org.simpleframework.http.message
-
The
EmptyConsumerobject is used to represent a body of zero length. - EmptyConsumer() - Constructor for class org.simpleframework.http.message.EmptyConsumer
- encode() - Method in class org.simpleframework.common.buffer.ArrayBuffer
-
This method is used to acquire the buffered bytes as a string.
- encode() - Method in interface org.simpleframework.common.buffer.Buffer
-
This method is used to acquire the buffered bytes as a string.
- encode() - Method in class org.simpleframework.common.buffer.BufferAllocator
-
This method is used to acquire the buffered bytes as a string.
- encode(byte[]) - Static method in class org.simpleframework.common.encode.Base64Encoder
-
This method is used to encode the specified byte array of binary data in to base64 data.
- encode(byte[], int, int) - Static method in class org.simpleframework.common.encode.Base64Encoder
-
This method is used to encode the specified byte array of binary data in to base64 data.
- encode(String) - Method in class org.simpleframework.common.buffer.ArrayBuffer
-
This method is used to acquire the buffered bytes as a string.
- encode(String) - Method in interface org.simpleframework.common.buffer.Buffer
-
This method is used to acquire the buffered bytes as a string.
- encode(String) - Method in class org.simpleframework.common.buffer.BufferAllocator
-
This method is used to acquire the buffered bytes as a string.
- encoding - Variable in class org.simpleframework.http.message.SegmentConsumer
-
This represents the transfer encoding value of the body.
- encoding(String) - Method in class org.simpleframework.http.message.SegmentConsumer
-
This is used to store the transfer encoding header value.
- end() - Method in class org.simpleframework.http.message.SegmentConsumer
-
This will update the offset variable so that the next read will be a non whitespace character or terminal character.
- ensureCapacity(int) - Method in class org.simpleframework.common.parse.ParseBuffer
-
This ensure that there is enough space in the buffer to allow for more
char's to be added. - ensureCapacity(int) - Method in class org.simpleframework.common.parse.Parser
-
This ensure that there is enough space in the buffer to allow for more
char's to be added. - Entity - Interface in org.simpleframework.http.message
-
The
Entityobject is used to represent the HTTP entity received from the client. - EntityConsumer - Class in org.simpleframework.http.message
-
The
EntityConsumerobject is used to consume data from a cursor and build a request entity. - EntityConsumer(Allocator, Channel) - Constructor for class org.simpleframework.http.message.EntityConsumer
-
Constructor for the
EntityConsumerobject. - entrySet() - Method in class org.simpleframework.common.parse.MapParser
-
This method is used to acquire the name and value pairs that have currently been collected by this parser.
- equal(String, String) - Method in class org.simpleframework.http.message.SegmentConsumer
-
This is used to determine if two header names are equal, this is done to ensure that the case insensitivity of HTTP header names is observed.
- ERROR - Enum constant in enum org.simpleframework.http.core.ContainerEvent
-
This indicates that there was some error event with the request.
- ERROR - Enum constant in enum org.simpleframework.http.socket.service.ServiceEvent
-
This event is dispatched when an error occurs with a WebSocket.
- ERROR - Enum constant in enum org.simpleframework.transport.connect.ConnectionEvent
-
This event occurs when there is an error with the connection.
- ERROR - Enum constant in enum org.simpleframework.transport.reactor.ReactorEvent
-
This occurs if there is an error with the selection.
- ERROR - Enum constant in enum org.simpleframework.transport.TransportEvent
-
This event occurs when there is an error with the transport.
- ETAG - Static variable in interface org.simpleframework.http.Protocol
-
Provides the value of the entity tag for the requested variant.
- execute(Runnable) - Method in class org.simpleframework.common.thread.ConcurrentExecutor
-
The
executemethod is used to queue the task for execution. - execute(Runnable) - Method in class org.simpleframework.common.thread.ConcurrentScheduler
-
This will execute the task within the executor immediately as it uses a delay duration of zero milliseconds.
- execute(Runnable) - Method in class org.simpleframework.common.thread.SynchronousExecutor
-
This will execute the provided
Runnablewithin the current thread. - execute(Runnable, long) - Method in class org.simpleframework.common.thread.ConcurrentScheduler
-
This will execute the task within the executor after the time specified has expired.
- execute(Runnable, long) - Method in interface org.simpleframework.common.thread.Scheduler
-
This will execute the task within the executor after the time specified has expired.
- execute(Runnable, long, TimeUnit) - Method in class org.simpleframework.common.thread.ConcurrentScheduler
-
This will execute the task within the executor after the time specified has expired.
- execute(Runnable, long, TimeUnit) - Method in interface org.simpleframework.common.thread.Scheduler
-
This will execute the task within the executor after the time specified has expired.
- EXECUTE_ACTION - Enum constant in enum org.simpleframework.transport.reactor.ReactorEvent
-
This is the final action of executing the action.
- ExecutorReactor - Class in org.simpleframework.transport.reactor
-
The
ExecutorReactoris used to schedule operation for execution using anExecutorimplementation. - ExecutorReactor(Executor) - Constructor for class org.simpleframework.transport.reactor.ExecutorReactor
-
Constructor for the
ExecutorReactorobject. - ExecutorReactor(Executor, int) - Constructor for class org.simpleframework.transport.reactor.ExecutorReactor
-
Constructor for the
ExecutorReactorobject. - ExecutorReactor(Executor, int, long) - Constructor for class org.simpleframework.transport.reactor.ExecutorReactor
-
Constructor for the
ExecutorReactorobject. - expect - Variable in class org.simpleframework.http.message.SegmentConsumer
-
This is used to determine if there is a continue expected.
- expect(String) - Method in class org.simpleframework.http.message.SegmentConsumer
-
This is used to determine if the expect continue header is present and thus there is a requirement to send the continue status before the client sends the request body.
- EXPECT - Static variable in interface org.simpleframework.http.Protocol
-
Indicate that particular server behaviors are required by the client.
- EXPECTATION_FAILED - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client that the expectation has failed.
- EXPIRES - Static variable in interface org.simpleframework.http.Protocol
-
Gives the time after which the response is considered stale.
F
- factory - Variable in class org.simpleframework.http.message.EntityConsumer
-
This is used to create a body consumer for the entity.
- FileAllocator - Class in org.simpleframework.common.buffer
-
The
FileAllocatorobject is used to create buffers that can be written to the file system. - FileAllocator() - Constructor for class org.simpleframework.common.buffer.FileAllocator
-
Constructor for the
FileAllocatorobject. - FileAllocator(int) - Constructor for class org.simpleframework.common.buffer.FileAllocator
-
Constructor for the
FileAllocatorobject. - FileAllocator(String) - Constructor for class org.simpleframework.common.buffer.FileAllocator
-
Constructor for the
FileAllocatorobject. - FileAllocator(String, int) - Constructor for class org.simpleframework.common.buffer.FileAllocator
-
Constructor for the
FileAllocatorobject. - FileUploadConsumer - Class in org.simpleframework.http.message
-
The
FileUploadConsumerobject is used to consume a list of parts encoded in the multipart format. - FileUploadConsumer(Allocator, byte[], long) - Constructor for class org.simpleframework.http.message.FileUploadConsumer
-
Constructor for the
FileUploadConsumerobject. - FilterAllocator - Class in org.simpleframework.common.buffer
-
The
FilterAllocatorobject is used to provide a means to provide a general set of constraints around buffer allocation. - FilterAllocator(Allocator) - Constructor for class org.simpleframework.common.buffer.FilterAllocator
-
Constructor for the
FilterAllocatorobject. - FilterAllocator(Allocator, long) - Constructor for class org.simpleframework.common.buffer.FilterAllocator
-
Constructor for the
FilterAllocatorobject. - FilterAllocator(Allocator, long, long) - Constructor for class org.simpleframework.common.buffer.FilterAllocator
-
Constructor for the
FilterAllocatorobject. - finished - Variable in class org.simpleframework.http.message.UpdateConsumer
-
This is used to determine whether the consumer has finished.
- FixedLengthConsumer - Class in org.simpleframework.http.message
-
The
FixedLengthConsumerobject reads a fixed number of bytes from a cursor. - FixedLengthConsumer(Allocator, long) - Constructor for class org.simpleframework.http.message.FixedLengthConsumer
-
Constructor for the
FixedLengthConsumerobject. - flush() - Method in interface org.simpleframework.transport.ByteWriter
-
This method is used to flush the contents of the buffer to the client.
- flush() - Method in class org.simpleframework.transport.SocketTransport
-
This is used to flush the internal buffer to the underlying socket.
- flush() - Method in interface org.simpleframework.transport.Transport
-
This method is used to flush the contents of the buffer to the client.
- flush() - Method in class org.simpleframework.transport.TransportWriter
-
This method is used to flush the contents of the buffer to the client.
- FORBIDDEN - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client that the resource is forbidden.
- FOUND - Enum constant in enum org.simpleframework.http.Status
-
This is used to represent a resource that has been found.
- Frame - Interface in org.simpleframework.http.socket
-
The
Frameinterface represents a frame as defined in RFC 6455. - FrameChannel - Interface in org.simpleframework.http.socket
-
The
FrameChannelrepresents a full duplex communication channel as defined by RFC 6455. - FrameListener - Interface in org.simpleframework.http.socket
-
The
FrameListeneris used to listen for incoming frames on aWebSocket. - FrameType - Enum in org.simpleframework.http.socket
-
The
FrameTyperepresents the set of opcodes defined in RFC 6455. - FROM - Static variable in interface org.simpleframework.http.Protocol
-
Address for the human user who controls the requesting user agent.
G
- GATEWAY_TIMEOUT - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client there was a gateway timeout.
- get(Object) - Method in class org.simpleframework.common.lease.LeaseMap
-
This is used to acquire the
Leaseobject that is mapped to the specified key. - get(Object) - Method in class org.simpleframework.common.parse.MapParser
-
The
getmethod is used to acquire the value for a named pair. - GET - Static variable in interface org.simpleframework.http.Method
-
Retrieve whatever information is identified by the request.
- getAddress() - Method in interface org.simpleframework.http.message.Header
-
This is used to acquire the address from the request line.
- getAddress() - Method in class org.simpleframework.http.message.RequestConsumer
-
This is used to acquire the address from the request line.
- getAddress() - Method in interface org.simpleframework.http.RequestLine
-
This is used to acquire the address from the request line.
- getAddress() - Method in class org.simpleframework.http.RequestWrapper
-
This is used to acquire the address from the request line.
- getAll(Object) - Method in class org.simpleframework.common.parse.MapParser
-
This method is used to acquire a
Listfor all of the values that have been put in to the map. - getAll(Object) - Method in interface org.simpleframework.http.Query
-
This method is used to acquire a
Listfor all of the parameter values associated with the specified name. - getAll(String) - Method in interface org.simpleframework.http.message.Message
-
This is used to acquire all the individual header values from the message.
- getAll(String) - Method in class org.simpleframework.http.message.MessageHeader
-
This is used to acquire all the individual header values from the message.
- getAttribute(Object) - Method in interface org.simpleframework.http.Request
-
This is used as a shortcut for acquiring attributes for the response.
- getAttribute(Object) - Method in class org.simpleframework.http.RequestWrapper
-
This is used as a shortcut for acquiring attributes for the response.
- getAttribute(Object) - Method in interface org.simpleframework.http.socket.Session
-
This is used as a shortcut for acquiring attributes for the response.
- getAttributes() - Method in interface org.simpleframework.http.Request
-
This can be used to retrieve the response attributes.
- getAttributes() - Method in class org.simpleframework.http.RequestWrapper
-
This can be used to retrieve the response attributes.
- getAttributes() - Method in interface org.simpleframework.http.socket.Session
-
This can be used to retrieve the response attributes.
- getAttributes() - Method in interface org.simpleframework.transport.Channel
-
This returns the
Mapof attributes used to hold connection information for the channel. - getAttributes() - Method in interface org.simpleframework.transport.Socket
-
This method is used to get the
Mapof attributes for this socket. - getAttributes() - Method in class org.simpleframework.transport.SocketTransport
-
This method is used to get the
Mapof attributes by this pipeline. - getAttributes() - Method in class org.simpleframework.transport.SocketWrapper
-
This method is used to get the
Mapof attributes by this socket. - getAttributes() - Method in class org.simpleframework.transport.TransportChannel
-
This returns the
Mapof attributes used to hold connection information for the channel. - getBinary() - Method in class org.simpleframework.http.socket.BinaryData
-
This returns the binary payload that is to be sent with a frame.
- getBinary() - Method in interface org.simpleframework.http.socket.Data
-
This returns the binary payload that is to be sent with a frame.
- getBinary() - Method in class org.simpleframework.http.socket.DataFrame
-
This returns the binary payload that is to be sent with the frame.
- getBinary() - Method in interface org.simpleframework.http.socket.Frame
-
This returns the binary payload that is to be sent with the frame.
- getBinary() - Method in class org.simpleframework.http.socket.TextData
-
This returns the binary payload that is to be sent with a frame.
- getBody() - Method in interface org.simpleframework.http.message.BodyConsumer
-
This is used to acquire the body that has been consumed.
- getBody() - Method in class org.simpleframework.http.message.ChunkedConsumer
-
This is used to acquire the body that has been consumed.
- getBody() - Method in class org.simpleframework.http.message.EmptyConsumer
-
This is used to acquire the body that has been consumed.
- getBody() - Method in interface org.simpleframework.http.message.Entity
-
This is used to acquire the body for this HTTP entity.
- getBody() - Method in class org.simpleframework.http.message.EntityConsumer
-
This is used to acquire the body for this HTTP entity.
- getBody() - Method in class org.simpleframework.http.message.FileUploadConsumer
-
This is used to acquire the body that has been consumed.
- getBody() - Method in class org.simpleframework.http.message.FixedLengthConsumer
-
This is used to acquire the body that has been consumed.
- getBoolean(Object) - Method in class org.simpleframework.http.parse.QueryParser
-
This extracts a boolean parameter for the named value.
- getBoolean(Object) - Method in interface org.simpleframework.http.Query
-
This extracts a boolean parameter for the named value.
- getByteChannel() - Method in interface org.simpleframework.http.Request
-
This is used to read the content body.
- getByteChannel() - Method in class org.simpleframework.http.RequestWrapper
-
This is used to read the content body.
- getByteChannel() - Method in interface org.simpleframework.http.Response
-
Used to write a message body with the
Response. - getByteChannel() - Method in class org.simpleframework.http.ResponseWrapper
-
Used to write a message body with the
Response. - getByteChannel(int) - Method in interface org.simpleframework.http.Response
-
Used to write a message body with the
Response. - getByteChannel(int) - Method in class org.simpleframework.http.ResponseWrapper
-
Used to write a message body with the
Response. - getCertificate() - Method in interface org.simpleframework.transport.Channel
-
This is used to acquire the SSL certificate used for security.
- getCertificate() - Method in class org.simpleframework.transport.SocketTransport
-
This is used to acquire the SSL certificate used when the server is using a HTTPS connection.
- getCertificate() - Method in interface org.simpleframework.transport.Transport
-
This is used to acquire the SSL certificate used when the server is using a HTTPS connection.
- getCertificate() - Method in class org.simpleframework.transport.TransportChannel
-
This is used to acquire the SSL certificate used for security.
- getChain() - Method in interface org.simpleframework.transport.Certificate
-
This will return the X509 certificate chain, if any, that has been sent by the client.
- getChallenge() - Method in interface org.simpleframework.transport.Certificate
-
This returns a challenge for the certificate.
- getChannel() - Method in interface org.simpleframework.http.message.Entity
-
This provides the connected channel for the client.
- getChannel() - Method in interface org.simpleframework.http.Request
-
This provides the underlying channel for the request.
- getChannel() - Method in class org.simpleframework.http.RequestWrapper
-
This provides the underlying channel for the request.
- getChannel() - Method in interface org.simpleframework.http.socket.Session
-
Provides a
FrameChannelthat can be used to communicate with the connected client. - getChannel() - Method in interface org.simpleframework.transport.reactor.Operation
-
This is the
SelectableChannelwhich is used to determine if the operation should be executed. - getChannel() - Method in interface org.simpleframework.transport.Socket
-
This method is used to acquire the
SocketChannelfor the connection. - getChannel() - Method in class org.simpleframework.transport.SocketTransport
-
This method is used to acquire the
SocketChannelfor the connection. - getChannel() - Method in class org.simpleframework.transport.SocketWrapper
-
This method is used to acquire the
SocketChannelfor the connection. - getCharset() - Method in interface org.simpleframework.http.ContentType
-
This is used to retrieve the
charsetof this MIME type. - getCharset() - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This is used to retrieve the
charsetof this MIME type. - getClientAddress() - Method in interface org.simpleframework.http.Request
-
This is used to acquire the remote client address.
- getClientAddress() - Method in class org.simpleframework.http.RequestWrapper
-
This is used to acquire the remote client address.
- getClientCertificate() - Method in interface org.simpleframework.http.Request
-
This is used to acquire the SSL certificate used when the server is using a HTTPS connection.
- getClientCertificate() - Method in class org.simpleframework.http.RequestWrapper
-
This is used to acquire the SSL certificate used when the server is using a HTTPS connection.
- getCode() - Method in class org.simpleframework.http.ResponseWrapper
-
This represents the status code of the HTTP response.
- getCode() - Method in class org.simpleframework.http.socket.Reason
-
This is used to get the RFC 6455 code describing the type of close event.
- getCode() - Method in enum org.simpleframework.http.Status
-
This is used to acquire the code of the status object.
- getCode() - Method in interface org.simpleframework.http.StatusLine
-
This represents the status code of the HTTP response.
- getContent() - Method in interface org.simpleframework.http.message.Body
-
This will acquire the contents of the body in UTF-8.
- getContent() - Method in interface org.simpleframework.http.Part
-
This is used to acquire the content of the part as a string.
- getContent() - Method in interface org.simpleframework.http.Request
-
This is used to get the content body.
- getContent() - Method in class org.simpleframework.http.RequestWrapper
-
This is used to get the content body.
- getContent(String) - Method in interface org.simpleframework.http.message.Body
-
This will acquire the contents of the body in the specified charset.
- getContentLength() - Method in class org.simpleframework.http.core.Conversation
-
This is used to acquire the content length for the response.
- getContentLength() - Method in interface org.simpleframework.http.message.Segment
-
This is a convenience method that can be used to determine the length of the message body.
- getContentLength() - Method in class org.simpleframework.http.message.SegmentConsumer
-
This is a convenience method that can be used to determine the length of the message body.
- getContentLength() - Method in interface org.simpleframework.http.RequestHeader
-
This is a convenience method that can be used to determine the length of the message body.
- getContentLength() - Method in class org.simpleframework.http.RequestWrapper
-
This is a convenience method that can be used to determine the length of the message body.
- getContentLength() - Method in interface org.simpleframework.http.ResponseHeader
-
This is a convenience method that can be used to determine the length of the message body.
- getContentLength() - Method in class org.simpleframework.http.ResponseWrapper
-
This is a convenience method that can be used to determine the length of the message body.
- getContentType() - Method in interface org.simpleframework.http.message.Segment
-
This is a convenience method that can be used to determine the content type of the message body.
- getContentType() - Method in class org.simpleframework.http.message.SegmentConsumer
-
This is a convenience method that can be used to determine the content type of the message body.
- getContentType() - Method in interface org.simpleframework.http.Part
-
This is used to acquire the content type for this part.
- getContentType() - Method in interface org.simpleframework.http.RequestHeader
-
This is a convenience method that can be used to determine the content type of the message body.
- getContentType() - Method in class org.simpleframework.http.RequestWrapper
-
This is a convenience method that can be used to determine the content type of the message body.
- getContentType() - Method in interface org.simpleframework.http.ResponseHeader
-
This is a convenience method that can be used to determine the content type of the message body.
- getContentType() - Method in class org.simpleframework.http.ResponseWrapper
-
This is a convenience method that can be used to determine the content type of the message body.
- getCookie(String) - Method in interface org.simpleframework.http.message.Header
-
This is used to acquire a cookie usiing the name of that cookie.
- getCookie(String) - Method in class org.simpleframework.http.message.HeaderConsumer
-
This is used to acquire a cookie using the name of that cookie.
- getCookie(String) - Method in interface org.simpleframework.http.message.Message
-
This returns the
Cookieobject stored under the specified name. - getCookie(String) - Method in class org.simpleframework.http.message.MessageHeader
-
This returns the
Cookieobject stored under the specified name. - getCookie(String) - Method in interface org.simpleframework.http.RequestHeader
-
This is used to acquire a cookie using the name of that cookie.
- getCookie(String) - Method in class org.simpleframework.http.RequestWrapper
-
This is used to acquire a cookie usiing the name of that cookie.
- getCookie(String) - Method in interface org.simpleframework.http.ResponseHeader
-
This returns the
Cookieobject stored under the specified name. - getCookie(String) - Method in class org.simpleframework.http.ResponseWrapper
-
This returns the
Cookieobject stored under the specified name. - getCookies() - Method in interface org.simpleframework.http.message.Header
-
This is used to acquire all cookies that were sent in the header.
- getCookies() - Method in class org.simpleframework.http.message.HeaderConsumer
-
This is used to acquire all cookies that were sent in the header.
- getCookies() - Method in interface org.simpleframework.http.message.Message
-
This returns all
Cookieobjects stored under the specified name. - getCookies() - Method in class org.simpleframework.http.message.MessageHeader
-
This returns all
Cookieobjects stored under the specified name. - getCookies() - Method in interface org.simpleframework.http.RequestHeader
-
This is used to acquire all cookies that were sent in the header.
- getCookies() - Method in class org.simpleframework.http.RequestWrapper
-
This is used to acquire all cookies that were sent in the header.
- getCookies() - Method in interface org.simpleframework.http.ResponseHeader
-
This returns all
Cookieobjects stored under the specified name. - getCookies() - Method in class org.simpleframework.http.ResponseWrapper
-
This returns all
Cookieobjects stored under the specified name. - getCursor() - Method in interface org.simpleframework.transport.Channel
-
This provides a
ByteCursorfor this channel. - getCursor() - Method in class org.simpleframework.transport.TransportChannel
-
This provides a
ByteCursorfor this channel. - getData() - Method in enum org.simpleframework.http.socket.CloseCode
-
This is the data that represents the closure code.
- getDate(String) - Method in interface org.simpleframework.http.message.Header
-
This can be used to get the date of the first message header that has the specified name.
- getDate(String) - Method in class org.simpleframework.http.message.HeaderConsumer
-
This can be used to get the date of the first message header that has the specified name.
- getDate(String) - Method in interface org.simpleframework.http.message.Message
-
This can be used to get the value of the first message header that has the specified name.
- getDate(String) - Method in class org.simpleframework.http.message.MessageHeader
-
This can be used to get the value of the first message header that has the specified name.
- getDate(String) - Method in class org.simpleframework.http.message.RequestConsumer
-
This can be used to get the date of the first message header that has the specified name.
- getDate(String) - Method in interface org.simpleframework.http.RequestHeader
-
This can be used to get the date of the first message header that has the specified name.
- getDate(String) - Method in class org.simpleframework.http.RequestWrapper
-
This can be used to get the date of the first message header that has the specified name.
- getDate(String) - Method in interface org.simpleframework.http.ResponseHeader
-
This can be used to get the value of the first message header that has the specified name.
- getDate(String) - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to get the value of the first message header that has the specified name.
- getDescription() - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to retrieve the text of a HTTP status line.
- getDescription() - Method in enum org.simpleframework.http.Status
-
This is used to provide the status description.
- getDescription() - Method in interface org.simpleframework.http.StatusLine
-
This can be used to retrieve the text of a HTTP status line.
- getDescription(int) - Static method in enum org.simpleframework.http.Status
-
This is used to provide the status description.
- getDirectory() - Method in class org.simpleframework.http.parse.PathParser
-
This will return the highest directory that exists within the path.
- getDirectory() - Method in interface org.simpleframework.http.Path
-
This will return the highest directory that exists within the path.
- getDisposition() - Method in interface org.simpleframework.http.message.Segment
-
This is a convenience method that can be used to determine the content type of the message body.
- getDisposition() - Method in class org.simpleframework.http.message.SegmentConsumer
-
This is a convenience method that can be used to determine the content type of the message body.
- getDomain() - Method in interface org.simpleframework.http.Address
-
This is used to retrieve the domain of this URI.
- getDomain() - Method in class org.simpleframework.http.Cookie
-
This returns the domain for this cookie.
- getDomain() - Method in class org.simpleframework.http.parse.AddressParser
-
This is used to retrieve the domain of this URI.
- getEngine() - Method in interface org.simpleframework.transport.Socket
-
This is used to acquire the SSL engine used for security.
- getEngine() - Method in class org.simpleframework.transport.SocketTransport
-
This is used to acquire the SSL engine used for https.
- getEngine() - Method in class org.simpleframework.transport.SocketWrapper
-
This is used to acquire the SSL engine used for HTTPS.
- getExpiry() - Method in class org.simpleframework.http.Cookie
-
This returns the number of seconds a cookie lives for.
- getExpiry(TimeUnit) - Method in interface org.simpleframework.common.lease.Lease
-
Determines the duration remaining before the lease expires.
- getExtension() - Method in class org.simpleframework.http.parse.PathParser
-
This will return the extension that the file name contains.
- getExtension() - Method in interface org.simpleframework.http.Path
-
This will return the extension that the file name contains.
- getFileName() - Method in interface org.simpleframework.http.ContentDisposition
-
This method is used to acquire the file name of the part.
- getFileName() - Method in interface org.simpleframework.http.message.Segment
-
This method is used to acquire the file name of the part.
- getFileName() - Method in class org.simpleframework.http.message.SegmentConsumer
-
This method is used to acquire the file name of the part.
- getFileName() - Method in class org.simpleframework.http.parse.ContentDispositionParser
-
This method is used to acquire the file name of the part.
- getFileName() - Method in interface org.simpleframework.http.Part
-
This method is used to acquire the file name of the part.
- getFloat(Object) - Method in class org.simpleframework.http.parse.QueryParser
-
This extracts a float parameter for the named value.
- getFloat(Object) - Method in interface org.simpleframework.http.Query
-
This extracts a float parameter for the named value.
- getFrame(FrameType) - Method in class org.simpleframework.http.socket.DataFrame
-
This method is used to convert from one frame type to another.
- getFrame(FrameType) - Method in interface org.simpleframework.http.socket.Frame
-
This method is used to convert from one frame type to another.
- getHeader() - Method in interface org.simpleframework.http.message.Entity
-
This provides the HTTP request header for the entity.
- getHeader() - Method in class org.simpleframework.http.message.EntityConsumer
-
This provides the HTTP request header for the entity.
- getHeader() - Method in interface org.simpleframework.http.message.Header
-
This method returns a
CharSequenceholding the data consumed for the request. - getHeader() - Method in class org.simpleframework.http.message.RequestConsumer
-
This method returns a
CharSequenceholding the data consumed for the request. - getHeader() - Method in interface org.simpleframework.http.RequestHeader
-
This method returns a
CharSequenceholding the header consumed for the request. - getHeader() - Method in class org.simpleframework.http.RequestWrapper
-
This method returns a
CharSequenceholding the header consumed for the request. - getHeader() - Method in interface org.simpleframework.http.ResponseHeader
-
This method returns a
CharSequenceholding the header created for the request. - getHeader() - Method in class org.simpleframework.http.ResponseWrapper
-
This method returns a
CharSequenceholding the header created for the request. - getHeader(String) - Method in interface org.simpleframework.http.Part
-
This is used to acquire the header value for the specified header name.
- getInputStream() - Method in interface org.simpleframework.http.message.Body
-
This is used to acquire the contents of the body as a stream.
- getInputStream() - Method in interface org.simpleframework.http.Part
-
This is used to acquire an
InputStreamfor the part. - getInputStream() - Method in interface org.simpleframework.http.Request
-
This is used to read the content body.
- getInputStream() - Method in class org.simpleframework.http.RequestWrapper
-
This is used to read the content body.
- getInteger(Object) - Method in class org.simpleframework.http.parse.QueryParser
-
This extracts an integer parameter for the named value.
- getInteger(Object) - Method in interface org.simpleframework.http.Query
-
This extracts an integer parameter for the named value.
- getInteger(String) - Method in interface org.simpleframework.http.message.Header
-
This can be used to get the integer of the first message header that has the specified name.
- getInteger(String) - Method in class org.simpleframework.http.message.HeaderConsumer
-
This can be used to get the integer of the first message header that has the specified name.
- getInteger(String) - Method in interface org.simpleframework.http.message.Message
-
This can be used to get the value of the first message header that has the specified name.
- getInteger(String) - Method in class org.simpleframework.http.message.MessageHeader
-
This can be used to get the value of the first message header that has the specified name.
- getInteger(String) - Method in class org.simpleframework.http.message.RequestConsumer
-
This can be used to get the integer of the first message header that has the specified name.
- getInteger(String) - Method in interface org.simpleframework.http.RequestHeader
-
This can be used to get the integer of the first message header that has the specified name.
- getInteger(String) - Method in class org.simpleframework.http.RequestWrapper
-
This can be used to get the integer of the first message header that has the specified name.
- getInteger(String) - Method in interface org.simpleframework.http.ResponseHeader
-
This can be used to get the value of the first message header that has the specified name.
- getInteger(String) - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to get the value of the first message header that has the specified name.
- getKey() - Method in interface org.simpleframework.common.lease.Lease
-
Provides the key for the resource that this lease represents.
- getKeys() - Method in class org.simpleframework.common.KeyMap
-
This is used to produce a
Listof the keys in the map. - getLocales() - Method in interface org.simpleframework.http.message.Header
-
This is used to acquire the locales from the request header.
- getLocales() - Method in class org.simpleframework.http.message.SegmentConsumer
-
This is used to acquire the locales from the request header.
- getLocales() - Method in interface org.simpleframework.http.RequestHeader
-
This is used to acquire the locales from the request header.
- getLocales() - Method in class org.simpleframework.http.RequestWrapper
-
This is used to acquire the locales from the request header.
- getLong(String) - Method in class org.simpleframework.http.message.MessageHeader
-
This can be used to get the value of the first message header that has the specified name.
- getMajor() - Method in interface org.simpleframework.http.message.Header
-
This can be used to get the major number from a HTTP version.
- getMajor() - Method in class org.simpleframework.http.message.RequestConsumer
-
This can be used to get the major number from a HTTP version.
- getMajor() - Method in interface org.simpleframework.http.RequestLine
-
This can be used to get the major number from a HTTP version.
- getMajor() - Method in class org.simpleframework.http.RequestWrapper
-
This can be used to get the major number from a HTTP version.
- getMajor() - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to get the major number from a HTTP version.
- getMajor() - Method in interface org.simpleframework.http.StatusLine
-
This can be used to get the major number from a HTTP version.
- getMethod() - Method in interface org.simpleframework.http.message.Header
-
This can be used to get the HTTP method for this request.
- getMethod() - Method in class org.simpleframework.http.message.RequestConsumer
-
This can be used to get the HTTP method for this request.
- getMethod() - Method in interface org.simpleframework.http.RequestLine
-
This can be used to get the HTTP method for this request.
- getMethod() - Method in class org.simpleframework.http.RequestWrapper
-
This can be used to get the HTTP method for this request.
- getMinor() - Method in interface org.simpleframework.http.message.Header
-
This can be used to get the minor number from a HTTP version.
- getMinor() - Method in class org.simpleframework.http.message.RequestConsumer
-
This can be used to get the minor number from a HTTP version.
- getMinor() - Method in interface org.simpleframework.http.RequestLine
-
This can be used to get the major number from a HTTP version.
- getMinor() - Method in class org.simpleframework.http.RequestWrapper
-
This can be used to get the major number from a HTTP version.
- getMinor() - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to get the minor number from a HTTP version.
- getMinor() - Method in interface org.simpleframework.http.StatusLine
-
This can be used to get the minor number from a HTTP version.
- getName() - Method in interface org.simpleframework.http.ContentDisposition
-
This method is used to acquire the name of the part.
- getName() - Method in class org.simpleframework.http.Cookie
-
This returns the name for this cookie.
- getName() - Method in interface org.simpleframework.http.message.Segment
-
This method is used to acquire the name of the part.
- getName() - Method in class org.simpleframework.http.message.SegmentConsumer
-
This method is used to acquire the name of the part.
- getName() - Method in class org.simpleframework.http.parse.ContentDispositionParser
-
This method is used to acquire the name of the part.
- getName() - Method in class org.simpleframework.http.parse.PathParser
-
This will return the full name of the file without the path.
- getName() - Method in class org.simpleframework.http.parse.PrincipalParser
-
Gets the users name from the Authorization header value.
- getName() - Method in interface org.simpleframework.http.Part
-
This method is used to acquire the name of the part.
- getName() - Method in interface org.simpleframework.http.Path
-
This will return the full name of the file without the path.
- getName() - Method in interface org.simpleframework.http.Principal
-
The
getNamemethod is used to retreive the name of the principal. - getNames() - Method in interface org.simpleframework.http.message.Header
-
This method is used to get a
Listof the names for the headers. - getNames() - Method in class org.simpleframework.http.message.HeaderConsumer
-
This method is used to get a
Listof the names for the headers. - getNames() - Method in interface org.simpleframework.http.message.Message
-
This is used to acquire the names of the of the headers that have been set in the response.
- getNames() - Method in class org.simpleframework.http.message.MessageHeader
-
This is used to acquire the names of the of the headers that have been set in the response.
- getNames() - Method in class org.simpleframework.http.message.RequestConsumer
-
This method is used to get a
Listof the names for the headers. - getNames() - Method in interface org.simpleframework.http.RequestHeader
-
This method is used to get a
Listof the names for the headers. - getNames() - Method in class org.simpleframework.http.RequestWrapper
-
This method is used to get a
Listof the names for the headers. - getNames() - Method in interface org.simpleframework.http.ResponseHeader
-
This is used to acquire the names of the of the headers that have been set in the response.
- getNames() - Method in class org.simpleframework.http.ResponseWrapper
-
This is used to acquire the names of the of the headers that have been set in the response.
- getOutputStream() - Method in interface org.simpleframework.http.Response
-
Used to write a message body with the
Response. - getOutputStream() - Method in class org.simpleframework.http.ResponseWrapper
-
Used to write a message body with the
Response. - getOutputStream(int) - Method in interface org.simpleframework.http.Response
-
Used to write a message body with the
Response. - getOutputStream(int) - Method in class org.simpleframework.http.ResponseWrapper
-
Used to write a message body with the
Response. - getParameter(String) - Method in interface org.simpleframework.http.ContentType
-
This is used to retrieve an arbitrary parameter from the MIME type header.
- getParameter(String) - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This is used to retrieve an arbitrary parameter from the MIME type header.
- getParameter(String) - Method in interface org.simpleframework.http.Request
-
This is used to provide quick access to the parameters.
- getParameter(String) - Method in class org.simpleframework.http.RequestWrapper
-
This is used to provide quick access to the parameters.
- getParameters() - Method in interface org.simpleframework.http.Address
-
This extracts the parameter values from the uniform resource identifier represented by this object.
- getParameters() - Method in class org.simpleframework.http.parse.AddressParser
-
This extracts the parameter values from the uniform resource identifier represented by this object.
- getPart(String) - Method in interface org.simpleframework.http.message.Body
-
This method is used to acquire a
Partfrom the HTTP request using a known name for the part. - getPart(String) - Method in interface org.simpleframework.http.Request
-
This method is used to acquire a
Partfrom the HTTP request using a known name for the part. - getPart(String) - Method in class org.simpleframework.http.RequestWrapper
-
This method is used to acquire a
Partfrom the HTTP request using a known name for the part. - getParts() - Method in interface org.simpleframework.http.message.Body
-
This method is used to get all
Partobjects that are associated with the request. - getParts() - Method in interface org.simpleframework.http.Request
-
This method is used to get all
Partobjects that are associated with the request. - getParts() - Method in class org.simpleframework.http.RequestWrapper
-
This method is used to get all
Partobjects that are associated with the request. - getPassword() - Method in class org.simpleframework.http.parse.PrincipalParser
-
Gets the users password parsed from the Authorization header value.
- getPassword() - Method in interface org.simpleframework.http.Principal
-
The
getPasswordmethod is used to retrieve the password of the principal. - getPath() - Method in interface org.simpleframework.http.Address
-
This is used to retrieve the path of this URI.
- getPath() - Method in class org.simpleframework.http.Cookie
-
This returns the path for this cookie.
- getPath() - Method in interface org.simpleframework.http.message.Header
-
This is used to acquire the path as extracted from the the HTTP request URI.
- getPath() - Method in class org.simpleframework.http.message.RequestConsumer
-
This is used to acquire the path as extracted from the the HTTP request URI.
- getPath() - Method in class org.simpleframework.http.parse.AddressParser
-
This is used to retrieve the path of this URI.
- getPath() - Method in class org.simpleframework.http.parse.PathParser
-
This will return the normalized path.
- getPath() - Method in interface org.simpleframework.http.Path
-
This will return the normalized path.
- getPath() - Method in interface org.simpleframework.http.RequestLine
-
This is used to acquire the path as extracted from the HTTP request URI.
- getPath() - Method in class org.simpleframework.http.RequestWrapper
-
This is used to acquire the path as extracted from the HTTP request URI.
- getPath(int) - Method in class org.simpleframework.http.parse.PathParser
-
This will return the normalized path from the specified path segment.
- getPath(int) - Method in interface org.simpleframework.http.Path
-
This will return the normalized path from the specified path segment.
- getPath(int, int) - Method in class org.simpleframework.http.parse.PathParser
-
This will return the normalized path from the specified path segment.
- getPath(int, int) - Method in interface org.simpleframework.http.Path
-
This will return the normalized path from the specified path segment.
- getPort() - Method in interface org.simpleframework.http.Address
-
This is used to retrieve the port of the uniform resource identifier.
- getPort() - Method in class org.simpleframework.http.parse.AddressParser
-
This is used to retrieve the port of the uniform resource identifier.
- getPrimary() - Method in interface org.simpleframework.http.ContentType
-
This is used to retrieve the primary type of this MIME type.
- getPrimary() - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This is used to retrieve the primary type of this MIME type.
- getPrintStream() - Method in interface org.simpleframework.http.Response
-
This method is provided for convenience so that the HTTP content can be written using the
printmethods provided by thePrintStream. - getPrintStream() - Method in class org.simpleframework.http.ResponseWrapper
-
This method is provided for convenience so that the HTTP content can be written using the
printmethods provided by thePrintStream. - getPrintStream(int) - Method in interface org.simpleframework.http.Response
-
This method is provided for convenience so that the HTTP content can be written using the
printmethods provided by thePrintStream. - getPrintStream(int) - Method in class org.simpleframework.http.ResponseWrapper
-
This method is provided for convenience so that the HTTP content can be written using the
printmethods provided by thePrintStream. - getQuery() - Method in interface org.simpleframework.http.Address
-
This is used to retrieve the query of this URI.
- getQuery() - Method in interface org.simpleframework.http.message.Header
-
This method is used to acquire the query part from the HTTP request URI target.
- getQuery() - Method in class org.simpleframework.http.message.RequestConsumer
-
This method is used to acquire the query part from the HTTP request URI target.
- getQuery() - Method in class org.simpleframework.http.parse.AddressParser
-
This is used to retrieve the query of this URI.
- getQuery() - Method in interface org.simpleframework.http.RequestLine
-
This method is used to acquire the query part from the HTTP request URI target.
- getQuery() - Method in class org.simpleframework.http.RequestWrapper
-
This method is used to acquire the query part from the HTTP request URI target and a form post if it exists.
- getRelative(String) - Method in class org.simpleframework.http.parse.PathParser
-
This will return the path as it is relative to the issued path.
- getRelative(String) - Method in interface org.simpleframework.http.Path
-
This will return the path as it is relative to the issued path.
- getRequest() - Method in class org.simpleframework.http.core.Conversation
-
This provides the
Requestobject. - getRequest() - Method in interface org.simpleframework.http.socket.Session
-
Provides the
Requestused to initiate the session. - getRequestTime() - Method in interface org.simpleframework.http.Request
-
This is the time in milliseconds when the request was first read from the underlying socket.
- getRequestTime() - Method in class org.simpleframework.http.RequestWrapper
-
This is the time in milliseconds when the request was first read from the underlying socket.
- getResponse() - Method in class org.simpleframework.http.core.Conversation
-
This provides the
Responseobject. - getResponse() - Method in interface org.simpleframework.http.socket.Session
-
Provides the
Responseused to establish the session with the remote client. - getResponseTime() - Method in interface org.simpleframework.http.Response
-
This represents the time at which the response has fully written.
- getResponseTime() - Method in class org.simpleframework.http.ResponseWrapper
-
This represents the time at which the response has fully written.
- getScheme() - Method in interface org.simpleframework.http.Address
-
This allows the scheme of the URL given to be returned.
- getScheme() - Method in class org.simpleframework.http.parse.AddressParser
-
This allows the scheme of the URL given to be returned.
- getScheme() - Method in enum org.simpleframework.http.Scheme
-
This is used to acquire the scheme token for this.
- getSecondary() - Method in interface org.simpleframework.http.ContentType
-
This is used to retrieve the secondary type of this MIME type.
- getSecondary() - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This is used to retrieve the secondary type of this MIME type.
- getSegments() - Method in class org.simpleframework.http.parse.PathParser
-
This method is used to break the path into individual parts called segments, see RFC 2396.
- getSegments() - Method in interface org.simpleframework.http.Path
-
This method is used to break the path into individual parts called segments, see RFC 2396.
- getSocket() - Method in interface org.simpleframework.transport.Channel
-
This is the connected socket channel associated with this.
- getSocket() - Method in class org.simpleframework.transport.TransportChannel
-
This is the connected socket channel associated with this.
- getStatus() - Method in class org.simpleframework.http.ResponseWrapper
-
This is used to acquire the status from the response.
- getStatus() - Method in interface org.simpleframework.http.StatusLine
-
This is used to acquire the status from the response.
- getStatus(int) - Static method in enum org.simpleframework.http.Status
-
This is used to provide the status value.
- getTarget() - Method in interface org.simpleframework.http.message.Header
-
This can be used to get the target specified for this HTTP request.
- getTarget() - Method in class org.simpleframework.http.message.RequestConsumer
-
This can be used to get the target specified for this HTTP request.
- getTarget() - Method in interface org.simpleframework.http.RequestLine
-
This can be used to get the URI specified for this HTTP request.
- getTarget() - Method in class org.simpleframework.http.RequestWrapper
-
This can be used to get the URI specified for this HTTP request.
- getText() - Method in class org.simpleframework.http.socket.BinaryData
-
This returns the text payload that is to be sent with a frame.
- getText() - Method in interface org.simpleframework.http.socket.Data
-
This returns the text payload that is to be sent with a frame.
- getText() - Method in class org.simpleframework.http.socket.DataFrame
-
This returns the text payload that is to be sent with the frame.
- getText() - Method in interface org.simpleframework.http.socket.Frame
-
This returns the text payload that is to be sent with the frame.
- getText() - Method in class org.simpleframework.http.socket.Reason
-
This is used to get the textual description for the closure.
- getText() - Method in class org.simpleframework.http.socket.TextData
-
This returns the text payload that is to be sent with a frame.
- getTime() - Method in interface org.simpleframework.http.message.Entity
-
This is the time in milliseconds when the request was first read from the underlying channel.
- getTrace() - Method in interface org.simpleframework.transport.Channel
-
This gets the
Traceobject associated with the channel. - getTrace() - Method in interface org.simpleframework.transport.reactor.Operation
-
This is used to acquire the trace object that is associated with the operation.
- getTrace() - Method in interface org.simpleframework.transport.Socket
-
This is used to acquire the trace object that is associated with the socket.
- getTrace() - Method in class org.simpleframework.transport.SocketTransport
-
This is used to acquire the trace object that is associated with the socket.
- getTrace() - Method in class org.simpleframework.transport.SocketWrapper
-
This is used to acquire the trace object that is associated with the socket.
- getTrace() - Method in class org.simpleframework.transport.TransportChannel
-
This gets the
Traceobject associated with the channel. - getTransferEncoding() - Method in interface org.simpleframework.http.message.Segment
-
This is a convenience method that can be used to determine the content type of the message body.
- getTransferEncoding() - Method in class org.simpleframework.http.message.SegmentConsumer
-
This is a convenience method that can be used to determine the content type of the message body.
- getTransferEncoding() - Method in interface org.simpleframework.http.ResponseHeader
-
This is a convenience method that can be used to determine the content type of the message body.
- getTransferEncoding() - Method in class org.simpleframework.http.ResponseWrapper
-
This is a convenience method that can be used to determine the content type of the message body.
- getType() - Method in interface org.simpleframework.http.ContentType
-
This method is used to get the primary and secondary parts joined together with a "/".
- getType() - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This method is used to get the primary and secondary parts joined together with a "/".
- getType() - Method in class org.simpleframework.http.socket.DataFrame
-
This is used to determine the type of frame.
- getType() - Method in interface org.simpleframework.http.socket.Frame
-
This is used to determine the type of frame.
- getValue() - Method in class org.simpleframework.http.Cookie
-
This returns the value for this cookie.
- getValue(String) - Method in interface org.simpleframework.http.message.Message
-
This can be used to get the value of the first message header that has the specified name.
- getValue(String) - Method in class org.simpleframework.http.message.MessageHeader
-
This can be used to get the value of the first message header that has the specified name.
- getValue(String) - Method in interface org.simpleframework.http.message.Segment
-
This can be used to get the value of the first message header that has the specified name.
- getValue(String) - Method in class org.simpleframework.http.message.SegmentConsumer
-
This can be used to get the value of the first message header that has the specified name.
- getValue(String) - Method in interface org.simpleframework.http.RequestHeader
-
This can be used to get the value of the first message header that has the specified name.
- getValue(String) - Method in class org.simpleframework.http.RequestWrapper
-
This can be used to get the value of the first message header that has the specified name.
- getValue(String) - Method in interface org.simpleframework.http.ResponseHeader
-
This can be used to get the value of the first message header that has the specified name.
- getValue(String) - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to get the value of the first message header that has the specified name.
- getValue(String, int) - Method in interface org.simpleframework.http.message.Message
-
This can be used to get the value of the first message header that has the specified name.
- getValue(String, int) - Method in class org.simpleframework.http.message.MessageHeader
-
This can be used to get the value of the first message header that has the specified name.
- getValue(String, int) - Method in interface org.simpleframework.http.message.Segment
-
This can be used to get the value of the first message header that has the specified name.
- getValue(String, int) - Method in class org.simpleframework.http.message.SegmentConsumer
-
This can be used to get the value of the first message header that has the specified name.
- getValue(String, int) - Method in interface org.simpleframework.http.RequestHeader
-
This can be used to get the value of the first message header that has the specified name.
- getValue(String, int) - Method in class org.simpleframework.http.RequestWrapper
-
This can be used to get the value of the first message header that has the specified name.
- getValue(String, int) - Method in interface org.simpleframework.http.ResponseHeader
-
This can be used to get the value of the first message header that has the specified name.
- getValue(String, int) - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to get the value of the first message header that has the specified name.
- getValues() - Method in class org.simpleframework.common.KeyMap
-
This is used to produce a
Listof the values in the map. - getValues(String) - Method in interface org.simpleframework.http.message.Message
-
This can be used to get the values of HTTP message headers that have the specified name.
- getValues(String) - Method in class org.simpleframework.http.message.MessageHeader
-
This can be used to get the values of HTTP message headers that have the specified name.
- getValues(String) - Method in interface org.simpleframework.http.message.Segment
-
This can be used to get the values of HTTP message headers that have the specified name.
- getValues(String) - Method in class org.simpleframework.http.message.SegmentConsumer
-
This can be used to get the values of HTTP message headers that have the specified name.
- getValues(String) - Method in interface org.simpleframework.http.RequestHeader
-
This can be used to get the values of HTTP message headers that have the specified name.
- getValues(String) - Method in class org.simpleframework.http.RequestWrapper
-
This can be used to get the values of HTTP message headers that have the specified name.
- getValues(String) - Method in interface org.simpleframework.http.ResponseHeader
-
This can be used to get the values of HTTP message headers that have the specified name.
- getValues(String) - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to get the values of HTTP message headers that have the specified name.
- getValues(List) - Method in interface org.simpleframework.http.message.Message
-
This can be used to get the values of HTTP message headers that have the specified name.
- getValues(List) - Method in class org.simpleframework.http.message.MessageHeader
-
This can be used to get the values of HTTP message headers that have the specified name.
- getVersion() - Method in class org.simpleframework.http.Cookie
-
This returns the version for this cookie.
- getWriter() - Method in interface org.simpleframework.transport.Channel
-
This provides a
ByteWriterfor the channel. - getWriter() - Method in class org.simpleframework.transport.TransportChannel
-
This provides a
ByteWriterfor the channel. - GOING_AWAY - Enum constant in enum org.simpleframework.http.socket.CloseCode
-
Indicates that the server is going down or the client browsed away.
- GONE - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client that the resource has gone.
H
- handle(Request, Response) - Method in interface org.simpleframework.http.core.Container
-
Used to pass the
RequestandResponseto the container for processing. - handle(Request, Response) - Method in class org.simpleframework.http.socket.service.RouterContainer
-
This method is used to create a dispatch a
Sessionto a specific service selected by a router. - HANDSHAKE_BEGIN - Enum constant in enum org.simpleframework.transport.TransportEvent
-
This event occurs with HTTPS when a new SSL handshake starts.
- HANDSHAKE_DONE - Enum constant in enum org.simpleframework.transport.TransportEvent
-
This event occurs with HTTPS when a SSL handshake has finished.
- HANDSHAKE_FAILED - Enum constant in enum org.simpleframework.transport.TransportEvent
-
This event indicates that the handshake failed in some way.
- HEAD - Static variable in interface org.simpleframework.http.Method
-
Retrieve only the headers for the resource that is requested.
- header - Variable in class org.simpleframework.http.message.EntityConsumer
-
This is used to consume the header for the request entity.
- header - Variable in class org.simpleframework.http.message.SegmentConsumer
-
This is used to store all consumed headers by the header name.
- Header - Interface in org.simpleframework.http.message
-
This is a
Headerobject that is used to represent a basic form for the HTTP request message. - HEADER_FINISHED - Enum constant in enum org.simpleframework.http.core.ContainerEvent
-
This indicates that the server has fully read the request header.
- HeaderConsumer - Class in org.simpleframework.http.message
-
The
HeaderConsumerobject is used to consume a HTTP header from the cursor. - HeaderConsumer() - Constructor for class org.simpleframework.http.message.HeaderConsumer
-
Constructor for the
HeaderConsumerobject. - headers() - Method in class org.simpleframework.http.message.SegmentConsumer
-
This is used to parse the headers from the consumed HTTP header and add them to the segment.
- high - Variable in enum org.simpleframework.http.socket.CloseCode
-
This is the high order byte for the closure code.
- HOST - Static variable in interface org.simpleframework.http.Protocol
-
Specifies the host and port number of the resource being requested.
- HTTP - Enum constant in enum org.simpleframework.http.Scheme
-
This represents the scheme for a plaintext HTTP connection.
- HTTPS - Enum constant in enum org.simpleframework.http.Scheme
-
This represents the scheme for a HTTP over TLS connection.
I
- IF_MATCH - Static variable in interface org.simpleframework.http.Protocol
-
Specifies the entity tag for a request to make it conditional.
- IF_MODIFIED_SINCE - Static variable in interface org.simpleframework.http.Protocol
-
If variant has not been modified since the time specified.
- IF_NONE_MATCH - Static variable in interface org.simpleframework.http.Protocol
-
Verify that none of those entities is current by including a list.
- IF_RANGE - Static variable in interface org.simpleframework.http.Protocol
-
If the entity is unchanged send me the part that I am missing.
- IF_UNMODIFIED_SINCE - Static variable in interface org.simpleframework.http.Protocol
-
If the requested resource has not been modified since this time.
- IMAGE - Static variable in interface org.simpleframework.http.Protocol
-
Represents a message type for an image such as a PNG or JPEG.
- init() - Method in class org.simpleframework.common.parse.Parser
-
This will initialize the
Parserwhen it is ready to parse a newString. - init() - Method in class org.simpleframework.http.parse.AddressParser
-
This will empty each tokens cache.
- init() - Method in class org.simpleframework.http.parse.ContentDispositionParser
-
This will initialize the
Parserwhen it is ready to parse a newString. - init() - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This will initialize the parser when it is ready to parse a new
String. - init() - Method in class org.simpleframework.http.parse.CookieParser
-
Resets the cookie and the buffer variables for this
CookieParser. - init() - Method in class org.simpleframework.http.parse.DateParser
-
This is used to reset the date and the buffer variables for this
DateParser. - init() - Method in class org.simpleframework.http.parse.ListParser
-
Initializes the parser so that tokens can be extracted from the list.
- init() - Method in class org.simpleframework.http.parse.PathParser
-
This will initialize the parser so that it is in a ready state.
- init() - Method in class org.simpleframework.http.parse.PrincipalParser
-
This will initialize the
Parserwhen it is ready to parse a newString. - init() - Method in class org.simpleframework.http.parse.QueryParser
-
This initializes the parser so that it can be used several times.
- INTEREST_READY - Enum constant in enum org.simpleframework.transport.reactor.ReactorEvent
-
This indicates that the I/O interest has been satisfied.
- INTERNAL_SERVER_ERROR - Enum constant in enum org.simpleframework.http.socket.CloseCode
-
Indicates an unexpected error within the server.
- INTERNAL_SERVER_ERROR - Enum constant in enum org.simpleframework.http.Status
-
This is sent when the request has caused an internal server error.
- interrupt() - Method in class org.simpleframework.common.thread.Daemon
-
This is used to interrupt the internal thread.
- INVALID_FRAME_DATA - Enum constant in enum org.simpleframework.http.socket.CloseCode
-
Indicates that a payload was not consistent with the message type.
- INVALID_KEY - Enum constant in enum org.simpleframework.transport.reactor.ReactorEvent
-
This occurs rarely however it indicates an invalid registration.
- isActive() - Method in class org.simpleframework.common.thread.Daemon
-
This is used to determine if the runner is active.
- isChainPresent() - Method in interface org.simpleframework.transport.Certificate
-
This is used to determine if the X509 certificate chain is present for the request.
- isChunkable() - Method in class org.simpleframework.http.core.Conversation
-
The
isChunkablemethod is used to determine if the client supports chunked encoding. - isChunkedEncoded() - Method in class org.simpleframework.http.core.Conversation
-
The
isChunkedEncodedis used to determine whether the chunked encoding scheme is desired. - isClose() - Method in enum org.simpleframework.http.socket.FrameType
-
This is used to determine if a frame is a close frame.
- isCommitted() - Method in interface org.simpleframework.http.Response
-
This can be used to determine whether the
Responsehas been committed. - isCommitted() - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to determine whether the
Responsehas been committed. - isConnect() - Method in class org.simpleframework.http.core.Conversation
-
This is used to determine if the method was a CONNECT.
- isEmpty() - Method in class org.simpleframework.common.parse.MapParser
-
This method is used to determine whether the parser has any tokens available.
- isEmpty() - Method in class org.simpleframework.http.core.Conversation
-
This is used to determine if the
Responsehas a message body. - isExpectContinue() - Method in interface org.simpleframework.http.message.Header
-
This is used to determine if the header represents one that requires the HTTP/1.1 continue expectation.
- isExpectContinue() - Method in class org.simpleframework.http.message.SegmentConsumer
-
This is used to determine if the header represents one that requires the HTTP/1.1 continue expectation.
- isFile() - Method in interface org.simpleframework.http.ContentDisposition
-
This method is used to determine the type of a part.
- isFile() - Method in interface org.simpleframework.http.message.Segment
-
This method is used to determine the type of a part.
- isFile() - Method in class org.simpleframework.http.message.SegmentConsumer
-
This method is used to determine the type of a part.
- isFile() - Method in class org.simpleframework.http.parse.ContentDispositionParser
-
This method is used to determine the type of a part.
- isFile() - Method in interface org.simpleframework.http.Part
-
This method is used to determine the type of a part.
- isFinal() - Method in class org.simpleframework.http.socket.DataFrame
-
This is used to determine if the frame is the final frame in a sequence of fragments or a whole frame.
- isFinal() - Method in interface org.simpleframework.http.socket.Frame
-
This is used to determine if the frame is the final frame in a sequence of fragments or a whole frame.
- isFinished() - Method in class org.simpleframework.http.message.ArrayConsumer
-
When the terminal token is read from the cursor this will be true.
- isFinished() - Method in interface org.simpleframework.http.message.ByteConsumer
-
This is used to determine whether the consumer has finished reading.
- isFinished() - Method in class org.simpleframework.http.message.EmptyConsumer
-
This will return true immediately.
- isFinished() - Method in class org.simpleframework.http.message.EntityConsumer
-
This is determined finished when the body has been consumed.
- isFinished() - Method in class org.simpleframework.http.message.FileUploadConsumer
-
This is used to determine whether the consumer has finished reading.
- isFinished() - Method in class org.simpleframework.http.message.UpdateConsumer
-
This is used to determine whether the consumer has finished reading.
- isHead() - Method in class org.simpleframework.http.core.Conversation
-
This is used to determine if the request method was HEAD.
- isHeaderFinished() - Method in class org.simpleframework.http.message.EntityConsumer
-
This is used to determine if the header has finished.
- isKeepAlive() - Method in class org.simpleframework.http.core.Conversation
-
The
isKeepAlivemethod is used to determine if the connection semantics are set to maintain the connection. - isKeepAlive() - Method in interface org.simpleframework.http.Request
-
This is a convenience method that is used to determine whether or not this message has the
Connection: closeheader. - isKeepAlive() - Method in class org.simpleframework.http.RequestWrapper
-
This is a convenience method that is used to determine whether or not this message has the
Connection: closeheader. - isKeepAlive() - Method in interface org.simpleframework.http.Response
-
This is used to determine if the HTTP response message is a keep alive message or if the underlying socket was closed.
- isKeepAlive() - Method in class org.simpleframework.http.ResponseWrapper
-
This is used to determine if the HTTP response message is a keep alive message or if the underlying socket was closed.
- isNew() - Method in class org.simpleframework.http.Cookie
-
This is used to determine if the cookie is new.
- isOpen() - Method in interface org.simpleframework.transport.ByteCursor
-
Determines whether the cursor is still open.
- isOpen() - Method in class org.simpleframework.transport.TransportCursor
-
Determines whether the cursor is still open.
- isPersistent() - Method in class org.simpleframework.http.core.Conversation
-
This checks the protocol version used in the request to check whether it supports persistent HTTP connections.
- isPing() - Method in enum org.simpleframework.http.socket.FrameType
-
This is used to determine if a frame is a ping frame.
- isPong() - Method in enum org.simpleframework.http.socket.FrameType
-
This is used to determine if a frame is a pong frame.
- isProtected() - Method in class org.simpleframework.http.Cookie
-
This is used to determine if the cookie is protected against cross site scripting.
- isReady() - Method in interface org.simpleframework.transport.ByteCursor
-
Determines whether the cursor is ready for reading.
- isReady() - Method in class org.simpleframework.transport.TransportCursor
-
Determines whether the cursor is ready for reading.
- isSecure() - Method in class org.simpleframework.http.Cookie
-
This determines whether the cookie is secure.
- isSecure() - Method in interface org.simpleframework.http.Request
-
This is used to determine if the request has been transferred over a secure connection.
- isSecure() - Method in class org.simpleframework.http.RequestWrapper
-
This is used to determine if the request has been transferred over a secure connection.
- isSecure() - Method in enum org.simpleframework.http.Scheme
-
This is used to determine if the scheme is secure or not.
- isSecure() - Method in interface org.simpleframework.transport.Channel
-
This is used to determine if the channel is secure and that data read from and data written to the request is encrypted.
- isSecure() - Method in class org.simpleframework.transport.TransportChannel
-
This is used to determine if the channel is secure and that data read from and data written to the request is encrypted.
- isText() - Method in enum org.simpleframework.http.socket.FrameType
-
This is used to determine if a frame is a text frame.
- isTunnel() - Method in class org.simpleframework.http.core.Conversation
-
This is used to determine if a tunnel should be established.
- isWebSocket() - Method in class org.simpleframework.http.core.Conversation
-
This is used to determine if a WebSocket upgrade was requested and established.
- iterator() - Method in class org.simpleframework.common.KeyMap
-
This is used to produce an
Iteratorof values that can be used to acquire the contents of the key map within a for each loop. - iterator() - Method in class org.simpleframework.http.parse.CookieParser
-
This is used to acquire the cookie values from the provided the provided source text.
K
- KEEP_ALIVE - Static variable in interface org.simpleframework.http.Protocol
-
Specifies that the server wishes to keep the connection open.
- KeyMap<T> - Class in org.simpleframework.common
-
The
KeyMapobject is used to represent a map of values keyed using a known string. - KeyMap() - Constructor for class org.simpleframework.common.KeyMap
-
Constructor for the
KeyMapobject. - keySet() - Method in class org.simpleframework.common.parse.MapParser
-
This is used to acquire the names for all the tokens that have currently been collected by this parser.
L
- language - Variable in class org.simpleframework.http.message.SegmentConsumer
-
This is used to parse the languages accepted in the request.
- language(String) - Method in class org.simpleframework.http.message.SegmentConsumer
-
This is used to parse the
Accept-Languageheader value. - LanguageParser - Class in org.simpleframework.http.parse
-
LanguageParser is used to parse the HTTP
Accept-Languageheader. - LanguageParser() - Constructor for class org.simpleframework.http.parse.LanguageParser
-
This is used to create a
LanguageParserfor theAccept-LanguageHTTP header value. - LanguageParser(String) - Constructor for class org.simpleframework.http.parse.LanguageParser
-
This is used to create a
LanguageParserfor theAccept-LanguageHTTP header value. - LanguageParser(List) - Constructor for class org.simpleframework.http.parse.LanguageParser
-
This is used to create a
LanguageParserfor theAccept-LanguageHTTP header value. - LAST_MODIFIED - Static variable in interface org.simpleframework.http.Protocol
-
Indicates the date and time at which the variant was last modified.
- lease(T, long, TimeUnit) - Method in class org.simpleframework.common.lease.LeaseManager
-
This method will issue a
Leaseobject that can be used to manage the release of a keyed resource. - lease(T, long, TimeUnit) - Method in interface org.simpleframework.common.lease.LeaseProvider
-
This method will issue a
Leaseobject that can be used to manage the release of a keyed resource. - Lease<T> - Interface in org.simpleframework.common.lease
-
The
Leaseobject is used to keep a keyed resource active. - LeaseException - Exception Class in org.simpleframework.common.lease
-
The
LeaseExceptionis used to indicate that some operation failed when using the lease after the lease duration has expired. - LeaseException(String) - Constructor for exception class org.simpleframework.common.lease.LeaseException
-
This constructor is used if there is a description of the event that caused the exception required.
- LeaseException(String, Throwable) - Constructor for exception class org.simpleframework.common.lease.LeaseException
-
This constructor is used if there is a description of the event that caused the exception required.
- LeaseManager<T> - Class in org.simpleframework.common.lease
-
The
LeaseManageris used to issue a lease for a named resource. - LeaseManager(Cleaner) - Constructor for class org.simpleframework.common.lease.LeaseManager
-
Constructor for the
LeaseManagerobject. - LeaseMap<T> - Class in org.simpleframework.common.lease
-
The
LeaseMapobject is used to map lease keys to the lease objects managing those objects. - LeaseMap() - Constructor for class org.simpleframework.common.lease.LeaseMap
-
Constructor for the
LeaseMapobject. - LeaseMap(int) - Constructor for class org.simpleframework.common.lease.LeaseMap
-
Constructor for the
LeaseMapobject. - LeaseProvider<T> - Interface in org.simpleframework.common.lease
-
The
LeaseProvideris used to issue a lease for a named resource. - LeastRecentlyUsedMap<K,
V> - Class in org.simpleframework.common -
The
LeastRecentlyUsedMapis a hash map that keeps only those entries most recently used. - LeastRecentlyUsedMap() - Constructor for class org.simpleframework.common.LeastRecentlyUsedMap
-
Constructor for the
LeastRecentlyUsedMapobject. - LeastRecentlyUsedMap(int) - Constructor for class org.simpleframework.common.LeastRecentlyUsedMap
-
Constructor for the
LeastRecentlyUsedMapobject. - LeastRecentlyUsedMap(LeastRecentlyUsedMap.RemovalListener) - Constructor for class org.simpleframework.common.LeastRecentlyUsedMap
-
Constructor for the
LeastRecentlyUsedMapobject. - LeastRecentlyUsedMap(LeastRecentlyUsedMap.RemovalListener, int) - Constructor for class org.simpleframework.common.LeastRecentlyUsedMap
-
Constructor for the
LeastRecentlyUsedMapobject. - LeastRecentlyUsedMap.RemovalListener<K,
V> - Interface in org.simpleframework.common -
The
RemovalListeneris used with the least recently used hash map to listen for removals. - length - Variable in class org.simpleframework.http.message.SegmentConsumer
-
Represents the length of the body from the content length.
- length() - Method in class org.simpleframework.common.buffer.ArrayBuffer
-
This is used to provide the number of bytes that have been written to the buffer.
- length() - Method in interface org.simpleframework.common.buffer.Buffer
-
This is used to provide the number of bytes that have been written to the buffer.
- length() - Method in class org.simpleframework.common.buffer.BufferAllocator
-
This is used to provide the number of bytes that have been written to the buffer.
- length() - Method in class org.simpleframework.common.parse.ParseBuffer
-
This will return the number of bytes that have been appended to the
ParseBuffer. - length(String) - Method in class org.simpleframework.http.message.SegmentConsumer
-
This is used to parse a provided header value for the content length.
- LENGTH_REQUIRED - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client that a request length is needed.
- limit - Variable in class org.simpleframework.common.buffer.FilterAllocator
-
This is the maximum number of bytes that can be allocated.
- limit - Variable in class org.simpleframework.http.message.SegmentConsumer
-
This represents the length limit of the HTTP header cosumed.
- list() - Method in class org.simpleframework.http.parse.ListParser
-
This will build an ordered list of values extracted from the comma separated header value.
- ListParser<T> - Class in org.simpleframework.http.parse
-
The
ListParseris used to extract a comma separated list of HTTP header values. - ListParser() - Constructor for class org.simpleframework.http.parse.ListParser
-
Constructor for the
ListParser. - ListParser(String) - Constructor for class org.simpleframework.http.parse.ListParser
-
Constructor for the
ListParser. - ListParser(List) - Constructor for class org.simpleframework.http.parse.ListParser
-
Constructor for the
ListParser. - LOCATION - Static variable in interface org.simpleframework.http.Protocol
-
Used to redirect the recipient to a location other than the URI.
- low - Variable in enum org.simpleframework.http.socket.CloseCode
-
This is the low order byte for the closure code.
M
- major - Variable in class org.simpleframework.http.message.RequestConsumer
-
This is the major version number of the HTTP request header.
- map - Variable in class org.simpleframework.common.parse.MapParser
-
Represents the last value inserted into this map instance.
- MapParser<T> - Class in org.simpleframework.common.parse
-
The
MapParserobject represents a parser for name value pairs. - MapParser() - Constructor for class org.simpleframework.common.parse.MapParser
-
Constructor for the
MapParserobject. - MAX_FORWARDS - Static variable in interface org.simpleframework.http.Protocol
-
Limit the number of proxies or gateways that can forward the request.
- Message - Interface in org.simpleframework.http.message
-
The
Messageobject is used to store an retrieve the headers for both a request and response. - MessageHeader - Class in org.simpleframework.http.message
-
The
Messageobject is used to store an retrieve the headers for both a request and response. - MessageHeader() - Constructor for class org.simpleframework.http.message.MessageHeader
-
Constructor for the
Messageobject. - method - Variable in class org.simpleframework.http.message.RequestConsumer
-
This is the method token send with the HTTP request header.
- Method - Interface in org.simpleframework.http
-
The
Methodinterface contains the common HTTP methods that are sent with a request. - METHOD_NOT_ALLOWED - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client that the method is not allowed.
- minor - Variable in class org.simpleframework.http.message.RequestConsumer
-
This is the minor version number of the HTTP request header.
- MOVED_PERMANENTLY - Enum constant in enum org.simpleframework.http.Status
-
This is used to represent a target resource that has moved.
- MULTIPART - Static variable in interface org.simpleframework.http.Protocol
-
Represents a message type that contains multiple parts.
- MULTIPLE_CHOICES - Enum constant in enum org.simpleframework.http.Status
-
This is used to represent a response where there are choices.
N
- name - Variable in class org.simpleframework.http.message.SegmentConsumer
-
During parsing this is used to store the parsed header name,
- newThread(Runnable) - Method in class org.simpleframework.common.thread.DaemonFactory
-
This is used to create a thread from the provided runnable.
- newThread(Runnable, Class) - Method in class org.simpleframework.common.thread.DaemonFactory
-
This is used to create a thread from the provided runnable.
- NO_CACHE - Static variable in interface org.simpleframework.http.Protocol
-
Specifies that the message should not be cached by anything.
- NO_CONTENT - Enum constant in enum org.simpleframework.http.Status
-
This represents a response that contains no response content.
- NO_EXTENSION - Enum constant in enum org.simpleframework.http.socket.CloseCode
-
Indicates that the server did not negotiate an extension properly.
- NO_STATUS_CODE - Enum constant in enum org.simpleframework.http.socket.CloseCode
-
Indicates that no status code was present and should not be used.
- NORMAL_CLOSURE - Enum constant in enum org.simpleframework.http.socket.CloseCode
-
Indicates the purpose for the connection has been fulfilled.
- NOT_ACCEPTABLE - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client the request is not acceptable.
- NOT_FOUND - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client that the resource is not found.
- NOT_IMPLEMENTED - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client the resource is not implemented.
- NOT_MODIFIED - Enum constant in enum org.simpleframework.http.Status
-
This is used in response to a target that has not been modified.
- notifyRemoved(K, V) - Method in interface org.simpleframework.common.LeastRecentlyUsedMap.RemovalListener
-
This method is called when the entry has been removed due to the capacity having been reached.
O
- OCTET_STREAM - Static variable in interface org.simpleframework.http.Protocol
-
Represents the default content type if none is specified.
- off - Variable in class org.simpleframework.common.parse.Parser
-
This represents the current read offset.
- OK - Enum constant in enum org.simpleframework.http.Status
-
This represents a successful response of a targeted request.
- onClose(Session, Reason) - Method in interface org.simpleframework.http.socket.FrameListener
-
This is called when the connection is closed from the other side.
- onError(Session, Exception) - Method in interface org.simpleframework.http.socket.FrameListener
-
This is called when an error occurs on the WebSocket.
- onFrame(Session, Frame) - Method in interface org.simpleframework.http.socket.FrameListener
-
This is called when a new frame arrives on the WebSocket.
- open() - Method in class org.simpleframework.common.buffer.ArrayBuffer
-
This method is used so that the buffer can be represented as a stream of bytes.
- open() - Method in interface org.simpleframework.common.buffer.Buffer
-
This method is used so that a buffer can be represented as a stream of bytes.
- open() - Method in class org.simpleframework.common.buffer.BufferAllocator
-
This method is used so that a buffer can be represented as a stream of bytes.
- OPEN_SOCKET - Enum constant in enum org.simpleframework.http.socket.service.ServiceEvent
-
This event is dispatched when a WebSocket is connected.
- Operation - Interface in org.simpleframework.transport.reactor
-
The
Operationinterface is used to describe a task that can be executed when the associated channel is ready for some operation. - OPTIONS - Static variable in interface org.simpleframework.http.Method
-
Represents a request for the communication options available.
- org.simpleframework.common - package org.simpleframework.common
- org.simpleframework.common.buffer - package org.simpleframework.common.buffer
- org.simpleframework.common.encode - package org.simpleframework.common.encode
- org.simpleframework.common.lease - package org.simpleframework.common.lease
- org.simpleframework.common.parse - package org.simpleframework.common.parse
- org.simpleframework.common.thread - package org.simpleframework.common.thread
- org.simpleframework.http - package org.simpleframework.http
- org.simpleframework.http.core - package org.simpleframework.http.core
- org.simpleframework.http.message - package org.simpleframework.http.message
- org.simpleframework.http.parse - package org.simpleframework.http.parse
- org.simpleframework.http.socket - package org.simpleframework.http.socket
- org.simpleframework.http.socket.service - package org.simpleframework.http.socket.service
- org.simpleframework.transport - package org.simpleframework.transport
- org.simpleframework.transport.connect - package org.simpleframework.transport.connect
- org.simpleframework.transport.reactor - package org.simpleframework.transport.reactor
- org.simpleframework.transport.trace - package org.simpleframework.transport.trace
P
- parse() - Method in class org.simpleframework.common.parse.Parser
-
This is the method that should be implemented to read the buf.
- parse() - Method in class org.simpleframework.http.parse.AddressParser
-
This will check to see what type of URI this is if it is an
absoluteURIor arelativeURI. - parse() - Method in class org.simpleframework.http.parse.ContentDispositionParser
-
This is the method that should be implemented to read the buffer.
- parse() - Method in class org.simpleframework.http.parse.ContentTypeParser
-
Reads and parses the MIME type from the given
Stringobject. - parse() - Method in class org.simpleframework.http.parse.CookieParser
-
This will extract the next
Cookiefrom the buffer. - parse() - Method in class org.simpleframework.http.parse.DateParser
-
This is used to parse the contents of the
buf. - parse() - Method in class org.simpleframework.http.parse.ListParser
-
This ensures that tokens are taken from the comma separated list as long as there bytes left to be examined within the source text.
- parse() - Method in class org.simpleframework.http.parse.PathParser
-
This will parse the path in such a way that it ensures that at no stage there are trailing back references, using path normalization.
- parse() - Method in class org.simpleframework.http.parse.PrincipalParser
-
Used to parse the actual header data.
- parse() - Method in class org.simpleframework.http.parse.QueryParser
-
This performs the actual parsing of the parameter text.
- parse(long) - Method in class org.simpleframework.http.parse.DateParser
-
This is used to extract the date from a
long. - parse(String) - Method in class org.simpleframework.common.parse.Parser
-
This is used to parse the
Stringgiven to it. - parse(List) - Method in class org.simpleframework.http.parse.ListParser
-
This allows multiple header values to be represented as one single comma separated list.
- ParseBuffer - Class in org.simpleframework.common.parse
-
This is primarily used to replace the
StringBufferclass, as a way for theParserto store the char's for a specific region within the parse data that constitutes a desired value. - ParseBuffer() - Constructor for class org.simpleframework.common.parse.ParseBuffer
-
Constructor for
ParseBuffer. - ParseBuffer(int) - Constructor for class org.simpleframework.common.parse.ParseBuffer
-
This creates a
ParseBufferwith a specific default size. - parser - Variable in class org.simpleframework.http.message.RequestConsumer
-
This is the address parser used to parse the request URI.
- Parser - Class in org.simpleframework.common.parse
-
This
Parserobject is to be used as a simple template for parsing uncomplicated expressions. - Parser() - Constructor for class org.simpleframework.common.parse.Parser
-
This is a no argument constructor for the
Parser. - Part - Interface in org.simpleframework.http
-
The
Partobject is used to represent a part within a request message. - PARTIAL_CONTENT - Enum constant in enum org.simpleframework.http.Status
-
This is used to represent a response that has partial content.
- Path - Interface in org.simpleframework.http
-
The
Pathrepresents the path part of a URI. - PathParser - Class in org.simpleframework.http.parse
-
This is used to parse a path given as part of a URI.
- PathParser() - Constructor for class org.simpleframework.http.parse.PathParser
-
The default constructor will create a
PathParserthat contains no specifics. - PathParser(String) - Constructor for class org.simpleframework.http.parse.PathParser
-
This is primarily a convineance constructor.
- PathRouter - Class in org.simpleframework.http.socket.service
-
The
PathRouteris used when there are multiple services that can be used. - PathRouter(Map, Service) - Constructor for class org.simpleframework.http.socket.service.PathRouter
-
Constructor for the
PathRouterobject. - PAYMENT_REQUIRED - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client that payment is required.
- PING - Enum constant in enum org.simpleframework.http.socket.FrameType
-
A ping frame is a heartbeat used to determine connection health.
- PING_EXPIRED - Enum constant in enum org.simpleframework.http.socket.service.ServiceEvent
-
This indicates that there has been no response to a ping.
- POLICY_VIOLATION - Enum constant in enum org.simpleframework.http.socket.CloseCode
-
Indicates an endpoint received a message that violates its policy.
- PONG - Enum constant in enum org.simpleframework.http.socket.FrameType
-
A pong frame is sent is sent in response to a ping frame.
- PONG_RECEIVED - Enum constant in enum org.simpleframework.http.socket.service.ServiceEvent
-
This indicates that there has been no response to a ping.
- pos - Variable in class org.simpleframework.http.message.SegmentConsumer
-
This is used to track the read offset within the header.
- POST - Static variable in interface org.simpleframework.http.Method
-
Request that the origin server accept the entity in the request.
- PRAGMA - Static variable in interface org.simpleframework.http.Protocol
-
Include implementation specific directives that might apply.
- PRECONDITION_FAILED - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client that a precondition has failed.
- Principal - Interface in org.simpleframework.http
-
The
Principalinterface is used to describe a user that has a name and password. - PrincipalParser - Class in org.simpleframework.http.parse
-
PrincipalParser is a parser class for the HTTP basic authorization header.
- PrincipalParser() - Constructor for class org.simpleframework.http.parse.PrincipalParser
-
Creates a
Parserfor the basic authorization scheme. - PrincipalParser(String) - Constructor for class org.simpleframework.http.parse.PrincipalParser
-
Creates a
Parserfor the basic authorization scheme. - process() - Method in class org.simpleframework.http.message.ArrayConsumer
-
This method is invoked after the terminal token has been read.
- process() - Method in class org.simpleframework.http.message.RequestConsumer
-
This method is invoked after the terminal token has been read.
- process() - Method in class org.simpleframework.http.message.SegmentConsumer
-
This is used to process the headers when the terminal token has been fully read from the consumed bytes.
- process(Operation) - Method in class org.simpleframework.transport.reactor.ExecutorReactor
-
This method is used to execute the provided operation without the need to specifically check for I/O events.
- process(Operation) - Method in interface org.simpleframework.transport.reactor.Reactor
-
This method is used to execute the provided operation without the need to specifically check for I/O events.
- process(Operation) - Method in class org.simpleframework.transport.reactor.SynchronousReactor
-
This method is used to execute the provided operation without the need to specifically check for I/O events.
- process(Operation, int) - Method in class org.simpleframework.transport.reactor.ExecutorReactor
-
This method is used to execute the provided operation when there is an I/O event that task is interested in.
- process(Operation, int) - Method in interface org.simpleframework.transport.reactor.Reactor
-
This method is used to execute the provided operation when there is an I/O event that task is interested in.
- process(Operation, int) - Method in class org.simpleframework.transport.reactor.SynchronousReactor
-
This method is used to execute the provided operation when there is an I/O event that task is interested in.
- process(Socket) - Method in class org.simpleframework.http.core.ContainerSocketProcessor
-
This is used to consume HTTP messages that arrive on the socket and dispatch them to the internal container.
- process(Socket) - Method in interface org.simpleframework.transport.SocketProcessor
-
Used to process the
Socketwhich is a full duplex TCP connection to a higher layer the application. - process(Socket) - Method in class org.simpleframework.transport.TransportSocketProcessor
-
Used to connect the
Socketwhich is a full duplex TCP connection to a higher layer the application. - process(Transport) - Method in class org.simpleframework.http.core.ContainerTransportProcessor
-
This is used to consume HTTP messages that arrive on the given transport.
- process(Transport) - Method in interface org.simpleframework.transport.TransportProcessor
-
This is used to process a
Transportinstance in a higher layer that can handle a protocol. - Protocol - Interface in org.simpleframework.http
-
This represents the HTTP header names defined in RFC 2616.
- PROTOCOL_ERROR - Enum constant in enum org.simpleframework.http.socket.CloseCode
-
Indicates the connection is terminating due to a protocol error.
- ProtocolRouter - Class in org.simpleframework.http.socket.service
-
The
ProtocolRouteris used when there are multiple services that can be used. - ProtocolRouter(Map, Service) - Constructor for class org.simpleframework.http.socket.service.ProtocolRouter
-
Constructor for the
ProtocolRouterobject. - PROXY_AUTHENTICATE - Static variable in interface org.simpleframework.http.Protocol
-
Challenge indicating the authentication applicable to the proxy.
- PROXY_AUTHENTICATION_REQUIRED - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client that authentication is required.
- PROXY_AUTHORIZATION - Static variable in interface org.simpleframework.http.Protocol
-
Allows client identification for a proxy requiring authentication.
- push(byte[]) - Method in interface org.simpleframework.transport.ByteCursor
-
Pushes the provided data on to the cursor.
- push(byte[]) - Method in class org.simpleframework.transport.TransportCursor
-
Pushes the provided data on to the cursor.
- push(byte[], int, int) - Method in interface org.simpleframework.transport.ByteCursor
-
Pushes the provided data on to the cursor.
- push(byte[], int, int) - Method in class org.simpleframework.transport.TransportCursor
-
Pushes the provided data on to the cursor.
- put(T, T) - Method in class org.simpleframework.common.parse.MapParser
-
The
putmethod is used to insert the name and value provided into the collection of tokens. - PUT - Static variable in interface org.simpleframework.http.Method
-
Requests that the entity be stored as the resource specified
- putAll(Map) - Method in class org.simpleframework.common.parse.MapParser
-
This method is used to insert a collection of tokens into the parsers map.
Q
- Query - Interface in org.simpleframework.http
-
The
Queryobject is used to represent HTTP query parameters. - QueryParser - Class in org.simpleframework.http.parse
-
The
ParameterParseris used to parse data encoded in theapplication/x-www-form-urlencodedMIME type. - QueryParser() - Constructor for class org.simpleframework.http.parse.QueryParser
-
Constructor for the
ParameterParser. - QueryParser(String) - Constructor for class org.simpleframework.http.parse.QueryParser
-
Constructor for the
ParameterParser.
R
- RANGE - Static variable in interface org.simpleframework.http.Protocol
-
Specifies a range of bytes within a resource to be sent by a server.
- Reactor - Interface in org.simpleframework.transport.reactor
-
The
Reactorinterface is used to describe an object that is used to schedule asynchronous I/O operations. - ReactorEvent - Enum in org.simpleframework.transport.reactor
-
The
ReactorEventenumeration is used for tracing the operations that occur within the reactor. - read() - Method in class org.simpleframework.common.encode.Base64InputStream
-
This is used to read the next byte decoded from the text.
- read(byte[]) - Method in interface org.simpleframework.transport.ByteCursor
-
Reads a block of bytes from the underlying stream.
- read(byte[]) - Method in class org.simpleframework.transport.TransportCursor
-
Reads a block of bytes from the underlying stream.
- read(byte[], int, int) - Method in class org.simpleframework.common.encode.Base64InputStream
-
This is used to read the next byte decoded from the text.
- read(byte[], int, int) - Method in interface org.simpleframework.transport.ByteCursor
-
Reads a block of bytes from the underlying stream.
- read(byte[], int, int) - Method in class org.simpleframework.transport.TransportCursor
-
Reads a block of bytes from the underlying stream.
- read(ByteBuffer) - Method in class org.simpleframework.transport.SocketTransport
-
This is used to perform a non-blocking read on the transport.
- read(ByteBuffer) - Method in interface org.simpleframework.transport.Transport
-
This is used to perform a non-blocking read on the transport.
- READ - Enum constant in enum org.simpleframework.transport.TransportEvent
-
This event represents a read operation on the underlying socket.
- READ_BODY - Enum constant in enum org.simpleframework.http.core.ContainerEvent
-
This event indicates that the server is reading the request body.
- READ_FRAME - Enum constant in enum org.simpleframework.http.socket.service.ServiceEvent
-
This event is dispatched when a frame is read from a WebSocket.
- READ_HEADER - Enum constant in enum org.simpleframework.http.core.ContainerEvent
-
This event indicates that the server is reading the request header.
- READ_INTEREST_READY - Enum constant in enum org.simpleframework.transport.reactor.ReactorEvent
-
This indicates that the I/O read interest has been satisfied.
- READ_PING - Enum constant in enum org.simpleframework.http.socket.service.ServiceEvent
-
This event is dispatched when the WebSocket receives a ping.
- READ_PONG - Enum constant in enum org.simpleframework.http.socket.service.ServiceEvent
-
This event is dispatched when the WebSocket receives a pong.
- READ_WAIT - Enum constant in enum org.simpleframework.transport.TransportEvent
-
This event occurs when there is no more data available to read.
- ready() - Method in interface org.simpleframework.transport.ByteCursor
-
Provides the number of bytes that can be read from the stream without blocking.
- ready() - Method in class org.simpleframework.transport.TransportCursor
-
Provides the number of bytes that can be read from the stream without blocking.
- Reason - Class in org.simpleframework.http.socket
-
The
Reasonobject is used to hold a textual reason for connection closure and an RFC 6455 defined code. - Reason(CloseCode) - Constructor for class org.simpleframework.http.socket.Reason
-
Constructor for the
Reasonobject. - Reason(CloseCode, String) - Constructor for class org.simpleframework.http.socket.Reason
-
Constructor for the
Reasonobject. - REFERER - Static variable in interface org.simpleframework.http.Protocol
-
Allows the client to specify the source address to the server.
- register(FrameListener) - Method in interface org.simpleframework.http.socket.FrameChannel
-
This is used to register a
FrameListenerto this instance. - REGISTER_INTEREST - Enum constant in enum org.simpleframework.transport.reactor.ReactorEvent
-
This occurs upon the initial registration of an I/O interest.
- REGISTER_READ_INTEREST - Enum constant in enum org.simpleframework.transport.reactor.ReactorEvent
-
This occurs upon the initial registration of a read I/O interest.
- REGISTER_WRITE_INTEREST - Enum constant in enum org.simpleframework.transport.reactor.ReactorEvent
-
This occurs upon the initial registration of a write I/O interest.
- remove(Object) - Method in class org.simpleframework.common.lease.LeaseMap
-
This is used to remove the
Leaseobject that is mapped to the specified key. - remove(Object) - Method in class org.simpleframework.common.parse.MapParser
-
The
removemethod is used to remove the named token pair from the collection of tokens. - remove(FrameListener) - Method in interface org.simpleframework.http.socket.FrameChannel
-
This is used to remove a
FrameListenerfrom this instance. - removeEldestEntry(Map.Entry) - Method in class org.simpleframework.common.LeastRecentlyUsedMap
-
This is used to determine if an entry should be removed from the cache.
- renew(long, TimeUnit) - Method in interface org.simpleframework.common.lease.Lease
-
This ensures that the leased resource is maintained for the specified number of
TimeUnitseconds. - request - Variable in class org.simpleframework.http.RequestWrapper
-
This is the request instance that is being wrapped.
- Request - Interface in org.simpleframework.http
-
The
Requestis used to provide an interface to the HTTP entity body and message header. - REQUEST_ENTITY_TOO_LARGE - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client that the request body is too big.
- REQUEST_READY - Enum constant in enum org.simpleframework.http.core.ContainerEvent
-
This event indicates that the request is ready for processing.
- REQUEST_TIMEOUT - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client that the request has timed out.
- REQUEST_URI_TOO_LONG - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client that the request URI is too long.
- RequestConsumer - Class in org.simpleframework.http.message
-
The
RequestConsumerobject is used to parse the HTTP request line followed by the HTTP message headers. - RequestConsumer() - Constructor for class org.simpleframework.http.message.RequestConsumer
-
Constructor for the
RequestConsumerobject. - REQUESTED_RANGE_NOT_SATISFIABLE - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client that the range is invalid.
- RequestHeader - Interface in org.simpleframework.http
-
This is a
Headerobject that is used to represent a basic form for the HTTP request message. - RequestLine - Interface in org.simpleframework.http
-
The
RequestLineis used to represent a HTTP request line. - RequestWrapper - Class in org.simpleframework.http
-
The
RequestWrapperobject is used so that the originalRequestobject can be wrapped in a filtering proxy object. - RequestWrapper(Request) - Constructor for class org.simpleframework.http.RequestWrapper
-
Constructor for
RequestWrapperobject. - RESERVED - Enum constant in enum org.simpleframework.http.socket.CloseCode
-
According to RFC 6455 this has been reserved for future use.
- reset() - Method in class org.simpleframework.http.parse.CookieParser
-
This is used so that the collection of
Cookiescan be reiterated. - reset() - Method in interface org.simpleframework.http.Response
-
This can be used to determine whether the
Responsehas been committed. - reset() - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to determine whether the
Responsehas been committed. - reset(int) - Method in interface org.simpleframework.transport.ByteCursor
-
Moves the cursor backward within the stream.
- reset(int) - Method in class org.simpleframework.transport.TransportCursor
-
Moves the cursor backward within the stream.
- reset(String) - Method in class org.simpleframework.common.parse.ParseBuffer
-
This will reset the buffer in such a way that the buffer is cleared of all contents and then has the given string appended.
- reset(ParseBuffer) - Method in class org.simpleframework.common.parse.ParseBuffer
-
This will reset the buffer in such a way that the buffer is cleared of all contents and then has the given string appended.
- RESET_CONTENT - Enum constant in enum org.simpleframework.http.Status
-
This is used to represent a response that resets the content.
- resize(int) - Method in class org.simpleframework.http.message.ArrayConsumer
-
This method is used to add an additional chunk size to the internal array.
- resize(int) - Method in class org.simpleframework.http.message.SegmentConsumer
-
This method is used to add an additional chunk size to the internal array.
- resolveCode(int, int) - Static method in enum org.simpleframework.http.socket.CloseCode
- resolveScheme(String) - Static method in enum org.simpleframework.http.Scheme
-
This is used to resolve the scheme given a token.
- resolveScheme(URI) - Static method in enum org.simpleframework.http.Scheme
-
This is used to resolve the scheme given a
URI. - resolveType(int) - Static method in enum org.simpleframework.http.socket.FrameType
-
This is used to acquire the frame type given an opcode.
- response - Variable in class org.simpleframework.http.ResponseWrapper
-
This is the response instance that is being wrapped.
- Response - Interface in org.simpleframework.http
-
This is used to represent the HTTP response.
- RESPONSE_FINISHED - Enum constant in enum org.simpleframework.http.core.ContainerEvent
-
This indicates that all the bytes within the response are sent.
- ResponseHeader - Interface in org.simpleframework.http
-
The
ResponseHeaderobject is used to manipulate the header information for a given response. - ResponseWrapper - Class in org.simpleframework.http
-
The
ResponseWrapperobject is used so that the originalResponseobject can be wrapped in a filtering proxy object. - ResponseWrapper(Response) - Constructor for class org.simpleframework.http.ResponseWrapper
-
Constructor for
ResponseWrapperobject. - RETRY_AFTER - Static variable in interface org.simpleframework.http.Protocol
-
Response to indicate how long the service will be unavailable.
- route(Request, Response) - Method in class org.simpleframework.http.socket.service.DirectRouter
-
This is used to route an incoming request to a service if the request represents a WebSocket handshake as defined by RFC 6455.
- route(Request, Response) - Method in class org.simpleframework.http.socket.service.PathRouter
-
This is used to route an incoming request to a service if the request represents a WebSocket handshake as defined by RFC 6455.
- route(Request, Response) - Method in class org.simpleframework.http.socket.service.ProtocolRouter
-
This is used to route an incoming request to a service if the request represents a WebSocket handshake as defined by RFC 6455.
- route(Request, Response) - Method in interface org.simpleframework.http.socket.service.Router
-
This is used to route an incoming request to a service if the request represents a WebSocket handshake as defined by RFC 6455.
- Router - Interface in org.simpleframework.http.socket.service
-
The
Routerinterface represents a means of routing a session initiating request to the correct service. - RouterContainer - Class in org.simpleframework.http.socket.service
-
The
RouterContaineris used to route requests that satisfy a WebSocket opening handshake to a specific service. - RouterContainer(Container, Router, int) - Constructor for class org.simpleframework.http.socket.service.RouterContainer
-
Constructor for the
RouterContainerobject. - RouterContainer(Container, Router, int, long) - Constructor for class org.simpleframework.http.socket.service.RouterContainer
-
Constructor for the
RouterContainerobject.
S
- scan - Variable in class org.simpleframework.http.message.SegmentConsumer
-
This is used to track how much of the terminal is read.
- scan() - Method in class org.simpleframework.http.message.ArrayConsumer
-
This method is used to scan for the terminal token.
- scan() - Method in class org.simpleframework.http.message.SegmentConsumer
-
This method is used to scan for the terminal token.
- Scheduler - Interface in org.simpleframework.common.thread
-
The
Schedulerinterface represents a means to execute a task immediately or after a specified delay. - scheme - Variable in enum org.simpleframework.http.Scheme
-
This is the actual scheme token that is to be used in the URI.
- Scheme - Enum in org.simpleframework.http
-
The
Schemerepresents a scheme used for a URI. - SEC_WEBSOCKET_ACCEPT - Static variable in interface org.simpleframework.http.Protocol
-
Represents the SHA-1 digest of the clients globally unique identifier.
- SEC_WEBSOCKET_KEY - Static variable in interface org.simpleframework.http.Protocol
-
Represents the globally unique identifier sent by the client.
- SEC_WEBSOCKET_PROTOCOL - Static variable in interface org.simpleframework.http.Protocol
-
Specifies the protocol that should be used by the connected parties.
- SEC_WEBSOCKET_VERSION - Static variable in interface org.simpleframework.http.Protocol
-
Represents the version of the protocol that should be used.
- secure - Variable in enum org.simpleframework.http.Scheme
-
This is used to determine if the connection is secure or not.
- SEE_OTHER - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client to see another HTTP resource.
- Segment - Interface in org.simpleframework.http.message
-
The
Segmentobject represents a collection of header values that is followed by a body. - SegmentConsumer - Class in org.simpleframework.http.message
-
The
SegmentConsumerobject provides a consumer that is used to consume a HTTP header. - SegmentConsumer() - Constructor for class org.simpleframework.http.message.SegmentConsumer
-
Constructor for the
SegmentConsumerobject. - SegmentConsumer(int) - Constructor for class org.simpleframework.http.message.SegmentConsumer
-
Constructor for the
SegmentConsumerobject. - SELECT - Enum constant in enum org.simpleframework.transport.reactor.ReactorEvent
-
This event indicates the registration of an I/O interest.
- SELECT_CANCEL - Enum constant in enum org.simpleframework.transport.reactor.ReactorEvent
-
This occurs when a selection key is cancelled for all interests.
- SELECT_EXPIRED - Enum constant in enum org.simpleframework.transport.reactor.ReactorEvent
-
This indicates that the selected I/O interest has not occurred.
- send(byte[]) - Method in interface org.simpleframework.http.socket.FrameChannel
-
This is used to send data to the connected client.
- send(String) - Method in interface org.simpleframework.http.socket.FrameChannel
-
This is used to send text to the connected client.
- send(Frame) - Method in interface org.simpleframework.http.socket.FrameChannel
-
This is used to send data to the connected client.
- SERVER - Static variable in interface org.simpleframework.http.Protocol
-
Contains information about the software used by the origin server.
- Service - Interface in org.simpleframework.http.socket.service
-
The
Serviceinterface represents a service that can be used to communicate with the WebSocket protocol defined in RFC 6455. - SERVICE_UNAVAILABLE - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client the resource is unavailable.
- ServiceEvent - Enum in org.simpleframework.http.socket.service
-
The
ServiceEventenumeration contains the events that are dispatched processing a WebSocket. - Session - Interface in org.simpleframework.http.socket
-
The
Sessionobject represents a simple WebSocket session that contains the connection handshake details and the actual socket. - SET_COOKIE - Static variable in interface org.simpleframework.http.Protocol
-
Represents some value from the server that the client should keep.
- setCharset(String) - Method in interface org.simpleframework.http.ContentType
-
This will set the
charsetto whatever value the string contains. - setCharset(String) - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This will set the
charsetto whatever value the string contains. - setChunkedEncoded() - Method in class org.simpleframework.http.core.Conversation
-
This is used when the output is encoded in the chunked encoding.
- setCode(int) - Method in class org.simpleframework.http.ResponseWrapper
-
This method allows the status for the response to be changed.
- setCode(int) - Method in interface org.simpleframework.http.StatusLine
-
This method allows the status for the response to be changed.
- setConnectionUpgrade() - Method in class org.simpleframework.http.core.Conversation
-
This is used to set the response to a connection upgrade.
- setContentLength(long) - Method in class org.simpleframework.http.core.Conversation
-
This is used to set the content length for the response.
- setContentLength(long) - Method in interface org.simpleframework.http.Response
-
This should be used when the size of the message body is known.
- setContentLength(long) - Method in class org.simpleframework.http.ResponseWrapper
-
This should be used when the size of the message body is known.
- setContentType(String) - Method in interface org.simpleframework.http.Response
-
This is used to set the content type for the response.
- setContentType(String) - Method in class org.simpleframework.http.ResponseWrapper
-
This is used to set the content type for the response.
- setCookie(String, String) - Method in interface org.simpleframework.http.message.Message
-
The
setCookiemethod is used to set a cookie value with the cookie name. - setCookie(String, String) - Method in class org.simpleframework.http.message.MessageHeader
-
The
setCookiemethod is used to set a cookie value with the cookie name. - setCookie(String, String) - Method in interface org.simpleframework.http.ResponseHeader
-
The
setCookiemethod is used to set a cookie value with the cookie name. - setCookie(String, String) - Method in class org.simpleframework.http.ResponseWrapper
-
The
setCookiemethod is used to set a cookie value with the cookie name. - setCookie(Cookie) - Method in interface org.simpleframework.http.message.Message
-
The
setCookiemethod is used to set a cookie value with the cookie name. - setCookie(Cookie) - Method in class org.simpleframework.http.message.MessageHeader
-
The
setCookiemethod is used to set a cookie value with the cookie name. - setCookie(Cookie) - Method in interface org.simpleframework.http.ResponseHeader
-
The
setCookiemethod is used to set a cookie value with the cookie name. - setCookie(Cookie) - Method in class org.simpleframework.http.ResponseWrapper
-
The
setCookiemethod is used to set a cookie value with the cookie name. - setDate(String, long) - Method in interface org.simpleframework.http.message.Message
-
This is used as a convenience method for adding a header that needs to be parsed into a HTTP date string.
- setDate(String, long) - Method in class org.simpleframework.http.message.MessageHeader
-
This is used as a convenience method for adding a header that needs to be parsed into a HTTP date string.
- setDate(String, long) - Method in interface org.simpleframework.http.ResponseHeader
-
This is used as a convenience method for adding a header that needs to be parsed into a HTTP date string.
- setDate(String, long) - Method in class org.simpleframework.http.ResponseWrapper
-
This is used as a convenience method for adding a header that needs to be parsed into a HTTP date string.
- setDescription(String) - Method in class org.simpleframework.http.ResponseWrapper
-
This is used to set the text of the HTTP status line.
- setDescription(String) - Method in interface org.simpleframework.http.StatusLine
-
This is used to set the text of the HTTP status line.
- setDomain(String) - Method in class org.simpleframework.http.Cookie
-
This enables the domain for this
Cookieto be set. - setDomain(String) - Method in class org.simpleframework.http.parse.AddressParser
-
This will set the domain to whatever value is in the string parameter.
- setExpiry(int) - Method in class org.simpleframework.http.Cookie
-
This allows a lifetime to be specified for the cookie.
- setIdentityEncoded() - Method in class org.simpleframework.http.core.Conversation
-
This will remove all explicit transfer encoding headers from the response header.
- setInteger(String, int) - Method in interface org.simpleframework.http.message.Message
-
This can be used to set a HTTP message header to this object.
- setInteger(String, int) - Method in class org.simpleframework.http.message.MessageHeader
-
This can be used to set a HTTP message header to this object.
- setInteger(String, int) - Method in interface org.simpleframework.http.ResponseHeader
-
This can be used to set a HTTP message header to this object.
- setInteger(String, int) - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to set a HTTP message header to this object.
- setLong(String, long) - Method in class org.simpleframework.http.message.MessageHeader
-
This can be used to set a HTTP message header to this object.
- setLong(String, long) - Method in interface org.simpleframework.http.ResponseHeader
-
This can be used to set a HTTP message header to this object.
- setLong(String, long) - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to set a HTTP message header to this object.
- setMajor(int) - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to set the major number from a HTTP version.
- setMajor(int) - Method in interface org.simpleframework.http.StatusLine
-
This can be used to specify the major version.
- setMinor(int) - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to get the minor number from a HTTP version.
- setMinor(int) - Method in interface org.simpleframework.http.StatusLine
-
This can be used to specify the minor version.
- setParameter(String, String) - Method in interface org.simpleframework.http.ContentType
-
This will add a named parameter to the content type header.
- setParameter(String, String) - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This will add a named parameter to the content type header.
- setPath(String) - Method in class org.simpleframework.http.Cookie
-
This is used to set the cookie path for this cookie.
- setPath(String) - Method in class org.simpleframework.http.parse.AddressParser
-
This will set the path to whatever value it is given.
- setPath(Path) - Method in class org.simpleframework.http.parse.AddressParser
-
This will set the path to whatever value it is given.
- setPort(int) - Method in class org.simpleframework.http.parse.AddressParser
-
This will set the port to whatever value it is given.
- setPrimary(String) - Method in interface org.simpleframework.http.ContentType
-
This sets the primary type to whatever value is in the string provided is.
- setPrimary(String) - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This sets the primary type to whatever value is in the string provided is.
- setProtected(boolean) - Method in class org.simpleframework.http.Cookie
-
This is used to protect the cookie from cross site scripting vulnerabilities.
- setQuery(String) - Method in class org.simpleframework.http.parse.AddressParser
-
This will set the query to whatever value it is given.
- setQuery(Query) - Method in class org.simpleframework.http.parse.AddressParser
-
This will set the query to whatever value it is given.
- setScheme(String) - Method in class org.simpleframework.http.parse.AddressParser
-
This allows the scheme for the URI to be specified.
- setSecondary(String) - Method in interface org.simpleframework.http.ContentType
-
This sets the secondary type to whatever value is in the string provided is.
- setSecondary(String) - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This sets the secondary type to whatever value is in the string provided is.
- setSecure(boolean) - Method in class org.simpleframework.http.Cookie
-
This is used to determine if the client browser should send this cookie over a secure protocol.
- setStatus(Status) - Method in class org.simpleframework.http.ResponseWrapper
-
This is used to set the status code and description for this response.
- setStatus(Status) - Method in interface org.simpleframework.http.StatusLine
-
This is used to set the status code and description for this response.
- setValue(String) - Method in class org.simpleframework.http.Cookie
-
This enables the value of the cookie to be changed.
- setValue(String, String) - Method in interface org.simpleframework.http.message.Message
-
This can be used to set a HTTP message header to this object.
- setValue(String, String) - Method in class org.simpleframework.http.message.MessageHeader
-
This can be used to set a HTTP message header to this object.
- setValue(String, String) - Method in interface org.simpleframework.http.ResponseHeader
-
This can be used to set a HTTP message header to this object.
- setValue(String, String) - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to set a HTTP message header to this object.
- setVersion(int) - Method in class org.simpleframework.http.Cookie
-
This enables the version of the
Cookieto be set. - size() - Method in class org.simpleframework.common.parse.MapParser
-
This obviously enough provides the number of tokens that have been inserted into the internal map.
- skip(String) - Method in class org.simpleframework.common.parse.Parser
-
This is used to skip an arbitrary
Stringwithin thecharbuf. - skip(String) - Method in class org.simpleframework.http.parse.CookieParser
-
This is used to skip an arbitrary
Stringwithin thecharbuf. - Socket - Interface in org.simpleframework.transport
-
This is a
Socketinterface that is used to represent a socket. - SocketConnection - Class in org.simpleframework.transport.connect
-
The
SocketConnectionis used to manage connections from a server socket. - SocketConnection(SocketProcessor) - Constructor for class org.simpleframework.transport.connect.SocketConnection
-
Constructor for the
SocketConnectionobject. - SocketConnection(SocketProcessor, TraceAnalyzer) - Constructor for class org.simpleframework.transport.connect.SocketConnection
-
Constructor for the
SocketConnectionobject. - SocketProcessor - Interface in org.simpleframework.transport
-
The
SocketProcessorinterface represents a processor that is used to acceptSocketobjects. - SocketTransport - Class in org.simpleframework.transport
-
The
SocketTransportobject offers a transport that can send and receive bytes in a non-blocking manner. - SocketTransport(Socket, Reactor) - Constructor for class org.simpleframework.transport.SocketTransport
-
Constructor for the
SocketTransportobject. - SocketTransport(Socket, Reactor, int) - Constructor for class org.simpleframework.transport.SocketTransport
-
Constructor for the
SocketTransportobject. - SocketTransport(Socket, Reactor, int, int) - Constructor for class org.simpleframework.transport.SocketTransport
-
Constructor for the
SocketTransportobject. - SocketWrapper - Class in org.simpleframework.transport
-
This is a
SocketWrapperobjects that represents a TCP socket connections. - SocketWrapper(SocketChannel, Trace) - Constructor for class org.simpleframework.transport.SocketWrapper
-
This creates a
SocketWrapperfrom a socket channel. - SocketWrapper(SocketChannel, Trace, SSLEngine) - Constructor for class org.simpleframework.transport.SocketWrapper
-
This creates a
SecureSocketfrom a socket channel. - source - Variable in class org.simpleframework.common.buffer.FilterAllocator
-
This is the allocator the underlying buffer is allocated with.
- space(byte) - Method in class org.simpleframework.http.message.SegmentConsumer
-
This identifies a given ISO-8859-1 byte as a space character.
- space(char) - Method in class org.simpleframework.common.parse.Parser
-
This is used to determine if a given ISO-8859-1 character is a space character.
- start() - Method in class org.simpleframework.common.thread.Daemon
-
This is used to start the internal thread.
- Status - Enum in org.simpleframework.http
-
The
Statusenumeration is used to specify status codes and the descriptions of those status codes. - StatusLine - Interface in org.simpleframework.http
-
The
StatusLineis used to represent a HTTP status line. - stop() - Method in class org.simpleframework.common.thread.ConcurrentExecutor
-
This is used to stop the executor by interrupting all running tasks and shutting down the threads within the pool.
- stop() - Method in class org.simpleframework.common.thread.ConcurrentScheduler
-
This is used to stop the scheduler by interrupting all running tasks and shutting down the threads within the pool.
- stop() - Method in class org.simpleframework.common.thread.Daemon
-
This method is used to stop the thread without forcing it to stop.
- stop() - Method in class org.simpleframework.http.core.ContainerSocketProcessor
-
This method is used to stop the connector in such a way that it will not accept and process any further messages.
- stop() - Method in class org.simpleframework.http.core.ContainerTransportProcessor
-
This method is used to stop the connector in such a way that it will not accept and process any further messages.
- stop() - Method in class org.simpleframework.transport.reactor.ExecutorReactor
-
This is used to stop the reactor so that further requests to execute operations does nothing.
- stop() - Method in interface org.simpleframework.transport.reactor.Reactor
-
This is used to stop the reactor so that further requests to execute operations does nothing.
- stop() - Method in class org.simpleframework.transport.reactor.SynchronousReactor
-
This is used to stop the reactor so that further requests to execute operations does nothing.
- stop() - Method in interface org.simpleframework.transport.SocketProcessor
-
This method is used to stop the
SocketProcessorsuch that it will accept no more sockets. - stop() - Method in interface org.simpleframework.transport.trace.TraceAnalyzer
-
This is used to stop the agent and clear all trace information.
- stop() - Method in interface org.simpleframework.transport.TransportProcessor
-
This method is used to stop the
TransportProcessorsuch that it will accept no more pipelines. - stop() - Method in class org.simpleframework.transport.TransportSocketProcessor
-
This is implemented to shut down the server asynchronously.
- stop(long) - Method in class org.simpleframework.common.thread.ConcurrentExecutor
-
This is used to stop the executor by interrupting all running tasks and shutting down the threads within the pool.
- stop(long) - Method in class org.simpleframework.common.thread.ConcurrentScheduler
-
This is used to stop the scheduler by interrupting all running tasks and shutting down the threads within the pool.
- SWITCHING_PROTOCOLS - Enum constant in enum org.simpleframework.http.Status
-
This represents a change in the protocol the client is using.
- SynchronousExecutor - Class in org.simpleframework.common.thread
-
The
SynchronousExecutorobject is used for synchronous execution of tasks. - SynchronousExecutor() - Constructor for class org.simpleframework.common.thread.SynchronousExecutor
- SynchronousReactor - Class in org.simpleframework.transport.reactor
-
The
SynchronousReactorobject is used to execute the ready operations of within a single synchronous thread. - SynchronousReactor() - Constructor for class org.simpleframework.transport.reactor.SynchronousReactor
-
Constructor for the
SynchronousReactorobject. - SynchronousReactor(boolean) - Constructor for class org.simpleframework.transport.reactor.SynchronousReactor
-
Constructor for the
SynchronousReactorobject.
T
- target - Variable in class org.simpleframework.http.message.RequestConsumer
-
This represents the raw request URI in an unparsed form.
- TE - Static variable in interface org.simpleframework.http.Protocol
-
Indicates what extension transfer codings it is willing to accept.
- TEMPORARY_REDIRECT - Enum constant in enum org.simpleframework.http.Status
-
This is used to redirect the client to a resource that has moved.
- terminal(byte) - Method in class org.simpleframework.http.message.SegmentConsumer
-
This determines if an ISO-8859-1 byte is a terminal character.
- TERMINATE_SOCKET - Enum constant in enum org.simpleframework.http.socket.service.ServiceEvent
-
This event is dispatched when a WebSocket channel is closed.
- TEXT - Enum constant in enum org.simpleframework.http.socket.FrameType
-
A text frame identifies a message that contains UTF-8 text data.
- TEXT - Static variable in interface org.simpleframework.http.Protocol
-
Represents a message type containing human readable text.
- TextData - Class in org.simpleframework.http.socket
-
The
TextDataobject represents a text payload for a WebScoket frame. - TextData(String) - Constructor for class org.simpleframework.http.socket.TextData
-
Constructor for the
TextDataobject. - TLS_HANDSHAKE_FAILURE - Enum constant in enum org.simpleframework.http.socket.CloseCode
-
Indicates a validation failure for TLS and should not be used.
- toClientString() - Method in class org.simpleframework.http.Cookie
-
This will give the correct string value of this cookie.
- toLong() - Method in class org.simpleframework.http.parse.DateParser
-
This returns the date in as a
long, given the exact time this will use thejava.util.Dateto parse this date into along. - toLower(char) - Method in class org.simpleframework.common.parse.Parser
-
This takes a unicode character and assumes an encoding of ISO-8859-1.
- TOO_BIG - Enum constant in enum org.simpleframework.http.socket.CloseCode
-
Indicates that a payload is too big to be processed.
- toString() - Method in class org.simpleframework.common.encode.Base64InputStream
-
This returns the original base64 text that was encoded.
- toString() - Method in class org.simpleframework.common.encode.Base64OutputStream
-
This returns the base64 text encoded from the bytes written to the stream.
- toString() - Method in class org.simpleframework.common.parse.ParseBuffer
-
This will return the characters that have been appended to the
ParseBufferas aStringobject. - toString() - Method in interface org.simpleframework.http.Address
-
This is used to convert this URI object into a
Stringobject. - toString() - Method in interface org.simpleframework.http.ContentType
-
This will return the value of the MIME type as a string.
- toString() - Method in class org.simpleframework.http.Cookie
-
The
toStringmethod converts the cookie to the Set-Cookie value. - toString() - Method in interface org.simpleframework.http.message.Header
-
This method returns a string representing the header that was consumed by this consumer.
- toString() - Method in class org.simpleframework.http.message.RequestConsumer
-
This is used to convert the byte range to a string.
- toString() - Method in class org.simpleframework.http.message.SegmentConsumer
-
This is used to provide a string representation of the header read.
- toString() - Method in class org.simpleframework.http.parse.AddressParser
-
This is used to convert this URI object into a
Stringobject. - toString() - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This will return the value of the MIME type as a string.
- toString() - Method in class org.simpleframework.http.parse.DateParser
-
This prints the date in the format of a RFC 1123 date.
- toString() - Method in class org.simpleframework.http.parse.PathParser
-
This will return the normalized path.
- toString() - Method in class org.simpleframework.http.parse.QueryParser
-
This
toStringmethod is used to compose an string in theapplication/x-www-form-urlencodedMIME type. - toString() - Method in interface org.simpleframework.http.Path
-
This will return the normalized path.
- toString() - Method in interface org.simpleframework.http.Query
-
This will return all parameters represented using the HTTP URL query format.
- toString() - Method in interface org.simpleframework.http.RequestHeader
-
This method returns a string representing the header that was consumed for this request.
- toString() - Method in class org.simpleframework.http.RequestWrapper
-
This method returns a string representing the header that was consumed for this request.
- toString() - Method in interface org.simpleframework.http.ResponseHeader
-
This method returns a string representing the header that was generated for this header.
- toString() - Method in class org.simpleframework.http.ResponseWrapper
-
This method returns a string representing the header that was generated for this header.
- toString() - Method in class org.simpleframework.http.socket.DataFrame
-
This returns the text payload that is to be sent with the frame.
- toString() - Method in class org.simpleframework.http.socket.Reason
-
This is used to provide a textual representation of the reason.
- toString(Set) - Method in class org.simpleframework.http.parse.QueryParser
-
This
toStringmethod is used to compose an string in theapplication/x-www-form-urlencodedMIME type. - trace - Variable in class org.simpleframework.http.message.EntityConsumer
-
This is used to trace the progress of the request consumption.
- trace(Object) - Method in interface org.simpleframework.transport.trace.Trace
-
This method is used to accept an event that occurred on the socket associated with this trace.
- trace(Object, Object) - Method in interface org.simpleframework.transport.trace.Trace
-
This method is used to accept an event that occurred on the socket associated with this trace.
- Trace - Interface in org.simpleframework.transport.trace
-
The
Traceinterface represents an trace log for various connection events. - TRACE - Static variable in interface org.simpleframework.http.Method
-
Invoke a remote application layer loop back of the request.
- TraceAnalyzer - Interface in org.simpleframework.transport.trace
-
The
TraceAnalyzerobject represents a tracing analyzer used to monitor events on a socket. - TRAILER - Static variable in interface org.simpleframework.http.Protocol
-
Indicates that these header fields is present in the trailer.
- TRANSFER_ENCODING - Static variable in interface org.simpleframework.http.Protocol
-
Indicates the transformation has been applied to the message body.
- Transport - Interface in org.simpleframework.transport
-
The
Transportinterface represents a low level means to deliver content to the connected client. - TransportChannel - Class in org.simpleframework.transport
-
The
TransportChannelprovides a means to deliver and receive content over a transport. - TransportChannel(Transport) - Constructor for class org.simpleframework.transport.TransportChannel
-
Constructor for the
TransportChannelobject. - TransportCursor - Class in org.simpleframework.transport
-
The
TransportCursorobject represents a cursor that can read and buffer data from an underlying transport. - TransportCursor(Transport) - Constructor for class org.simpleframework.transport.TransportCursor
-
Constructor for the
TransportCursorobject. - TransportCursor(Transport, int) - Constructor for class org.simpleframework.transport.TransportCursor
-
Constructor for the
TransportCursorobject. - TransportEvent - Enum in org.simpleframework.transport
-
The
TransportEventenum represents various events that can occur with the transport. - TransportException - Exception Class in org.simpleframework.transport
-
The
TransportExceptionobject is thrown when there is a problem with the transport. - TransportException(String) - Constructor for exception class org.simpleframework.transport.TransportException
-
Constructor for the
TransportExceptionobject. - TransportException(String, Throwable) - Constructor for exception class org.simpleframework.transport.TransportException
-
Constructor for the
TransportExceptionobject. - TransportProcessor - Interface in org.simpleframework.transport
-
This is the
TransportProcessorused to process the provided transport in a higher layer. - TransportSocketProcessor - Class in org.simpleframework.transport
-
The
TransportSocketProcessoris used to convert sockets to transports. - TransportSocketProcessor(TransportProcessor) - Constructor for class org.simpleframework.transport.TransportSocketProcessor
-
Constructor for the
TransportSocketProcessorobject. - TransportSocketProcessor(TransportProcessor, int) - Constructor for class org.simpleframework.transport.TransportSocketProcessor
-
Constructor for the
TransportSocketProcessorobject. - TransportSocketProcessor(TransportProcessor, int, int) - Constructor for class org.simpleframework.transport.TransportSocketProcessor
-
Constructor for the
TransportSocketProcessorobject. - TransportSocketProcessor(TransportProcessor, int, int, int) - Constructor for class org.simpleframework.transport.TransportSocketProcessor
-
Constructor for the
TransportSocketProcessorobject. - TransportSocketProcessor(TransportProcessor, int, int, int, boolean) - Constructor for class org.simpleframework.transport.TransportSocketProcessor
-
Constructor for the
TransportSocketProcessorobject. - TransportWriter - Class in org.simpleframework.transport
-
The
TransportWriterobject is used to write bytes to and underlying transport. - TransportWriter(Transport) - Constructor for class org.simpleframework.transport.TransportWriter
-
Constructor for the
TransportWriterobject. - type - Variable in class org.simpleframework.http.message.SegmentConsumer
-
This is used to parse the content type header consumed.
- type(String) - Method in class org.simpleframework.http.message.SegmentConsumer
-
This is used to parse the content type header header so that the MIME type is available to the segment.
U
- UNAUTHORIZED - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client that authorization is required.
- UNSUPPORTED_DATA - Enum constant in enum org.simpleframework.http.socket.CloseCode
-
Indicates the connection received a data type it cannot accept.
- UNSUPPORTED_MEDIA_TYPE - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client that the content type is invalid.
- update(byte[], int, int) - Method in class org.simpleframework.http.message.ChunkedConsumer
-
This is used to process the bytes that have been read from the cursor.
- update(byte[], int, int) - Method in class org.simpleframework.http.message.FixedLengthConsumer
-
This is used to process the bytes that have been read from the cursor.
- update(byte[], int, int) - Method in class org.simpleframework.http.message.UpdateConsumer
-
This is used to process the bytes that have been read from the cursor.
- UPDATE_INTEREST - Enum constant in enum org.simpleframework.transport.reactor.ReactorEvent
-
This is used to indicate the operation interest changed.
- UPDATE_READ_INTEREST - Enum constant in enum org.simpleframework.transport.reactor.ReactorEvent
-
This occurs upon the initial registration of a read I/O interest.
- UPDATE_WRITE_INTEREST - Enum constant in enum org.simpleframework.transport.reactor.ReactorEvent
-
This occurs upon the initial registration of a write I/O interest.
- UpdateConsumer - Class in org.simpleframework.http.message
-
The
UpdateConsumerobject is used to create a consumer that is used to consume and process large bodies. - UpdateConsumer() - Constructor for class org.simpleframework.http.message.UpdateConsumer
-
Constructor for the
UpdateConsumerobject. - UpdateConsumer(int) - Constructor for class org.simpleframework.http.message.UpdateConsumer
-
Constructor for the
UpdateConsumerobject. - UPGRADE - Static variable in interface org.simpleframework.http.Protocol
-
Specifies additional communication protocols the client supports.
- URL_ENCODED - Static variable in interface org.simpleframework.http.Protocol
-
Represents a message type that contains HTML form posted data.
- USE_PROXY - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client that it should use a proxy.
- USER_AGENT - Static variable in interface org.simpleframework.http.Protocol
-
Contains information about the user agent originating the request.
V
- value - Variable in class org.simpleframework.http.message.SegmentConsumer
-
During parsing this is used to store the parsed header value.
- valueOf(String) - Static method in enum org.simpleframework.http.core.ContainerEvent
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.simpleframework.http.Scheme
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.simpleframework.http.socket.CloseCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.simpleframework.http.socket.FrameType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.simpleframework.http.socket.service.ServiceEvent
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.simpleframework.http.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.simpleframework.transport.connect.ConnectionEvent
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.simpleframework.transport.reactor.ReactorEvent
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.simpleframework.transport.TransportEvent
-
Returns the enum constant of this type with the specified name.
- ValueParser - Class in org.simpleframework.http.parse
-
The
ValueParseris used to extract a comma separated list of HTTP header values. - ValueParser() - Constructor for class org.simpleframework.http.parse.ValueParser
-
Constructor for the
ValueParser. - ValueParser(String) - Constructor for class org.simpleframework.http.parse.ValueParser
-
Constructor for the
ValueParser. - ValueParser(List) - Constructor for class org.simpleframework.http.parse.ValueParser
-
Constructor for the
ValueParser. - values() - Method in class org.simpleframework.common.parse.MapParser
-
This method is used to acquire the value for all tokens that have currently been collected by this parser.
- values() - Static method in enum org.simpleframework.http.core.ContainerEvent
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.simpleframework.http.Scheme
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.simpleframework.http.socket.CloseCode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.simpleframework.http.socket.FrameType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.simpleframework.http.socket.service.ServiceEvent
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.simpleframework.http.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.simpleframework.transport.connect.ConnectionEvent
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.simpleframework.transport.reactor.ReactorEvent
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.simpleframework.transport.TransportEvent
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VARY - Static variable in interface org.simpleframework.http.Protocol
-
Indicates the headers that can make a cached resource stale.
- version() - Method in class org.simpleframework.http.message.RequestConsumer
-
This will parse HTTP version from the first line of the header and store the parsed string internally.
- VERSION_NOT_SUPPORTED - Enum constant in enum org.simpleframework.http.Status
-
This is used to tell the client the request version is invalid.
- VIA - Static variable in interface org.simpleframework.http.Protocol
-
Used by gateways and proxies to indicate the intermediate protocols.
W
- WARNING - Static variable in interface org.simpleframework.http.Protocol
-
Used to carry additional information about the status or body.
- WEBSOCKET - Static variable in interface org.simpleframework.http.Protocol
-
This is the protocol token that is used when upgrading.
- white(byte) - Method in class org.simpleframework.http.message.SegmentConsumer
-
This is used to determine if a given ISO-8859-1 byte is a white space character, such as a tab or space or a terminal character, such as a carriage return or a new line.
- write(byte[]) - Method in interface org.simpleframework.transport.ByteWriter
-
This method is used to deliver the provided array of bytes to the underlying transport.
- write(byte[]) - Method in class org.simpleframework.transport.TransportWriter
-
This method is used to deliver the provided array of bytes to the underlying transport.
- write(byte[], int, int) - Method in class org.simpleframework.common.encode.Base64OutputStream
-
This method is used to write data as base64 to an internal buffer.
- write(byte[], int, int) - Method in interface org.simpleframework.transport.ByteWriter
-
This method is used to deliver the provided array of bytes to the underlying transport.
- write(byte[], int, int) - Method in class org.simpleframework.transport.TransportWriter
-
This method is used to deliver the provided array of bytes to the underlying transport.
- write(int) - Method in class org.simpleframework.common.encode.Base64OutputStream
-
This method is used to write data as base64 to an internal buffer.
- write(ByteBuffer) - Method in interface org.simpleframework.transport.ByteWriter
-
This method is used to deliver the provided buffer of bytes to the underlying transport.
- write(ByteBuffer) - Method in class org.simpleframework.transport.SocketTransport
-
This method is used to deliver the provided buffer of bytes to the underlying transport.
- write(ByteBuffer) - Method in interface org.simpleframework.transport.Transport
-
This method is used to deliver the provided buffer of bytes to the underlying transport.
- write(ByteBuffer) - Method in class org.simpleframework.transport.TransportWriter
-
This method is used to deliver the provided buffer of bytes to the underlying transport.
- write(ByteBuffer, int, int) - Method in interface org.simpleframework.transport.ByteWriter
-
This method is used to deliver the provided buffer of bytes to the underlying transport.
- write(ByteBuffer, int, int) - Method in class org.simpleframework.transport.TransportWriter
-
This method is used to deliver the provided buffer of bytes to the underlying transport.
- WRITE - Enum constant in enum org.simpleframework.transport.TransportEvent
-
This event represents a write operation on the underlying socket.
- WRITE_BLOCKING - Enum constant in enum org.simpleframework.transport.TransportEvent
-
This event occurs when a thread must wait for a write to finish.
- WRITE_BODY - Enum constant in enum org.simpleframework.http.core.ContainerEvent
-
This event indicates that the server is writing the response body.
- WRITE_BUFFER - Enum constant in enum org.simpleframework.transport.TransportEvent
-
This event represents a write buffer operation on the underlying socket.
- WRITE_FRAME - Enum constant in enum org.simpleframework.http.socket.service.ServiceEvent
-
This event is dispatched when a frame is sent over a WebSocket.
- WRITE_HEADER - Enum constant in enum org.simpleframework.http.core.ContainerEvent
-
This event indicates that the server is writing the response header.
- WRITE_HEADER - Enum constant in enum org.simpleframework.http.socket.service.ServiceEvent
-
This event is dispatched when the response handshake is sent.
- WRITE_INTEREST_READY - Enum constant in enum org.simpleframework.transport.reactor.ReactorEvent
-
This indicates that the I/O write interest has been satisfied.
- WRITE_PING - Enum constant in enum org.simpleframework.http.socket.service.ServiceEvent
-
This event is dispatched when a ping is sent over a WebSocket.
- WRITE_PONG - Enum constant in enum org.simpleframework.http.socket.service.ServiceEvent
-
This event is dispatched when a pong is sent over a WebSocket.
- WRITE_WAIT - Enum constant in enum org.simpleframework.transport.TransportEvent
-
This event occurs when no more data can be sent over the socket.
- WS - Enum constant in enum org.simpleframework.http.Scheme
-
This represents the scheme for a plaintext WebSocket connection.
- WSS - Enum constant in enum org.simpleframework.http.Scheme
-
This represents the scheme for WebSocket over TLS connection.
- WWW_AUTHENTICATE - Static variable in interface org.simpleframework.http.Protocol
-
Uses to challenge a client for authentication for a resource.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form