A B C D E F G H I K L M N O P Q R S T U V W Y Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ABNORMAL_CLOSURE - org.simpleframework.http.socket.CloseCode
-
Indicates an abnormal closure and should not be used.
- abort() - Method in class org.simpleframework.transport.SocketFlusher
-
This is used to abort the flushing process when the reactor has been stopped.
- absoluteURI() - Method in class org.simpleframework.http.parse.AddressParser
-
This is a specific definition of a type of URI.
- accept() - Method in class org.simpleframework.http.socket.service.ResponseBuilder
-
This is used to respond to the client with a HTTP 101 response to indicate that the WebSocket handshake succeeeded.
- accept() - Method in class org.simpleframework.transport.connect.SocketAcceptor
-
The main processing done by this object is done using a thread calling the
run
method. - accept(File) - Method in class org.simpleframework.common.buffer.FileWatcher
-
This determines if the file provided is an acceptable file for deletion.
- accept(File, String) - Method in class org.simpleframework.common.buffer.FileWatcher
-
This determines if the file provided is an acceptable file for deletion.
- ACCEPT - 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 - org.simpleframework.http.Status
-
This is used to signify that the request has been accepted.
- acceptor - Variable in class org.simpleframework.transport.connect.SocketListener
-
This is the acceptor that is used to accept the connections.
- AcceptToken - Class in org.simpleframework.http.socket.service
-
The
AcceptToken
is used to create a unique token based on a random key sent by the client. - AcceptToken(Request) - Constructor for class org.simpleframework.http.socket.service.AcceptToken
-
Constructor for the
AcceptToken
object. - AcceptToken(Request, String) - Constructor for class org.simpleframework.http.socket.service.AcceptToken
-
Constructor for the
AcceptToken
object. - AcceptToken(Request, String, String) - Constructor for class org.simpleframework.http.socket.service.AcceptToken
-
Constructor for the
AcceptToken
object. - action - Variable in class org.simpleframework.transport.reactor.CancelAction
-
This is the operation object that is to be canceled.
- Action - Interface in org.simpleframework.transport.reactor
-
The
Action
object is used to represent an action that the distributor is to process. - ActionDistributor - Class in org.simpleframework.transport.reactor
-
The
ActionDistributor
is used to execute operations that have an interested I/O event ready. - ActionDistributor(Executor) - Constructor for class org.simpleframework.transport.reactor.ActionDistributor
-
Constructor for the
ActionDistributor
object. - ActionDistributor(Executor, boolean) - Constructor for class org.simpleframework.transport.reactor.ActionDistributor
-
Constructor for the
ActionDistributor
object. - ActionDistributor(Executor, boolean, long) - Constructor for class org.simpleframework.transport.reactor.ActionDistributor
-
Constructor for the
ActionDistributor
object. - ActionSelector - Class in org.simpleframework.transport.reactor
-
The
ActionSelector
object is used to perform socket based selection with the help of theActionSet
object. - ActionSelector() - Constructor for class org.simpleframework.transport.reactor.ActionSelector
-
Constructor for the
ActionSelector
object. - ActionSet - Class in org.simpleframework.transport.reactor
-
The
ActionSet
object represents a set of actions that are associated with a particular selection key. - ActionSet(SelectionKey) - Constructor for class org.simpleframework.transport.reactor.ActionSet
-
Constructor for the
ActionSet
object. - active - Variable in class org.simpleframework.common.thread.Daemon
-
This is used to determine if the daemon is active.
- adapter - Variable in class org.simpleframework.http.core.ContainerSocketProcessor
-
This is used to deliver pipelines to the container.
- add(int, int) - Method in class org.simpleframework.http.parse.PathParser.TokenList
-
This is used to add a new token to the list.
- 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.
- add(Query) - Method in class org.simpleframework.http.core.QueryCombiner
-
This method is used to insert a collection of tokens into the parsers map.
- 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.
- addPart(Part) - Method in class org.simpleframework.http.message.PartData
-
This is used to add a part to the list.
- addPart(Part) - Method in interface org.simpleframework.http.message.PartSeries
-
This is used to add a part to the list.
- address - Variable in class org.simpleframework.transport.connect.SocketAcceptor
-
This is the local address to bind the listen socket to.
- Address - Interface in org.simpleframework.http
-
The
Address
interface 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
AddressParser
that contains no specifics. - AddressParser(String) - Constructor for class org.simpleframework.http.parse.AddressParser
-
This is primarily a convenience constructor.
- AddressParser.ParameterMap - Class in org.simpleframework.http.parse
-
The
ParameterMap
is uses to store the parameters that are to be encoded in to the address. - AddressParser.Token - Class in org.simpleframework.http.parse
-
This is used as an alternative to the
ParseBuffer
for extracting tokens from the URI without allocating memory. - 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 class org.simpleframework.common.buffer.ArrayBuffer.Segment
-
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.FileBuffer
-
This is used to allocate a segment within this buffer.
- allocate() - Method in class org.simpleframework.common.buffer.FileBuffer.Segment
-
This is used to allocate a segment within this buffer.
- 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 - Variable in class org.simpleframework.http.core.ContainerController
-
This is the allocator used to create the buffers needed.
- allocator - Variable in class org.simpleframework.http.message.BoundaryConsumer
-
This is used to allocate a buffer for for the boundary.
- allocator - Variable in class org.simpleframework.http.message.ChunkedConsumer
-
This is used to create the internal buffer for the body.
- allocator - Variable in class org.simpleframework.http.message.ConsumerFactory
-
This is used to allocate the memory associated with the body.
- allocator - Variable in class org.simpleframework.http.message.ContentConsumer
-
This is used to allocate the internal buffer when required.
- allocator - Variable in class org.simpleframework.http.message.FixedLengthConsumer
-
This is the allocator used to allocate the buffer used.
- allocator - Variable in class org.simpleframework.http.message.PartEntryFactory
-
This is used to allocate the buffers used by the entry.
- allocator - Variable in class org.simpleframework.http.message.PartHeaderConsumer
-
This is used to allocate the internal buffer for the header.
- allocator - Variable in class org.simpleframework.http.message.TokenConsumer
-
This is used to allocate a buffer to append the contents.
- Allocator - Interface in org.simpleframework.common.buffer
-
The
Allocator
interface 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.
- alpha(char) - Method in class org.simpleframework.http.parse.AddressParser
-
This is used to determine wheather or not a given unicode character is an alphabetic character.
- ALPHABET - Static variable in class org.simpleframework.common.encode.Base64Encoder
-
This contains the base64 alphabet used for encoding.
- alphanum(char) - Method in class org.simpleframework.http.parse.AddressParser
-
This is used to determine wheather or not a given unicode character is an alphabetic character or a digit character.
- ALREADY_SELECTING - org.simpleframework.transport.reactor.ReactorEvent
-
This is used to indicate the channel is already selecting.
- analyzer - Variable in class org.simpleframework.transport.connect.SocketAcceptor
-
This is the tracing analyzer used to trace accepted sockets.
- analyzer - Variable in class org.simpleframework.transport.connect.SocketAnalyzer
-
This is the analyzer that is used to create the trace objects.
- analyzer - Variable in class org.simpleframework.transport.connect.SocketListenerManager
-
This is the analyzer used to create a trace for the sockets.
- append() - Method in class org.simpleframework.http.message.PartHeaderConsumer
-
This is used to allocate the internal buffer and append the consumed bytes to the buffer.
- 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 class org.simpleframework.common.buffer.ArrayBuffer.Segment
-
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[]) - Method in class org.simpleframework.common.buffer.FileBuffer
-
This is used to append the specified data to the underlying file.
- append(byte[]) - Method in class org.simpleframework.common.buffer.FileBuffer.Segment
-
This is used to append the specified data to the underlying file.
- append(byte[]) - Method in class org.simpleframework.http.message.BoundaryConsumer
-
This is used to append a token to the underlying 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 class org.simpleframework.common.buffer.ArrayBuffer.Segment
-
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(byte[], int, int) - Method in class org.simpleframework.common.buffer.FileBuffer
-
This is used to append the specified data to the underlying file.
- append(byte[], int, int) - Method in class org.simpleframework.common.buffer.FileBuffer.Segment
-
This is used to append the specified data to the underlying file.
- append(byte[], int, int) - Method in class org.simpleframework.http.message.ChunkedConsumer
-
This method is used to append the contents of the array to the internal buffer.
- append(byte[], int, int) - Method in class org.simpleframework.http.message.ContentConsumer
-
This method is used to append the contents of the array to the internal buffer.
- append(byte[], int, int) - Method in class org.simpleframework.http.message.FixedLengthConsumer
-
This method is used to append the contents of the array to the internal buffer.
- append(char) - Method in class org.simpleframework.common.parse.ParseBuffer
-
This will add a
char
to the end of the buffer. - append(char[], int, int) - Method in class org.simpleframework.common.parse.ParseBuffer
-
This will add a
char
to the end of the buffer. - append(String) - Method in class org.simpleframework.common.parse.ParseBuffer
-
This will add a
String
to the end of the buffer. - append(String, int, int) - Method in class org.simpleframework.common.parse.ParseBuffer
-
This will add a
String
to the end of the buffer. - append(ByteBuffer) - Method in class org.simpleframework.transport.SocketBufferAppender
-
This will append bytes within the given buffer to the buffer.
- append(ByteBuffer, int) - Method in class org.simpleframework.transport.SecureTransport
-
This will append bytes within the transport to the given buffer.
- append(ByteBuffer, int) - Method in class org.simpleframework.transport.SocketBufferAppender
-
This will append bytes within the given buffer to the buffer.
- append(ParseBuffer) - Method in class org.simpleframework.common.parse.ParseBuffer
-
This will add a
ParseBuffer
to the end of this. - append(ParseBuffer, int, int) - Method in class org.simpleframework.common.parse.ParseBuffer
-
This will add a
ParseBuffer
to the end of this. - appender - Variable in class org.simpleframework.transport.SocketBuffer
-
This is a small internal buffer to collect fragments.
- 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.RequestConsumer.Token
-
This is the array that contains the header 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
ArrayAllocator
object 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
ArrayAllocator
object. - ArrayAllocator(int) - Constructor for class org.simpleframework.common.buffer.ArrayAllocator
-
Constructor for the
ArrayAllocator
object. - ArrayAllocator(int, int) - Constructor for class org.simpleframework.common.buffer.ArrayAllocator
-
Constructor for the
ArrayAllocator
object. - ArrayBuffer - Class in org.simpleframework.common.buffer
-
The
ArrayBuffer
is 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
ArrayBuffer
object. - ArrayBuffer(int) - Constructor for class org.simpleframework.common.buffer.ArrayBuffer
-
Constructor for the
ArrayBuffer
object. - ArrayBuffer(int, int) - Constructor for class org.simpleframework.common.buffer.ArrayBuffer
-
Constructor for the
ArrayBuffer
object. - ArrayBuffer.Segment - Class in org.simpleframework.common.buffer
-
A
Segment
represents a segment within a buffer. - ArrayConsumer - Class in org.simpleframework.http.message
-
The
ArrayConsumer
object 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
ArrayConsumer
object. - ArrayConsumer(int) - Constructor for class org.simpleframework.http.message.ArrayConsumer
-
Constructor for the
ArrayConsumer
object. - ArrayConsumer(int, int) - Constructor for class org.simpleframework.http.message.ArrayConsumer
-
Constructor for the
ArrayConsumer
object. - asctime() - Method in class org.simpleframework.http.parse.DateParser
-
This will parse a date that is in the form of an asctime date.
- attach(SelectableChannel) - Method in class org.simpleframework.transport.connect.SocketAnalyzer
-
This method is used to attach a trace to the specified channel.
- attach(SelectableChannel) - Method in interface org.simpleframework.transport.trace.TraceAnalyzer
-
This method is used to attach a trace to the specified channel.
- attach(Action) - Method in class org.simpleframework.transport.reactor.ActionSet
-
This is used to attach an action to the set for a specific interest bitmask.
- attributes - Variable in class org.simpleframework.http.socket.service.ServiceSession
-
This is the bag of attributes used by this session.
- AUTHORIZATION - Static variable in interface org.simpleframework.http.Protocol
-
Sent by a client that wishes to authenticate itself with a server.
- available() - Method in class org.simpleframework.common.buffer.FileBuffer.Range
-
This returns the number of bytes that can be read from the range.
B
- BAD_GATEWAY - org.simpleframework.http.Status
-
This is used to tell the client that the gateway is invalid.
- BAD_REQUEST - org.simpleframework.http.Status
-
This is used to tell the client they have send an invalid request.
- barrier - Variable in class org.simpleframework.http.socket.service.FrameEncoder
-
This is the underlying sender used to send the frames.
- Base64Encoder - Class in org.simpleframework.common.encode
-
The
Base64Encoder
is used to encode and decode base64 content. - Base64Encoder() - Constructor for class org.simpleframework.common.encode.Base64Encoder
- Base64InputStream - Class in org.simpleframework.common.encode
-
The
Base64InputStream
is 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
Base64InputStream
object. - Base64OutputStream - Class in org.simpleframework.common.encode
-
The
Base64OutputStream
is 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
Base64OutputStream
object. - Base64OutputStream(int) - Constructor for class org.simpleframework.common.encode.Base64OutputStream
-
Constructor for the
Base64OutputStream
object. - begin() - Method in class org.simpleframework.transport.Handshake
-
This is used to start the negotation.
- binary(int) - Method in class org.simpleframework.http.parse.AddressParser
-
This method determines, using a peek character, whether the sequence of escaped characters within the URI is binary data.
- binary(int) - Method in class org.simpleframework.http.parse.QueryParser
-
This method determines, using a peek character, whether the sequence of escaped characters within the URI is binary data.
- BINARY - org.simpleframework.http.socket.FrameType
-
A binary frame identifies a message that contains binary data.
- BinaryData - Class in org.simpleframework.http.socket
-
The
BinaryData
object represents a binary payload for a WebScoket frame. - BinaryData(byte[]) - Constructor for class org.simpleframework.http.socket.BinaryData
-
Constructor for the
BinaryData
object. - bind() - Method in class org.simpleframework.transport.connect.SocketAcceptor
-
This is used to configure the server socket for non-blocking mode.
- bits(int) - Method in class org.simpleframework.http.parse.AddressParser
-
Defines behaviour for UCS-2 versus UCS-4 conversion from four octets.
- bits(int) - Method in class org.simpleframework.http.parse.QueryParser
-
Defines behaviour for UCS-2 versus UCS-4 conversion from four octets.
- body - Variable in class org.simpleframework.http.core.RequestEntity
-
The body contains the message content sent by the client.
- body - Variable in class org.simpleframework.http.message.BufferPart
-
This is the body that forms the payload for the part.
- body - Variable in class org.simpleframework.http.message.EntityConsumer
-
This is used to consume the body for the request entity.
- body - Variable in class org.simpleframework.http.message.PartConsumer
-
This is used to consume the body data from the part.
- Body - Interface in org.simpleframework.http.message
-
The
Body
interface is used to represent the body of a HTTP entity. - BODY_FINISHED - org.simpleframework.http.core.ContainerEvent
-
This indicates that the server has fully read the request body.
- BodyConsumer - Interface in org.simpleframework.http.message
-
The
BodyConsumer
is used to consume the body of an HTTP message. - BodyEncoder - Interface in org.simpleframework.http.core
-
The
BodyEncoder
object is used to encode content from the HTTP response. - BodyEncoderException - Exception in org.simpleframework.http.core
-
The
BodyEncoderException
object is used to represent an exception that is thrown when there is a problem producing the response body. - BodyEncoderException(String) - Constructor for exception org.simpleframework.http.core.BodyEncoderException
-
Constructor for the
BodyEncoderException
object. - BodyEncoderException(String, Throwable) - Constructor for exception org.simpleframework.http.core.BodyEncoderException
-
Constructor for the
BodyEncoderException
object. - BodyEncoderFactory - Class in org.simpleframework.http.core
-
The
BodyEncoderFactory
is used to create a producer to match the HTTP header sent with the response. - BodyEncoderFactory(BodyObserver, Conversation, Channel) - Constructor for class org.simpleframework.http.core.BodyEncoderFactory
-
Constructor for the
BodyEncoderFactory
object. - BodyObserver - Interface in org.simpleframework.http.core
-
The
BodyObserver
object is core to how the requests are processed from a pipeline. - boundary - Variable in class org.simpleframework.http.message.BoundaryConsumer
-
This is the actual boundary value that is to be consumed.
- boundary - Variable in class org.simpleframework.http.message.ContentConsumer
-
Represents the message boundary that terminates the part body.
- boundary - Variable in class org.simpleframework.http.message.PartEntryConsumer
-
This is used to consume the boundary at the end of a part.
- BOUNDARY - Static variable in interface org.simpleframework.http.Protocol
-
Represents the token used to identify a multipart boundary.
- BoundaryConsumer - Class in org.simpleframework.http.message
-
The
BoundaryConsumer
is used to consume a boundary for a multipart message. - BoundaryConsumer(Allocator, byte[]) - Constructor for class org.simpleframework.http.message.BoundaryConsumer
-
Constructor for the
BoundaryConsumer
object. - 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 - Variable in class org.simpleframework.common.buffer.ArrayBuffer
-
This is the internal array used to store the buffered bytes.
- buffer - Variable in class org.simpleframework.common.buffer.BufferAllocator
-
This is the underlying buffer all other buffers are within.
- buffer - Variable in class org.simpleframework.common.buffer.FileBuffer
-
This is the file output stream used for this buffer object.
- buffer - Variable in class org.simpleframework.common.encode.Base64OutputStream
- buffer - Variable in class org.simpleframework.http.core.ResponseBuffer
-
This is the buffer used to accumulate the response bytes.
- buffer - Variable in class org.simpleframework.http.core.ResponseEntity
-
This is used to buffer the bytes that are sent to the client.
- buffer - Variable in class org.simpleframework.http.message.BoundaryConsumer
-
This is used to consume the contents of the consumed buffer.
- buffer - Variable in class org.simpleframework.http.message.BufferBody
-
This is usd to hold the bytes representing the HTTP body.
- buffer - Variable in class org.simpleframework.http.message.ChunkedConsumer
-
This is the internal buffer used to capture the body read.
- buffer - Variable in class org.simpleframework.http.message.ContentConsumer
-
This is the internal buffer used to house the part body.
- buffer - Variable in class org.simpleframework.http.message.FixedLengthConsumer
-
This is the internal buffer used to accumulate the body.
- buffer - Variable in class org.simpleframework.http.message.PartHeaderConsumer
-
This is the internal buffer used to store the header.
- buffer - Variable in class org.simpleframework.http.message.PartSeriesConsumer
-
This is used to both allocate and buffer the part list body.
- buffer - Variable in class org.simpleframework.http.message.TokenConsumer
-
This is used to append the contents of consumed token.
- buffer - Variable in class org.simpleframework.http.socket.service.FrameConsumer
-
This is used to buffer the bytes that form the frame.
- buffer - Variable in class org.simpleframework.transport.OperationFactory
-
This is the size of the buffers to be used by the transport.
- buffer - Variable in class org.simpleframework.transport.SocketBufferAppender
-
This is the buffer used to store the contents of the buffer.
- buffer - Variable in class org.simpleframework.transport.SocketFlusher
-
This is the writer used to queue the buffers written.
- buffer - Variable in class org.simpleframework.transport.TransportCursor
-
This is the buffer used to collect the bytes pushed back.
- buffer - Variable in class org.simpleframework.transport.TransportReader
-
This is used to store the bytes read from the transport.
- Buffer - Interface in org.simpleframework.common.buffer
-
The
Buffer
interface represents a collection of bytes that can be written to and later read. - BufferAllocator - Class in org.simpleframework.common.buffer
-
The
BufferAllocator
object 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
BufferAllocator
object. - BufferAllocator(Allocator, long) - Constructor for class org.simpleframework.common.buffer.BufferAllocator
-
Constructor for the
BufferAllocator
object. - BufferAllocator(Allocator, long, long) - Constructor for class org.simpleframework.common.buffer.BufferAllocator
-
Constructor for the
BufferAllocator
object. - BufferBody - Class in org.simpleframework.http.message
-
The
Body
interface is used to represent the body of a HTTP entity. - BufferBody() - Constructor for class org.simpleframework.http.message.BufferBody
-
Constructor for the
BufferBody
object. - BufferBody(Buffer) - Constructor for class org.simpleframework.http.message.BufferBody
-
Constructor for the
BufferBody
object. - BufferBody(Buffer, PartSeries) - Constructor for class org.simpleframework.http.message.BufferBody
-
Constructor for the
BufferBody
object. - BufferException - Exception in org.simpleframework.common.buffer
-
The
BufferException
is used to report problems that can occur during the use or allocation of a buffer. - BufferException(String, Object...) - Constructor for exception org.simpleframework.common.buffer.BufferException
-
Constructor for the
BufferException
object. - BufferPart - Class in org.simpleframework.http.message
-
The
BufferPart
is used to represent a part within a request message. - BufferPart(Segment, Buffer) - Constructor for class org.simpleframework.http.message.BufferPart
-
Constructor for the
BufferPart
object. - build - Variable in class org.simpleframework.http.parse.ListParser
-
This is used to determine whether to gather tokens.
- build() - Method in class org.simpleframework.http.core.QueryBuilder
-
This method is used to acquire the query part from the HTTP request URI target and a form post if it exists.
- build() - Method in class org.simpleframework.http.parse.ListParser
-
This is used to remove the
String
tokens from the priority queue and place those tokens in an array. - build() - Method in class org.simpleframework.http.parse.PathParser.TokenList
-
This is used to retrieve the list of tokens inserted to this list using the
add
method. - builder - Variable in class org.simpleframework.http.core.RequestEntity
-
This will create the form object using the query and body.
- builder - Variable in class org.simpleframework.http.socket.service.FrameConsumer
-
This is used to interpret the header and create a frame.
- builder - Variable in class org.simpleframework.http.socket.service.ServiceDispatcher
-
This is used to build the sessions from the handshake request.
- builder - Variable in class org.simpleframework.http.socket.service.SessionDispatcher
-
This is used to create the session for the WebSocket.
- ByteConsumer - Interface in org.simpleframework.http.message
-
The
ByteConsumer
object is used to consume and process bytes from a cursor. - ByteCounter(ByteCursor) - Constructor for class org.simpleframework.http.message.FileUploadConsumer.ByteCounter
-
Constructor for the
Counter
object. - ByteCursor - Interface in org.simpleframework.transport
-
The
ByteCursor
object is used to acquire bytes from a given source. - ByteReader - Interface in org.simpleframework.transport
-
The
ByteReader
object is used to acquire bytes from a given source. - ByteWriter - Interface in org.simpleframework.transport
-
The
ByteWriter
object 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 - Variable in class org.simpleframework.http.parse.PathParser.TokenList
-
This is used to cache the segments that are created.
- CACHE_CONTROL - Static variable in interface org.simpleframework.http.Protocol
-
Specifies directives that must be obeyed by all caching mechanisms.
- cancel - Variable in class org.simpleframework.transport.reactor.ActionDistributor
-
This is used to determine the mode the distributor uses.
- cancel() - Method in class org.simpleframework.common.lease.ContractLease
-
This will cancel the lease and release the resource.
- cancel() - Method in interface org.simpleframework.common.lease.Lease
-
This will cancel the lease and release the resource.
- cancel() - Method in class org.simpleframework.http.core.RequestReader
-
This is used to cancel the operation if it has timed out.
- cancel() - Method in class org.simpleframework.http.socket.service.FrameCollector
-
This is called when a read operation has timed out.
- cancel() - Method in class org.simpleframework.transport.connect.SocketAcceptor
-
This is used to cancel the operation if the reactor decides to reject it for some reason.
- cancel() - Method in class org.simpleframework.transport.FlushSignaller
-
This is used to cancel the operation if it has timed out.
- cancel() - Method in class org.simpleframework.transport.Handshake
-
This is used to terminate the negotiation.
- cancel() - Method in class org.simpleframework.transport.Phase
-
This is used to cancel the operation if it has timed out.
- cancel() - Method in class org.simpleframework.transport.reactor.ActionDistributor
-
This is used to cancel any selection keys that have previously been selected with an interested I/O event.
- cancel() - Method in class org.simpleframework.transport.reactor.ActionSet
-
This is used to cancel the
SelectionKey
associated with the action set. - cancel() - Method in interface org.simpleframework.transport.reactor.Operation
-
This is used to cancel the operation if it has timed out.
- cancel() - Method in class org.simpleframework.transport.TransportDispatcher
-
This is used to cancel the operation if it has timed out.
- cancel(Contract<T>) - Method in interface org.simpleframework.common.lease.ContractController
-
This will cancel the lease and release the resource.
- cancel(Contract<T>) - Method in class org.simpleframework.common.lease.ContractMaintainer
-
This will cancel the lease and release the resource.
- CancelAction - Class in org.simpleframework.transport.reactor
-
The
CancelAction
object is used to represent a task that can be executed to cancel an operation. - CancelAction(Action) - Constructor for class org.simpleframework.transport.reactor.CancelAction
-
Constructor for the
Cancellation
object. - capacity - Variable in class org.simpleframework.common.buffer.FilterAllocator
-
This is the default initial minimum capacity of the buffer.
- capacity - Variable in class org.simpleframework.common.LeastRecentlyUsedMap
-
This is the number of items to keep within the cache.
- capacity() - Method in class org.simpleframework.transport.SocketBufferAppender
-
This represents the capacity of the backing store.
- certificate - Variable in class org.simpleframework.http.core.RequestCertificate
-
This is the raw underlying certificate for the SSL channel.
- certificate - Variable in class org.simpleframework.http.core.RequestCertificate.Challenge
-
This is the certificate associated with the SSL connection.
- certificate - Variable in class org.simpleframework.http.core.RequestEntity
-
This is the certificate associated with the connection.
- certificate - Variable in class org.simpleframework.transport.SecureTransport
-
This is the certificate associated with this SSL connection.
- certificate - Variable in class org.simpleframework.transport.TransportChannel
-
This is the certificate associated with this SSL channel.
- Certificate - Interface in org.simpleframework.transport
-
The
Certificate
interface represents the certificate that is sent by a client during a secure HTTPS conversation. - CERTIFICATE_CHALLENGE - org.simpleframework.transport.TransportEvent
-
This event occurs when a server challenges for an X509 certificate.
- CertificateChallenge - Interface in org.simpleframework.transport
-
The
CertificateChallenge
object is used to challenge a client for their x509 certificate. - challenge - Variable in class org.simpleframework.http.core.RequestCertificate
-
This is used to challenge the client for an X509 certificate.
- challenge - Variable in class org.simpleframework.transport.NegotiationState
-
This is the challenge used to request the client certificate.
- challenge() - Method in class org.simpleframework.http.core.RequestCertificate.Challenge
-
This method will challenge the client for their certificate.
- challenge() - Method in interface org.simpleframework.transport.CertificateChallenge
-
This method will challenge the client for their certificate.
- challenge() - Method in class org.simpleframework.transport.NegotiationState.Challenge
-
This method will challenge the client for their certificate.
- challenge(Runnable) - Method in class org.simpleframework.http.core.RequestCertificate.Challenge
-
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.
- challenge(Runnable) - Method in class org.simpleframework.transport.NegotiationState.Challenge
-
This method will challenge the client for their certificate.
- Challenge(BodyObserver, Entity) - Constructor for class org.simpleframework.http.core.RequestCertificate.Challenge
-
Constructor for the
Challenge
object. - Challenge(Socket) - Constructor for class org.simpleframework.transport.NegotiationState.Challenge
-
Constructor for the
Challenge
object. - channel - Variable in class org.simpleframework.http.core.RequestCertificate.Challenge
-
This is the channel representing the underlying TCP stream.
- channel - Variable in class org.simpleframework.http.core.RequestCertificate
-
This is the channel representing the client connection.
- channel - Variable in class org.simpleframework.http.core.RequestCollector
-
This is the channel used to acquire the underlying data.
- channel - Variable in class org.simpleframework.http.core.RequestDispatcher
-
This is the channel associated with the request to dispatch.
- channel - Variable in class org.simpleframework.http.core.RequestEntity
-
This channel represents the connected pipeline used.
- channel - Variable in class org.simpleframework.http.core.RequestReader
-
This is the channel object associated with the collector.
- channel - Variable in class org.simpleframework.http.core.ResponseEntity
-
This is the underlying channel for the connected pipeline.
- channel - Variable in class org.simpleframework.http.core.ResponseObserver
-
This is the channel associated with the client connection.
- channel - Variable in class org.simpleframework.http.socket.service.FrameCollector
-
This is the underlying channel for this frame collector.
- channel - Variable in class org.simpleframework.http.socket.service.FrameConnection
-
This is the underlying TCP channel that frames are sent over.
- channel - Variable in class org.simpleframework.http.socket.service.FrameEncoder
-
This is the TCP channel the frames are delivered over.
- channel - Variable in class org.simpleframework.http.socket.service.FrameProcessor
-
This is the underlying TCP channel this reads frames from.
- channel - Variable in class org.simpleframework.http.socket.service.OutputBarrier
-
This is the TCP channel the frames are delivered over.
- channel - Variable in class org.simpleframework.http.socket.service.ResponseBuilder
-
This is the underlying TCP channel for the request.
- channel - Variable in class org.simpleframework.http.socket.service.ServiceChannel
-
This is the internal channel for full duplex communication.
- channel - Variable in class org.simpleframework.http.socket.service.ServiceSession
-
The WebSocket used for asynchronous full duplex communication.
- channel - Variable in class org.simpleframework.http.socket.service.StatusChecker
-
This is the underling TCP channel that is being checked.
- channel - Variable in class org.simpleframework.transport.Handshake
-
This is the socket channel used to read and write data to.
- channel - Variable in class org.simpleframework.transport.SocketBuffer
-
This is the underlying socket to sent to the data over.
- channel - Variable in class org.simpleframework.transport.SocketTransport
-
This is the underlying byte channel used to send the data.
- channel - Variable in class org.simpleframework.transport.SocketWrapper
-
This is the socket that provides the input and output.
- channel() - Method in class org.simpleframework.transport.reactor.ActionSet
-
This provides the channel associated with the action set.
- Channel - Interface in org.simpleframework.transport
-
The
Channel
interface represents a connected channel through which data can be sent and received. - CHANNEL_CLOSED - org.simpleframework.transport.reactor.ReactorEvent
-
This occurs on an attempt to register an closed channel.
- charAt(int) - Method in class org.simpleframework.http.message.RequestConsumer.Token
-
This is used to acquire the character at the specified index.
- charset - Variable in class org.simpleframework.http.parse.ContentTypeParser
-
Used to store the characters for the charset parameter.
- charset - Variable in class org.simpleframework.http.socket.DataConverter
-
This is the character encoding used to convert the text data.
- charset - Variable in class org.simpleframework.http.socket.service.AcceptToken
-
This is the character encoding to decode the key with.
- charset - Variable in class org.simpleframework.http.socket.service.FrameEncoder
-
This is the charset used to encode the text frames with.
- charset() - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This is used to read the value from the
charset
param. - CHARSET - Static variable in interface org.simpleframework.http.Protocol
-
Represents the token used to identify the encoding of a message.
- checker - Variable in class org.simpleframework.http.socket.service.StatusResultListener
-
This is used to ping sessions to check for health.
- chunk - Variable in class org.simpleframework.http.message.ArrayConsumer
-
This is the size of the chunk of bytes to read each time.
- chunk - Variable in class org.simpleframework.http.message.ChunkedConsumer
-
This is the number of bytes left in the current chunk.
- chunk - Variable in class org.simpleframework.transport.SocketBuffer
-
This is the recommended minimum packet size to send.
- chunk - Variable in class org.simpleframework.transport.SocketBufferAppender
-
This represents the the initial size of the buffer to use.
- 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
ChunkedConsumer
is reads an decodes a stream using the chunked transfer coding. - ChunkedConsumer(Allocator) - Constructor for class org.simpleframework.http.message.ChunkedConsumer
-
Constructor for the
ChunkedConsumer
object. - ChunkedConsumer(Allocator, int) - Constructor for class org.simpleframework.http.message.ChunkedConsumer
-
Constructor for the
ChunkedConsumer
object. - ChunkedEncoder - Class in org.simpleframework.http.core
-
The
ChunkedEncoder
object is used to encode data in the chunked encoding format. - ChunkedEncoder(BodyObserver, ByteWriter) - Constructor for class org.simpleframework.http.core.ChunkedEncoder
-
Constructor for the
ChunkedEncoder
object. - clean() - Method in class org.simpleframework.common.lease.LeaseCleaner
-
This method is used to take the lease from the queue and give it to the cleaner for expiry.
- clean(File) - Method in class org.simpleframework.common.buffer.FileWatcher
-
When this method is invoked the files that match the pattern of the temporary files are evaluated for deletion.
- clean(T) - Method in interface org.simpleframework.common.lease.Cleaner
-
This method is used to clean up after a the keyed resource.
- cleaner - Variable in class org.simpleframework.common.lease.LeaseCleaner
-
This is the cleaner that is invoked to clean contracts.
- cleaner - Variable in class org.simpleframework.transport.TransportSocketProcessor
-
This is used to clean the internals of the processor.
- Cleaner<T> - Interface in org.simpleframework.common.lease
-
The
Cleaner
represents 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 class org.simpleframework.common.buffer.ArrayBuffer.Segment
-
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.buffer.FileBuffer
-
This will clear all data from the buffer.
- clear() - Method in class org.simpleframework.common.buffer.FileBuffer.Segment
-
This will clear all data from the buffer.
- clear() - Method in class org.simpleframework.common.parse.MapParser
-
The
clear
method 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
ParseBuffer
so that thetoString
parameter will returnnull
. - clear() - Method in class org.simpleframework.http.core.ResponseEncoder
-
This is used to clear any previous encoding that has been set in the event that content length may be used instead.
- clear() - Method in class org.simpleframework.http.message.BoundaryConsumer
-
This is used to clear the state of the of boundary consumer such that it can be reused.
- clear() - Method in class org.simpleframework.http.parse.AddressParser.Token
-
If the
Token
is to be reused this will clear all previous data. - clear() - Method in class org.simpleframework.http.parse.ContentDispositionParser
-
This is used to clear all previously collected tokens.
- clear() - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This is used to clear all previously collected tokens.
- clear() - Method in class org.simpleframework.http.parse.ListParser
-
This is used to return the parser to a semi-initialized state.
- clear() - Method in class org.simpleframework.http.parse.PathParser.Token
-
If the
Token
is to be reused this will clear all previous data. - clear() - Method in class org.simpleframework.http.parse.PathParser.TokenList
-
This is used to clear all tokens previously stored in the list.
- clear() - Method in class org.simpleframework.http.socket.service.FrameConsumer
-
This resets the collector to its original state so that it can be reused.
- clear() - Method in class org.simpleframework.http.socket.service.FrameHeaderConsumer
-
This resets the collector to its original state so that it can be reused.
- clear() - Method in class org.simpleframework.transport.reactor.ActionDistributor
-
Here we perform an expire which will take all of the registered sockets and expire it.
- clear() - Method in class org.simpleframework.transport.reactor.ActionSet
-
This is used to clear all interest from the set.
- client - Variable in class org.simpleframework.transport.Handshake
-
This determines if the handshake is from the client side.
- client - Variable in class org.simpleframework.transport.OperationFactory
-
This determines if the SSL handshake is for the client side.
- close() - Method in class org.simpleframework.common.buffer.ArrayBuffer
-
This method is used to ensure the buffer can be closed.
- close() - Method in class org.simpleframework.common.buffer.ArrayBuffer.Segment
-
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.buffer.FileBuffer
-
This method is used to ensure the buffer can be closed.
- close() - Method in class org.simpleframework.common.buffer.FileBuffer.Range
-
This is used to close the range once all of the content has been fully read.
- close() - Method in class org.simpleframework.common.buffer.FileBuffer.Segment
-
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 interface org.simpleframework.common.lease.ContractController
-
This method is used to cancel all outstanding leases and to close the controller.
- close() - Method in class org.simpleframework.common.lease.ContractMaintainer
-
This method is used to cancel all outstanding leases and to close the controller.
- close() - Method in class org.simpleframework.common.lease.LeaseCleaner
-
Here we shutdown the lease maintainer so that the thread will die.
- 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.core.BodyEncoder
-
This is used to signal to the producer that all content has been written and the user no longer needs to write.
- close() - Method in class org.simpleframework.http.core.ChunkedEncoder
-
This is used to signal to the producer that all content has been written and the user no longer needs to write.
- close() - Method in class org.simpleframework.http.core.CloseEncoder
-
This is used to signal to the producer that all content has been written and the user no longer needs to write.
- close() - Method in class org.simpleframework.http.core.EmptyEncoder
-
This method performs no operation.
- close() - Method in class org.simpleframework.http.core.FixedLengthEncoder
-
This is used to signal to the producer that all content has been written and the user no longer needs to write.
- close() - Method in class org.simpleframework.http.core.ResponseBuffer
-
This will flush the buffer to the underlying transport and close the stream.
- close() - Method in class org.simpleframework.http.core.ResponseEncoder
-
This is used to signal to the encoder that all content has been written and the user no longer needs to write.
- close() - Method in class org.simpleframework.http.core.ResponseEntity
-
This is used to close the connection and commit the request.
- 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 class org.simpleframework.http.socket.service.FrameConnection
-
This is used to close the connection without a specific reason.
- close() - Method in class org.simpleframework.http.socket.service.FrameProcessor
-
This is used to close the connection when it has not responded to any activity for a configured period of time.
- close() - Method in class org.simpleframework.http.socket.service.ServiceChannel
-
This is used to close the connection without a specific reason.
- close() - Method in class org.simpleframework.http.socket.service.StatusChecker
-
This is used to close the session and send a 1000 close code to the client indicating a normal closure.
- 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.SocketAcceptor
-
This is used to close the server socket channel so that the port that it is bound to is released.
- 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.connect.SocketListener
-
This is used to close the connection and the server socket used to accept connections.
- close() - Method in class org.simpleframework.transport.connect.SocketListenerManager
-
This is used to close all the listeners that have been added to the connection.
- close() - Method in class org.simpleframework.transport.FlushScheduler
-
This is used to close the scheduler when the reactor is closed by the server.
- close() - Method in class org.simpleframework.transport.reactor.ActionDistributor
-
This is used to close the distributor such that it cancels all of the registered channels and closes down the selector.
- close() - Method in class org.simpleframework.transport.reactor.ActionSelector
-
This is used to close the associated selector.
- close() - Method in class org.simpleframework.transport.reactor.Latch
-
This will block all threads attempting to close the latch.
- close() - Method in interface org.simpleframework.transport.reactor.OperationDistributor
-
This is used to close the distributor such that it cancels all of the registered channels and closes down the selector.
- close() - Method in class org.simpleframework.transport.reactor.PartitionDistributor
-
This is used to close the distributor such that it cancels all of the registered channels and closes down the selector.
- close() - Method in class org.simpleframework.transport.SecureTransport
-
This is used to close the sender and the underlying transport.
- close() - Method in class org.simpleframework.transport.SocketBuffer
-
This is used to close the writer and the underlying socket.
- close() - Method in class org.simpleframework.transport.SocketBufferWriter
-
This is used to close the writer and the underlying socket.
- close() - Method in class org.simpleframework.transport.SocketFlusher
-
This is used to close the flusher ensuring that all of the data within the writer will be flushed regardless of the amount of data within the writer that needs to be written.
- 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.TransportReader
-
This is used to close the underlying transport.
- 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(Reason) - Method in class org.simpleframework.http.socket.service.FrameConnection
-
This is used to close the connection with a specific reason.
- close(Reason) - Method in class org.simpleframework.http.socket.service.FrameProcessor
-
This is used to close the connection without a specific reason.
- close(Reason) - Method in class org.simpleframework.http.socket.service.ServiceChannel
-
This is used to close the connection with a specific reason.
- close(ByteWriter) - Method in interface org.simpleframework.http.core.BodyObserver
-
This is used to close the underlying transport.
- close(ByteWriter) - Method in class org.simpleframework.http.core.ResponseObserver
-
This is used to close the underlying transport.
- CLOSE - org.simpleframework.http.socket.FrameType
-
A close frame identifies a frame used to terminate a connection.
- CLOSE - 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 - org.simpleframework.transport.reactor.ReactorEvent
-
This occurs when the selector has been shutdown globally.
- CloseCode - Enum in org.simpleframework.http.socket
-
The
CloseCode
enumerates the closure codes specified in RFC 6455. - CloseCode(int) - Constructor for enum org.simpleframework.http.socket.CloseCode
-
Constructor for the
CloseCode
object. - closed - Variable in class org.simpleframework.common.buffer.ArrayBuffer
-
This is used to determine whether this buffer has been closed.
- closed - Variable in class org.simpleframework.common.buffer.ArrayBuffer.Segment
-
This is used to determine if the buffer has closed or not.
- closed - Variable in class org.simpleframework.common.buffer.FileBuffer
-
This is used to determine if this buffer has been closed.
- closed - Variable in class org.simpleframework.common.buffer.FileBuffer.Range
-
This is used to close the stream once it has been read.
- closed - Variable in class org.simpleframework.common.buffer.FileBuffer.Segment
-
This determines if the segment is currently open or closed.
- closed - Variable in class org.simpleframework.http.core.ResponseBuffer
-
This is used to determine if the accumulator was closed.
- closed - Variable in class org.simpleframework.http.core.ResponseObserver
-
This flag determines whether the connection was closed.
- closed - Variable in class org.simpleframework.http.socket.service.FrameProcessor
-
This is used to determine if a close notification was sent.
- closed - Variable in class org.simpleframework.transport.connect.SocketConnection
-
This is used to determine if the connection has been closed.
- closed - Variable in class org.simpleframework.transport.FlushScheduler
-
This is used to determine if the scheduler is interrupted.
- closed - Variable in class org.simpleframework.transport.SecureTransport
-
This is used to determine if the transport was closed.
- closed - Variable in class org.simpleframework.transport.SocketBuffer
-
This is used to determine if the buffer was closed.
- closed - Variable in class org.simpleframework.transport.SocketFlusher
-
This is used to determine if the socket flusher is closed.
- closed - Variable in class org.simpleframework.transport.SocketTransport
-
This is used to determine if the transport has been closed.
- closed - Variable in class org.simpleframework.transport.TransportReader
-
This is used to determine if the transport has been closed.
- closed - Variable in class org.simpleframework.transport.TransportWriter
-
This is used to determine if the transport has been closed.
- CloseEncoder - Class in org.simpleframework.http.core
-
The
CloseEncoder
is used to close a connection once all of the content has been produced. - CloseEncoder(BodyObserver, ByteWriter) - Constructor for class org.simpleframework.http.core.CloseEncoder
-
Constructor for the
CloseEncoder
object. - code - Variable in class org.simpleframework.http.core.ResponseMessage
-
This is the status code used to identify the response type.
- 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 class org.simpleframework.http.socket.Reason
-
This is the close code to be sent with a control frame.
- code - Variable in enum org.simpleframework.http.Status
-
This is the code for the status that this instance represents.
- collect - Variable in class org.simpleframework.http.core.ContainerController
-
This is the thread pool used for collecting the requests.
- collect(Controller) - Method in interface org.simpleframework.http.core.Collector
-
This is used to collect the data from a
Channel
which is used to compose the entity. - collect(Controller) - Method in class org.simpleframework.http.core.RequestCollector
-
This is used to collect the data from a
Channel
which is used to compose the entity. - collector - Variable in class org.simpleframework.http.core.RequestReader
-
This is the collector used to consume the entity bytes.
- Collector - Interface in org.simpleframework.http.core
-
The
Collector
object is used to collect all of the data used to form a request entity. - commit() - Method in class org.simpleframework.http.core.ResponseBuffer
-
This will close the underlying transfer object which will notify the server kernel that the next request is read to be processed.
- commit() - Method in class org.simpleframework.http.core.ResponseEncoder
-
This is used to compose the HTTP header and send it over the transport to the client.
- commit() - Method in class org.simpleframework.http.core.ResponseEntity
-
This is used to write the headers that where given to the
Response
. - 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() - Method in class org.simpleframework.http.socket.service.ResponseBuilder
-
This is used to determine if the client handshake request had all the required headers as dictated by RFC 6455 section 4.2.1.
- commit() - Method in class org.simpleframework.transport.Handshake
-
This method is invoked when the negotiation is done and the next phase of the connection is to take place.
- commit() - Method in interface org.simpleframework.transport.Negotiation
-
This method is invoked when the negotiation is done and the next phase of the connection is to take place.
- commit(ByteCursor) - Method in class org.simpleframework.http.message.ContentConsumer
-
This is used to push the start and boundary back on to the cursor.
- 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.
- commit(ByteWriter) - Method in interface org.simpleframework.http.core.BodyObserver
-
This is used to notify the monitor that the HTTP response is committed and that the header can no longer be changed.
- commit(ByteWriter) - Method in class org.simpleframework.http.core.ResponseObserver
-
This is used to notify the observer that the HTTP response is committed and that the header can no longer be changed.
- COMMIT - org.simpleframework.transport.PhaseType
-
Tells the negotiation that the the handshake is complete.
- committed - Variable in class org.simpleframework.http.core.ResponseObserver
-
This is used to determine if the response has committed.
- Committer(Negotiation, Reactor, Trace) - Constructor for class org.simpleframework.transport.Handshake.Committer
-
Constructor for the
Committer
task. - compact() - Method in class org.simpleframework.transport.SocketBuffer
-
To ensure that we can release any references and thus avoid a blocking thread this method will attempt to merge references in to the internal buffer.
- compareTo(Delayed) - Method in class org.simpleframework.common.lease.Expiration
-
This is used to compare the specified delay to this delay.
- compareTo(Expiration) - Method in class org.simpleframework.common.lease.Expiration
-
This is used to compare the specified delay to this delay.
- compareTo(ListParser.Entry) - Method in class org.simpleframework.http.parse.ListParser.Entry
-
This is used to sort the entries within the priority queue using the provided priority of specified.
- complete() - Method in class org.simpleframework.transport.Handshake
-
This is used to execute the completion task after a challenge for the clients X509 certificate.
- ConcurrentExecutor - Class in org.simpleframework.common.thread
-
The
ConcurrentExecutor
object is used to execute tasks in a thread pool. - ConcurrentExecutor(Class) - Constructor for class org.simpleframework.common.thread.ConcurrentExecutor
-
Constructor for the
ConcurrentExecutor
object. - ConcurrentExecutor(Class, int) - Constructor for class org.simpleframework.common.thread.ConcurrentExecutor
-
Constructor for the
ConcurrentExecutor
object. - ConcurrentExecutor(Class, int, int) - Constructor for class org.simpleframework.common.thread.ConcurrentExecutor
-
Constructor for the
ConcurrentExecutor
object. - ConcurrentScheduler - Class in org.simpleframework.common.thread
-
The
ConcurrentScheduler
object is used to schedule tasks for execution. - ConcurrentScheduler(Class) - Constructor for class org.simpleframework.common.thread.ConcurrentScheduler
-
Constructor for the
ConcurrentScheduler
object. - ConcurrentScheduler(Class, int) - Constructor for class org.simpleframework.common.thread.ConcurrentScheduler
-
Constructor for the
ConcurrentScheduler
object. - configure() - Method in class org.simpleframework.http.core.ResponseEncoder
-
This method is used to set the required HTTP headers on the response.
- configure(long) - Method in class org.simpleframework.http.core.ResponseEncoder
-
This method is used to set the required HTTP headers on the response.
- configure(long, long) - Method in class org.simpleframework.http.core.ResponseEncoder
-
This method is used to set the required HTTP headers on the response.
- configure(SocketChannel) - Method in class org.simpleframework.transport.connect.SocketAcceptor
-
This method is used to configure the accepted channel.
- CONFLICT - 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
ServerAddress
for 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
ServerAddress
for 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
ServerAddress
for 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
ServerAddress
for 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 - Variable in class org.simpleframework.http.socket.service.StatusChecker
-
This is the WebSocket this this pinger will be monitoring.
- Connection - Interface in org.simpleframework.transport.connect
-
The
Connection
object 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
ConnectionEvent
enum represents various events that can occur with a new connection. - ConnectionEvent() - Constructor for enum org.simpleframework.transport.connect.ConnectionEvent
- ConnectionException - Exception in org.simpleframework.transport.connect
-
The
ConnectionException
is thrown if there is a problem establishing a connection to the server. - ConnectionException(String) - Constructor for exception org.simpleframework.transport.connect.ConnectionException
-
Constructor for the
ConnectionException
object. - ConnectionException(String, Throwable) - Constructor for exception org.simpleframework.transport.connect.ConnectionException
-
Constructor for the
ConnectionException
object. - 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.PartBodyConsumer
-
This is used to consume the part body from the cursor.
- consume(ByteCursor) - Method in class org.simpleframework.http.message.PartConsumer
-
This is used to consume the part body from the cursor.
- consume(ByteCursor) - Method in class org.simpleframework.http.message.PartEntryConsumer
-
This is used to consume the part body from the cursor.
- consume(ByteCursor) - Method in class org.simpleframework.http.message.PartSeriesConsumer
-
This is used to consume the part list from the cursor.
- consume(ByteCursor) - Method in class org.simpleframework.http.message.UpdateConsumer
-
This method is used to consume bytes from the provided cursor.
- consume(ByteCursor) - Method in class org.simpleframework.http.socket.service.FrameConsumer
-
This consumes frame bytes using the provided cursor.
- consume(ByteCursor) - Method in class org.simpleframework.http.socket.service.FrameHeaderConsumer
-
This consumes frame bytes using the provided cursor.
- CONSUME - org.simpleframework.transport.PhaseType
-
Tells the negotiation that a read operations is needed.
- consumer - Variable in class org.simpleframework.http.message.FileUploadConsumer
-
This is used to read and parse the contents of the part series.
- consumer - Variable in class org.simpleframework.http.message.PartEntryConsumer
-
This is used to consume the actual part from the list.
- consumer - Variable in class org.simpleframework.http.message.PartSeriesConsumer
-
This is used to consume individual parts from the part list.
- consumer - Variable in class org.simpleframework.http.socket.service.FrameProcessor
-
This is used to consume the frames from the underling channel.
- Consumer(Negotiation, Reactor, Trace) - Constructor for class org.simpleframework.transport.Handshake.Consumer
-
Constructor for the
Consumer
task. - ConsumerFactory - Class in org.simpleframework.http.message
-
The
ConsumerFactory
object is used to create a factory for creating consumers. - ConsumerFactory(Allocator, Segment) - Constructor for class org.simpleframework.http.message.ConsumerFactory
-
Constructor for the
ConsumerFactory
object. - container - Variable in class org.simpleframework.http.core.ContainerController
-
This is the container used to service the requests.
- container - Variable in class org.simpleframework.http.core.RequestDispatcher
-
This is the container that is used to handle the transactions.
- container - Variable in class org.simpleframework.http.socket.service.RouterContainer
-
This is the container used to handle traditional requests.
- Container - Interface in org.simpleframework.http.core
-
The
Container
object is used to process HTTP requests and compose HTTP responses. - ContainerController - Class in org.simpleframework.http.core
-
The
ContainerController
object is essentially the core processing engine for the server. - ContainerController(Container, Allocator, int, int) - Constructor for class org.simpleframework.http.core.ContainerController
-
Constructor for the
ContainerController
object. - ContainerEvent - Enum in org.simpleframework.http.core
-
The
ContainerEvent
enum represents events that occur when processing a HTTP transaction. - ContainerEvent() - Constructor for enum org.simpleframework.http.core.ContainerEvent
- ContainerSocketProcessor - Class in org.simpleframework.http.core
-
The
ContainerSocketProcessor
object is a connector that dispatch requests from a connected pipeline. - ContainerSocketProcessor(Container) - Constructor for class org.simpleframework.http.core.ContainerSocketProcessor
-
Constructor for the
ContainerSocketProcessor
object. - ContainerSocketProcessor(Container, int) - Constructor for class org.simpleframework.http.core.ContainerSocketProcessor
-
Constructor for the
ContainerSocketProcessor
object. - ContainerSocketProcessor(Container, int, int) - Constructor for class org.simpleframework.http.core.ContainerSocketProcessor
-
Constructor for the
ContainerSocketProcessor
object. - ContainerSocketProcessor(Container, Allocator) - Constructor for class org.simpleframework.http.core.ContainerSocketProcessor
-
Constructor for the
ContainerSocketProcessor
object. - ContainerSocketProcessor(Container, Allocator, int) - Constructor for class org.simpleframework.http.core.ContainerSocketProcessor
-
Constructor for the
ContainerSocketProcessor
object. - ContainerSocketProcessor(Container, Allocator, int, int) - Constructor for class org.simpleframework.http.core.ContainerSocketProcessor
-
Constructor for the
ContainerSocketProcessor
object. - ContainerTransportProcessor - Class in org.simpleframework.http.core
-
The
ContainerProcessor
object 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
ContainerProcessor
object. - ContainerTransportProcessor(Container, Allocator, int, int) - Constructor for class org.simpleframework.http.core.ContainerTransportProcessor
-
Constructor for the
ContainerProcessor
object. - 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 - Variable in class org.simpleframework.http.message.PartBodyConsumer
-
This is used to consume the content from the multipart upload.
- 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.
- ContentConsumer - Class in org.simpleframework.http.message
-
The
ContentConsumer
object represents a consumer for a multipart body part. - ContentConsumer(Allocator, Segment, PartSeries, byte[]) - Constructor for class org.simpleframework.http.message.ContentConsumer
-
Constructor for the
ContentConsumer
object. - ContentDisposition - Interface in org.simpleframework.http
-
The
ContentDisposition
object represents the HTTP Content-Disposition header of a request. - ContentDispositionParser - Class in org.simpleframework.http.parse
-
The
ContentDispositionParser
object 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
ContentDispositionParser
object. - ContentDispositionParser(String) - Constructor for class org.simpleframework.http.parse.ContentDispositionParser
-
Constructor for the
ContentDispositionParser
object. - 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
ContentParser
that contains no charset, primary or secondary. - ContentTypeParser(String) - Constructor for class org.simpleframework.http.parse.ContentTypeParser
-
This is primarily a convenience constructor.
- context - Variable in class org.simpleframework.transport.connect.SocketAcceptor
-
If provided the SSL context is used to create SSL engines.
- CONTINUATION - org.simpleframework.http.socket.FrameType
-
A continuation frame identifies a fragment from a larger message.
- CONTINUE - org.simpleframework.http.Status
-
This is used as an intermediate response to a request.
- ContinueDispatcher - Class in org.simpleframework.http.message
-
The
ContinueDispatcher
object is used to send the HTTP 100 continue status if required. - ContinueDispatcher(Channel) - Constructor for class org.simpleframework.http.message.ContinueDispatcher
-
Constructor for the
ContinueDispatcher
object. - contract - Variable in class org.simpleframework.common.lease.ContractLease
-
This is the contract object representing the lease.
- Contract<T> - Interface in org.simpleframework.common.lease
-
A
Contract
is used to represent the contract a lease has been issued. - ContractController<T> - Interface in org.simpleframework.common.lease
-
The
ContractController
forms the interface to the lease management system. - ContractLease<T> - Class in org.simpleframework.common.lease
-
The
ContractLease
is used to maintain contracts by using a controller object. - ContractLease(ContractController<T>, Contract<T>) - Constructor for class org.simpleframework.common.lease.ContractLease
-
Constructor for the
ContractLease
object. - ContractMaintainer<T> - Class in org.simpleframework.common.lease
-
The
ContractMaintainer
is used provide a controller uses a cleaner. - ContractMaintainer(Cleaner<T>) - Constructor for class org.simpleframework.common.lease.ContractMaintainer
-
Constructor for the
ContractMaintainer
object. - ContractQueue<T> - Class in org.simpleframework.common.lease
-
The
ContraceQueue
object is used to queue contracts between two asynchronous threads of execution. - ContractQueue() - Constructor for class org.simpleframework.common.lease.ContractQueue
-
Constructor for the
ContractQueue
object. - controller - Variable in class org.simpleframework.http.core.ContainerTransportProcessor
-
This is the controller used to process the created channels.
- controller - Variable in class org.simpleframework.http.core.RequestReader
-
This is the selector used to process the collection events.
- controller - Variable in class org.simpleframework.http.core.ResponseObserver
-
This is the controller used to initiate a new request.
- Controller - Interface in org.simpleframework.http.core
-
The
Controller
interface represents an object which is used to process collection events. - Conversation - Class in org.simpleframework.http.core
-
The
Conversation
object 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
Conversation
object. - 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(char, char) - Method in class org.simpleframework.http.parse.AddressParser
-
This will convert the two hexidecimal characters to a real integer value, which is returned.
- convert(char, char) - Method in class org.simpleframework.http.parse.QueryParser
-
This will convert the two hexidecimal characters to a real integer value, which is returned.
- convert(int) - Method in class org.simpleframework.http.Cookie.CookieDate
-
This method is used to convert the provided time to a date that can be formatted.
- 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(InputStream, String, int) - Method in class org.simpleframework.common.buffer.FileBuffer
-
This method is used to acquire the buffered bytes as a string.
- 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.
- converter - Variable in class org.simpleframework.http.socket.BinaryData
-
This is used to convert the binary payload to text.
- converter - Variable in class org.simpleframework.http.socket.service.FrameBuilder
-
This converts binary data to a UTF-8 string for text frames.
- converter - Variable in class org.simpleframework.http.socket.service.ReasonExtractor
-
This is the data converter object used to convert data.
- converter - Variable in class org.simpleframework.http.socket.TextData
-
This is used to convert the text payload to a byte array.
- cookie() - Method in class org.simpleframework.http.parse.CookieParser
-
This is used to parse a
Cookie
from the buffer that contains theCookie
values. - 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
Cookie
objects 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
Cookie
that 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
Cookie
that 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
Cookie
that 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
Cookie
that 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.
- Cookie.CookieDate - Class in org.simpleframework.http
-
The
CookieDate
complies with the date format used by older browsers such as Internet Explorer and Netscape Navigator. - CookieDate() - Constructor for class org.simpleframework.http.Cookie.CookieDate
-
Constructor for the
CookieDate
formatter. - 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
CookieParser
that contains no cookies. - CookieParser(String) - Constructor for class org.simpleframework.http.parse.CookieParser
-
This is primarily a convineance constructor.
- CookieParser.Sequence - Class in org.simpleframework.http.parse
-
This is used to represent an
Iterator
that will iterate over the available cookies within the provided source text. - CookieParser.Token - Class in org.simpleframework.http.parse
-
This is a token object that is used to store the offset and length of a region of chars in the
CookieParser.buf
array. - cookies - Variable in class org.simpleframework.http.message.MessageHeader
-
This is used to store the cookies added to the HTTP header.
- cookies - Variable in class org.simpleframework.http.message.SegmentConsumer
-
This is used to parse the cookie headers that are consumed.
- copyOf(Action[], int) - Method in class org.simpleframework.transport.reactor.ActionSet
-
This is used to create a copy of the specified list with only the first few non null values.
- count - Variable in class org.simpleframework.common.buffer.ArrayBuffer
-
This is the count of the number of bytes buffered.
- count - Variable in class org.simpleframework.common.buffer.FileBuffer
-
This is the number of bytes currently appended to the buffer.
- count - Variable in class org.simpleframework.common.encode.Base64InputStream
-
This is the total number of bytes that have been read.
- count - Variable in class org.simpleframework.common.encode.Base64OutputStream
- 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.core.FixedLengthEncoder
-
This is the number of bytes that have been sent so far.
- count - Variable in class org.simpleframework.http.core.ResponseBuffer
-
This counts the number of bytes that have been accumulated.
- count - Variable in class org.simpleframework.http.message.ArrayConsumer
-
This is the number of bytes that have been consumed so far.
- count - Variable in class org.simpleframework.http.message.ChunkedConsumer
-
This is the number of bytes appended to the line buffer.
- count - Variable in class org.simpleframework.http.message.FileUploadConsumer
-
This counts the number of bytes remaining the the part series.
- count - Variable in class org.simpleframework.http.parse.PathParser.TokenList
-
Determines the write offset into the array.
- count - Variable in class org.simpleframework.http.socket.service.FrameConsumer
-
This is a count of the payload bytes currently consumed.
- count - Variable in class org.simpleframework.http.socket.service.FrameHeaderConsumer
-
This determines the count of the mask bytes read.
- count - Variable in class org.simpleframework.transport.TransportCursor
-
This is the number of bytes that have been pushed back.
- count - Variable in class org.simpleframework.transport.TransportReader
-
This represents the number of bytes that are ready to read.
- counter - Variable in class org.simpleframework.http.socket.service.StatusChecker
-
This is a count of the number of unacknowledged ping frames.
- country(char[], int, int) - Method in class org.simpleframework.http.parse.LanguageParser
-
This will extract the primary country tag from the header.
- create() - Method in class org.simpleframework.common.buffer.FileWatcher
-
This will create a temporary file which can be used as a buffer for
FileBuffer
objects. - create() - Method in class org.simpleframework.http.socket.service.AcceptToken
-
This is used to create the required accept token for the session initiating response.
- create(byte[], int) - Method in class org.simpleframework.http.socket.service.FrameBuilder
-
This is used to create a frame object to represent the data that has been consumed.
- 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.
- create(String) - Method in class org.simpleframework.common.buffer.FileWatcher
-
This will create a temporary file which can be used as a buffer for
FileBuffer
objects. - create(Request, Response) - Method in class org.simpleframework.http.socket.service.SessionBuilder
-
This is used to create a WebSocket session.
- createBinary(byte[], int) - Method in class org.simpleframework.http.socket.service.FrameBuilder
-
This is used to create a frame object from the provided data.
- created - Variable in class org.simpleframework.http.Cookie
-
This is used to determine the the cookie is new.
- CREATED - org.simpleframework.http.Status
-
This is used to signify that a resource was created successfully.
- createName(Class, Thread) - Method in class org.simpleframework.common.thread.DaemonFactory
-
This will create a thread name that is unique.
- createName(Runnable, Thread) - Method in class org.simpleframework.common.thread.DaemonFactory
-
This will create a thread name that is unique.
- createText(byte[], int) - Method in class org.simpleframework.http.socket.service.FrameBuilder
-
This is used to create a frame object from the provided data.
- createThread(Runnable) - Method in class org.simpleframework.common.thread.DaemonFactory
-
This is used to create the thread that will be used to execute the provided task.
- current - Variable in class org.simpleframework.http.message.PartConsumer
-
This is the current consumer used to read from the cursor.
- cursor - Variable in class org.simpleframework.http.core.RequestCollector
-
This is the cursor used to read and reset the data.
- cursor - Variable in class org.simpleframework.http.message.FileUploadConsumer.ByteCounter
-
This is the cursor that this counter will delegate to.
- cursor - Variable in class org.simpleframework.http.socket.service.FrameCollector
-
This is the cursor used to maintain a stream seek position.
- cursor - Variable in class org.simpleframework.http.socket.service.FrameProcessor
-
This is the cursor used to maintain a read seek position.
- cursor - Variable in class org.simpleframework.transport.TransportChannel
-
This is used to provide a cursor view on the input.
D
- Daemon - Class in org.simpleframework.common.thread
-
The
Daemon
object provides a named thread which will execute therun
method when started. - Daemon() - Constructor for class org.simpleframework.common.thread.Daemon
-
Constructor for the
Daemon
object. - Daemon.RunnableDelegate - Class in org.simpleframework.common.thread
-
The
RunnableDelegate
object is used to actually invoke therun
method. - DaemonFactory - Class in org.simpleframework.common.thread
-
The
DaemonFactory
object 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
DaemonFactory
object. - DaemonFactory(Class) - Constructor for class org.simpleframework.common.thread.DaemonFactory
-
Constructor for the
DaemonFactory
object. - data - Variable in class org.simpleframework.http.parse.AddressParser
-
This contains the query parameters for the address.
- data - Variable in class org.simpleframework.http.socket.BinaryData
-
This is the byte array that represents the binary payload.
- data - Variable in class org.simpleframework.http.socket.DataFrame
-
This contains the payload to be sent with the frame.
- data - Variable in class org.simpleframework.http.socket.TextData
-
This is the text string representing a frame payload.
- data() - Method in class org.simpleframework.http.parse.CookieParser
-
This initializes the value token and extracts the value of this
Cookie
. - Data - Interface in org.simpleframework.http.socket
-
The
Data
interface represents a payload for a WebScoket frame. - DataConverter - Class in org.simpleframework.http.socket
-
The
DataConverter
object is used to convert binary data to text data and vice versa. - DataConverter() - Constructor for class org.simpleframework.http.socket.DataConverter
-
Constructor for the
DataConverter
object. - DataConverter(String) - Constructor for class org.simpleframework.http.socket.DataConverter
-
Constructor for the
DataConverter
object. - DataFrame - Class in org.simpleframework.http.socket
-
The
DataFrame
object represents a frame as defined in RFC 6455. - DataFrame(FrameType) - Constructor for class org.simpleframework.http.socket.DataFrame
-
Constructor for the
DataFrame
object. - DataFrame(FrameType, byte[]) - Constructor for class org.simpleframework.http.socket.DataFrame
-
Constructor for the
DataFrame
object. - DataFrame(FrameType, byte[], boolean) - Constructor for class org.simpleframework.http.socket.DataFrame
-
Constructor for the
DataFrame
object. - DataFrame(FrameType, String) - Constructor for class org.simpleframework.http.socket.DataFrame
-
Constructor for the
DataFrame
object. - DataFrame(FrameType, String, boolean) - Constructor for class org.simpleframework.http.socket.DataFrame
-
Constructor for the
DataFrame
object. - DataFrame(FrameType, Data) - Constructor for class org.simpleframework.http.socket.DataFrame
-
Constructor for the
DataFrame
object. - DataFrame(FrameType, Data, boolean) - Constructor for class org.simpleframework.http.socket.DataFrame
-
Constructor for the
DataFrame
object. - date - Variable in class org.simpleframework.http.Cookie
-
This is used to set the expiry date for the cookie.
- date(StringBuilder) - Method in class org.simpleframework.http.parse.DateParser
-
This is used to append the date in RFC 1123 format to the given string builder.
- DATE - Static variable in interface org.simpleframework.http.Protocol
-
Represents the date and time at which the message was originated.
- date1() - Method in class org.simpleframework.http.parse.DateParser
-
This is the date1 format of a date that is used by the RFC 1123 date format.
- date2() - Method in class org.simpleframework.http.parse.DateParser
-
This is the date2 format of a date that is used by the RFC 850 date format.
- date3() - Method in class org.simpleframework.http.parse.DateParser
-
This is the date3 format of a date that is used by the asctime date format.
- DateParser - Class in org.simpleframework.http.parse
-
This is used to create a
Parser
for the HTTP date format. - DateParser() - Constructor for class org.simpleframework.http.parse.DateParser
-
The default constructor will create a parser that can parse
String
s 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
long
argument in the constructor. - DateParser(String) - Constructor for class org.simpleframework.http.parse.DateParser
-
This constructor will conveniently parse the
String
argument in the constructor. - day - Variable in class org.simpleframework.http.parse.DateParser
-
Represents the decimal value of the date such as 18.
- day() - Method in class org.simpleframework.http.parse.DateParser
-
This is used to parse a consecutive set of digit characters to create the day of the week.
- decode() - Method in class org.simpleframework.http.parse.PrincipalParser
-
This is used to remove decode the
base64
encoding of the user name and password. - 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.
- decoded - Variable in class org.simpleframework.common.encode.Base64InputStream
-
This is used to accumulate the decoded text as an array.
- delegate - Variable in class org.simpleframework.common.thread.Daemon
-
This is the internal thread that is executed by this.
- delegate - Variable in class org.simpleframework.transport.NegotiationState
-
This is the runnable task that is executed on task completion.
- Delegate(Socket) - Constructor for class org.simpleframework.transport.NegotiationState.Delegate
-
Constructor for the
Delegate
object. - 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.
- digest - Variable in class org.simpleframework.http.socket.service.AcceptToken
-
This is used to generate the SHA-1 has from the user key.
- 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.
- dir - Variable in class org.simpleframework.http.parse.PathParser
-
Used to store the highest directory path.
- DirectRouter - Class in org.simpleframework.http.socket.service
-
The
DirectRouter
object 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
DirectRouter
object. - DirectRouter(Service, String) - Constructor for class org.simpleframework.http.socket.service.DirectRouter
-
Constructor for the
DirectRouter
object. - dispatch() - Method in class org.simpleframework.http.core.RequestDispatcher
-
This
dispatch
method will dispatch the request and response objects to the container. - dispatch() - Method in class org.simpleframework.transport.Handshake
-
This method is invoked when the negotiation is done and the next phase of the connection is to take place.
- dispatch(Request, Response) - Method in class org.simpleframework.http.socket.service.ServiceDispatcher
-
This method is used to create a dispatch a
Session
to a specific service selected by a router. - dispatch(Request, Response) - Method in class org.simpleframework.http.socket.service.SessionDispatcher
-
This method is used to create a dispatch a
Session
to a specific service selected by a router. - DISPATCH_CONTINUE - org.simpleframework.http.core.ContainerEvent
-
This event indicates that the server sent a HTTP continue reply.
- DISPATCH_FINISHED - org.simpleframework.http.core.ContainerEvent
-
This indicates that the dispatch thread has completed the dispatch.
- DISPATCH_REQUEST - org.simpleframework.http.core.ContainerEvent
-
This indicates that the request has been dispatched for processing.
- DISPATCH_SOCKET - 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.
- dispatcher - Variable in class org.simpleframework.http.socket.service.RouterContainer
-
This is the service dispatcher used to dispatch requests.
- dispatcher - Variable in class org.simpleframework.http.socket.service.ServiceDispatcher
-
This is the session dispatcher used to dispatch the session.
- 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.
- distribute() - Method in class org.simpleframework.transport.reactor.ActionDistributor
-
This method is used to perform the select and if required queue the operations that are ready for execution.
- domain - Variable in class org.simpleframework.http.Cookie
-
Represents the value of the domain attribute.
- domain - Variable in class org.simpleframework.http.parse.AddressParser
-
Used to track the characters that form the domain.
- domain - Variable in class org.simpleframework.http.parse.CookieParser
-
Used to store the
$Domain
values. - domain() - Method in class org.simpleframework.http.parse.AddressParser
-
This is used to extract the domain from the given URI.
- domain() - Method in class org.simpleframework.http.parse.CookieParser
-
Initializes the domain token and extracts the
$Domain
of thisCookie
. - done - Variable in class org.simpleframework.http.message.ArrayConsumer
-
This determines whether the terminal token has been read.
- duration - Variable in class org.simpleframework.common.buffer.FileWatcher
-
This is the duration the files created will exist for.
- duration - Variable in class org.simpleframework.http.socket.service.OutputBarrier
-
This is the length of time to wait before failing to lock.
E
- empty - Variable in class org.simpleframework.transport.Handshake
-
This is an empty byte buffer used to generate a response.
- EmptyConsumer - Class in org.simpleframework.http.message
-
The
EmptyConsumer
object is used to represent a body of zero length. - EmptyConsumer() - Constructor for class org.simpleframework.http.message.EmptyConsumer
- EmptyEncoder - Class in org.simpleframework.http.core
-
The
EmptyEncoder
object is a producer used if there is not response body to be delivered. - EmptyEncoder(BodyObserver, ByteWriter) - Constructor for class org.simpleframework.http.core.EmptyEncoder
-
Constructor for the
EmptyEncoder
object. - EmptyInputStream - Class in org.simpleframework.http.message
-
The
EmptyInputStream
object provides a stream that is immediately empty. - EmptyInputStream() - Constructor for class org.simpleframework.http.message.EmptyInputStream
- encode() - Method in class org.simpleframework.common.buffer.ArrayBuffer
-
This method is used to acquire the buffered bytes as a string.
- encode() - Method in class org.simpleframework.common.buffer.ArrayBuffer.Segment
-
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() - Method in class org.simpleframework.common.buffer.FileBuffer
-
This method is used to acquire the buffered bytes as a string.
- encode() - Method in class org.simpleframework.common.buffer.FileBuffer.Segment
-
This method is used to acquire the buffered bytes as a string.
- encode() - Method in class org.simpleframework.http.parse.AddressParser.ParameterMap
-
This will return the parameters encoded in such a way that it can be appended to the end of the path.
- encode() - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This will return the value of the MIME type as a string.
- encode() - Method in class org.simpleframework.transport.SocketBufferAppender
-
This is used to encode the underlying byte sequence to text.
- 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[]) - Method in interface org.simpleframework.http.core.BodyEncoder
-
This method is used to encode the provided array of bytes in a HTTP/1.1 compliant format and sent it to the client.
- encode(byte[]) - Method in class org.simpleframework.http.core.ChunkedEncoder
-
This method is used to encode the provided array of bytes in a HTTP/1.1 complaint format and sent it to the client.
- encode(byte[]) - Method in class org.simpleframework.http.core.CloseEncoder
-
This method is used to encode the provided array of bytes in a HTTP/1.1 complaint format and sent it to the client.
- encode(byte[]) - Method in class org.simpleframework.http.core.EmptyEncoder
-
This method performs no operation.
- encode(byte[]) - Method in class org.simpleframework.http.core.FixedLengthEncoder
-
This method is used to encode the provided array of bytes in a HTTP/1.1 complaint format and sent it to the client.
- encode(byte[]) - Method in class org.simpleframework.http.socket.service.FrameEncoder
-
This is used to encode the provided data as a WebSocket frame as of RFC 6455.
- 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(byte[], int, int) - Method in interface org.simpleframework.http.core.BodyEncoder
-
This method is used to encode the provided array of bytes in a HTTP/1.1 compliant format and sent it to the client.
- encode(byte[], int, int) - Method in class org.simpleframework.http.core.ChunkedEncoder
-
This method is used to encode the provided array of bytes in a HTTP/1.1 complaint format and sent it to the client.
- encode(byte[], int, int) - Method in class org.simpleframework.http.core.CloseEncoder
-
This method is used to encode the provided array of bytes in a HTTP/1.1 complaint format and sent it to the client.
- encode(byte[], int, int) - Method in class org.simpleframework.http.core.EmptyEncoder
-
This method performs no operation.
- encode(byte[], int, int) - Method in class org.simpleframework.http.core.FixedLengthEncoder
-
This method is used to encode the provided array of bytes in a HTTP/1.1 complaint format and sent it to the client.
- 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 class org.simpleframework.common.buffer.ArrayBuffer.Segment
-
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.
- encode(String) - Method in class org.simpleframework.common.buffer.FileBuffer
-
This method is used to acquire the buffered bytes as a string.
- encode(String) - Method in class org.simpleframework.common.buffer.FileBuffer.Segment
-
This method is used to acquire the buffered bytes as a string.
- encode(String) - Method in class org.simpleframework.http.parse.QueryParser
-
This
encode
method will escape the text that is provided. - encode(String) - Method in class org.simpleframework.http.socket.service.FrameEncoder
-
This is used to encode the provided data as a WebSocket frame as of RFC 6455.
- encode(String) - Method in class org.simpleframework.transport.SocketBufferAppender
-
This is used to encode the underlying byte sequence to text.
- encode(StringBuilder) - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This will return the value of the MIME type as a string.
- encode(String, String) - Method in class org.simpleframework.http.parse.QueryParser
-
This
encode
method will escape the name=value pair provided using the UTF-8 character set. - encode(String, ByteBuffer) - Method in class org.simpleframework.transport.SocketBufferAppender
-
This is used to encode the underlying byte sequence to text.
- encode(ByteBuffer) - Method in interface org.simpleframework.http.core.BodyEncoder
-
This method is used to encode the provided buffer of bytes in a HTTP/1.1 compliant format and sent it to the client.
- encode(ByteBuffer) - Method in class org.simpleframework.http.core.ChunkedEncoder
-
This method is used to encode the provided buffer of bytes in a HTTP/1.1 compliant format and sent it to the client.
- encode(ByteBuffer) - Method in class org.simpleframework.http.core.CloseEncoder
-
This method is used to encode the provided buffer of bytes in a HTTP/1.1 compliant format and sent it to the client.
- encode(ByteBuffer) - Method in class org.simpleframework.http.core.EmptyEncoder
-
This method is used to encode the provided buffer of bytes in a HTTP/1.1 compliant format and sent it to the client.
- encode(ByteBuffer) - Method in class org.simpleframework.http.core.FixedLengthEncoder
-
This method is used to encode the provided buffer of bytes in a HTTP/1.1 compliant format and sent it to the client.
- encode(ByteBuffer, int, int) - Method in interface org.simpleframework.http.core.BodyEncoder
-
This method is used to encode the provided buffer of bytes in a HTTP/1.1 compliant format and sent it to the client.
- encode(ByteBuffer, int, int) - Method in class org.simpleframework.http.core.ChunkedEncoder
-
This method is used to encode the provided buffer of bytes in a HTTP/1.1 compliant format and sent it to the client.
- encode(ByteBuffer, int, int) - Method in class org.simpleframework.http.core.CloseEncoder
-
This method is used to encode the provided buffer of bytes in a HTTP/1.1 compliant format and sent it to the client.
- encode(ByteBuffer, int, int) - Method in class org.simpleframework.http.core.EmptyEncoder
-
This method is used to encode the provided buffer of bytes in a HTTP/1.1 compliant format and sent it to the client.
- encode(ByteBuffer, int, int) - Method in class org.simpleframework.http.core.FixedLengthEncoder
-
This method is used to encode the provided buffer of bytes in a HTTP/1.1 compliant format and sent it to the client.
- encode(Frame) - Method in class org.simpleframework.http.socket.service.FrameEncoder
-
This is used to encode the provided frame as a WebSocket frame as of RFC 6455.
- encode(FrameType, byte[], boolean) - Method in class org.simpleframework.http.socket.service.FrameEncoder
-
This is used to encode the provided frame as a WebSocket frame as of RFC 6455.
- encode(Reason) - Method in class org.simpleframework.http.socket.service.FrameEncoder
-
This is used to encode the provided data as a WebSocket frame as of RFC 6455.
- encoded - Variable in class org.simpleframework.common.encode.Base64InputStream
-
This is that original base64 text that is to be decoded.
- encoded - Variable in class org.simpleframework.common.encode.Base64OutputStream
- encoder - Variable in class org.simpleframework.http.core.ResponseBuffer
-
This is the transfer object used to transfer the response.
- encoder - Variable in class org.simpleframework.http.core.ResponseEncoder
-
Once the header is committed this is used to produce data.
- encoder - Variable in class org.simpleframework.http.socket.service.FrameConnection
-
This encoder is used to encode data as RFC 6455 frames.
- encoder - Variable in class org.simpleframework.http.socket.service.FrameProcessor
-
This is the encoder that is used to send control messages.
- 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.
- engine - Variable in class org.simpleframework.transport.Handshake
-
This is the SSL engine used to direct the conversation.
- engine - Variable in class org.simpleframework.transport.NegotiationState.Challenge
-
This is the SSL engine that is used to begin the handshake.
- engine - Variable in class org.simpleframework.transport.SecureTransport
-
This is the SSL engine used to encrypt and decrypt data.
- engine - Variable in class org.simpleframework.transport.SocketWrapper
-
This is used to encrypt content for secure connections.
- engine - Variable in class org.simpleframework.transport.TransportChannel
-
This is the engine that is used to secure the transport.
- 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 - Variable in class org.simpleframework.http.core.RequestCollector
-
This is used to consume the request entity from the channel.
- Entity - Interface in org.simpleframework.http.message
-
The
Entity
object is used to represent the HTTP entity received from the client. - EntityConsumer - Class in org.simpleframework.http.message
-
The
EntityConsumer
object 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
EntityConsumer
object. - Entry(T, long, int) - Constructor for class org.simpleframework.http.parse.ListParser.Entry
-
Constructor for the
Entry
object. - 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 - Variable in class org.simpleframework.http.core.ResponseObserver
-
This flag determines whether the was a response error.
- error - Variable in class org.simpleframework.http.socket.service.StatusChecker
-
The only reason for a close is for an unexpected error.
- error(ByteWriter) - Method in interface org.simpleframework.http.core.BodyObserver
-
This is used when there is an error sending the response.
- error(ByteWriter) - Method in class org.simpleframework.http.core.ResponseObserver
-
This is used when there is an error sending the response.
- ERROR - org.simpleframework.http.core.ContainerEvent
-
This indicates that there was some error event with the request.
- ERROR - org.simpleframework.http.socket.service.ServiceEvent
-
This event is dispatched when an error occurs with a WebSocket.
- ERROR - org.simpleframework.transport.connect.ConnectionEvent
-
This event occurs when there is an error with the connection.
- ERROR - org.simpleframework.transport.reactor.ReactorEvent
-
This occurs if there is an error with the selection.
- ERROR - org.simpleframework.transport.TransportEvent
-
This event occurs when there is an error with the transport.
- escape() - Method in class org.simpleframework.http.parse.AddressParser
-
This converts an encountered escaped sequence, that is all embedded hexidecimal characters into a native UCS character value.
- escape() - Method in class org.simpleframework.http.parse.QueryParser
-
This converts an encountered escaped sequence, that is all embedded hexidecimal characters into a native UCS character value.
- ETAG - Static variable in interface org.simpleframework.http.Protocol
-
Provides the value of the entity tag for the requested variant.
- exchange - Variable in class org.simpleframework.transport.reactor.ExecutorReactor
-
This is used to distribute the ready operations for execution.
- exchange - Variable in class org.simpleframework.transport.reactor.SynchronousReactor
-
This is used to distribute the ready operations for execution.
- exchange() - Method in class org.simpleframework.transport.Handshake
-
This is the main point of execution within the negotiation.
- execute() - Method in class org.simpleframework.transport.Handshake.Committer
-
This is used to execute the task.
- execute() - Method in class org.simpleframework.transport.Handshake
-
This is used to execute the delegated tasks.
- execute() - Method in class org.simpleframework.transport.Phase
-
This is used to execute the task.
- execute() - Method in class org.simpleframework.transport.reactor.ActionDistributor
-
Performs the execution of the distributor.
- execute() - Method in class org.simpleframework.transport.SocketFlusher
-
This is executed when the flusher is to write all of the data to the underlying socket.
- execute(Runnable) - Method in class org.simpleframework.common.thread.ConcurrentExecutor
-
The
execute
method 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.ExecutorQueue
-
The
execute
method is used to queue the task for execution. - execute(Runnable) - Method in class org.simpleframework.common.thread.SchedulerQueue
-
The
execute
method is used to queue the task for execution. - execute(Runnable) - Method in class org.simpleframework.common.thread.SynchronousExecutor
-
This will execute the provided
Runnable
within 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) - Method in class org.simpleframework.common.thread.SchedulerQueue
-
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(Runnable, long, TimeUnit) - Method in class org.simpleframework.common.thread.SchedulerQueue
-
This will execute the task within the executor after the time specified has expired.
- execute(Header) - Method in class org.simpleframework.http.message.ContinueDispatcher
-
This will execute the continue if the header contains the expectation header.
- execute(Action) - Method in class org.simpleframework.transport.reactor.ActionDistributor
-
This is where the action is handed off to the executor.
- EXECUTE_ACTION - org.simpleframework.transport.reactor.ReactorEvent
-
This is the final action of executing the action.
- ExecuteAction - Class in org.simpleframework.transport.reactor
-
The
ExecuteAction
object is represents an action that the distributor is to process. - ExecuteAction(Operation, int, long) - Constructor for class org.simpleframework.transport.reactor.ExecuteAction
-
Constructor for the
Event
object. - executing - Variable in class org.simpleframework.transport.reactor.ActionDistributor
-
This is used to determine the operations that need cancelling.
- executor - Variable in class org.simpleframework.common.thread.ExecutorQueue
-
This is the actual thread pool implementation used.
- executor - Variable in class org.simpleframework.common.thread.SchedulerQueue
-
This is the actual scheduler used to schedule the tasks.
- executor - Variable in class org.simpleframework.http.core.ContainerController
-
This is the thread pool used for servicing the requests.
- executor - Variable in class org.simpleframework.transport.reactor.ActionDistributor
-
This is used to execute the operations that are ready.
- executor - Variable in class org.simpleframework.transport.reactor.ExecutorReactor
-
This is used to execute the operations that ready to run.
- executor - Variable in class org.simpleframework.transport.reactor.SynchronousReactor
-
This is used to execute the operations that ready to run.
- executor - Variable in class org.simpleframework.transport.ServerCleaner
-
This is the thread pool implementation used by the server.
- executor - Variable in class org.simpleframework.transport.TransportSocketProcessor
-
This is the executor used to execute the I/O operations.
- ExecutorQueue - Class in org.simpleframework.common.thread
-
The
ExecutorQueue
object is used to queue tasks in a thread pool. - ExecutorQueue(Class, int, int) - Constructor for class org.simpleframework.common.thread.ExecutorQueue
-
Constructor for the
ExecutorQueue
object. - ExecutorQueue(Class, int, int, long, TimeUnit) - Constructor for class org.simpleframework.common.thread.ExecutorQueue
-
Constructor for the
ExecutorQueue
object. - ExecutorReactor - Class in org.simpleframework.transport.reactor
-
The
ExecutorReactor
is used to schedule operation for execution using anExecutor
implementation. - ExecutorReactor(Executor) - Constructor for class org.simpleframework.transport.reactor.ExecutorReactor
-
Constructor for the
ExecutorReactor
object. - ExecutorReactor(Executor, int) - Constructor for class org.simpleframework.transport.reactor.ExecutorReactor
-
Constructor for the
ExecutorReactor
object. - ExecutorReactor(Executor, int, long) - Constructor for class org.simpleframework.transport.reactor.ExecutorReactor
-
Constructor for the
ExecutorReactor
object. - expand(int) - Method in class org.simpleframework.common.buffer.ArrayBuffer
-
This is used to ensure that there is enough space in the buffer to allow for more bytes to be added.
- expand(int) - Method in class org.simpleframework.common.encode.Base64OutputStream
-
This will expand the size of the internal buffer.
- expand(int) - Method in class org.simpleframework.http.core.ResponseBuffer
-
This is used to expand the capacity of the internal buffer.
- expand(int) - Method in class org.simpleframework.transport.TransportCursor
-
This is used to ensure that there is enough space in the buffer to allow for more bytes to be added.
- 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 - org.simpleframework.http.Status
-
This is used to tell the client that the expectation has failed.
- Expiration<T> - Class in org.simpleframework.common.lease
-
A
Expiration
is used to represent the expiration for a lease. - Expiration(T, long, TimeUnit) - Constructor for class org.simpleframework.common.lease.Expiration
-
Constructor for the
Expiration
object. - expire() - Method in class org.simpleframework.transport.reactor.ActionDistributor
-
This method is used to expire registered operations that remain idle within the selector.
- expire(ActionSet, long) - Method in class org.simpleframework.transport.reactor.ActionDistributor
-
This method is used to expire registered operations that remain idle within the selector.
- expire(ActionSet, Action) - Method in class org.simpleframework.transport.reactor.ActionDistributor
-
This method is used to expire registered operations that remain idle within the selector.
- EXPIRES - Static variable in interface org.simpleframework.http.Protocol
-
Gives the time after which the response is considered stale.
- expiry - Variable in class org.simpleframework.http.Cookie
-
Represents the duration in seconds of the cookie.
- expiry - Variable in class org.simpleframework.transport.reactor.ActionDistributor
-
This is the duration in milliseconds the operation expires in.
- expiry - Variable in class org.simpleframework.transport.reactor.ExecuteAction
-
This is the time in the future that the event will expire in.
- ext - Variable in class org.simpleframework.http.parse.PathParser
-
Used to store consumed file extension.
- extension() - Method in class org.simpleframework.http.parse.PathParser
-
This will simply read the characters from the end of the buffer until it encounters the first peroid character.
- extract(Frame) - Method in class org.simpleframework.http.socket.service.ReasonExtractor
-
This is used to extract a reason from the provided frame.
- extractCode(byte[]) - Method in class org.simpleframework.http.socket.service.ReasonExtractor
-
This method is used to extract the close code.
- extractor - Variable in class org.simpleframework.http.socket.service.FrameProcessor
-
This is used to extract the reason description from a frame.
- extractText(byte[]) - Method in class org.simpleframework.http.socket.service.ReasonExtractor
-
This method is used to extract the UTF-8 description from the frame payload.
F
- factory - Variable in class org.simpleframework.common.thread.Daemon
-
This is the internal thread used by this daemon instance.
- factory - Variable in class org.simpleframework.common.thread.ExecutorQueue
-
This is used to create the pool worker threads.
- factory - Variable in class org.simpleframework.common.thread.SchedulerQueue
-
This is the factory used to create the worker threads.
- factory - Variable in class org.simpleframework.http.core.ResponseEncoder
-
This is used to create a encoder based on the HTTP headers.
- factory - Variable in class org.simpleframework.http.message.EntityConsumer
-
This is used to create a body consumer for the entity.
- factory - Variable in class org.simpleframework.http.message.PartConsumer
-
This is used to determine what type the body data is.
- factory - Variable in class org.simpleframework.http.message.PartSeriesConsumer
-
This is the factory that is used to create the consumers used.
- factory - Variable in class org.simpleframework.transport.TransportSocketProcessor
-
This is the factory used to create the required operations.
- fail(ByteWriter) - Method in class org.simpleframework.http.core.ResponseObserver
-
This is used to purge the writer so that it closes the socket ensuring there is no connection leak on shutdown.
- failure() - Method in class org.simpleframework.http.socket.service.StatusChecker
-
This is used to close the session and send a 1011 close code to the client indicating an internal server error.
- failure(Exception) - Method in class org.simpleframework.http.socket.service.FrameProcessor
-
This is used to report failures back to the client.
- file - Variable in class org.simpleframework.common.buffer.FileBuffer
-
This is the path for the file that this buffer appends to.
- file - Variable in class org.simpleframework.http.parse.ContentDispositionParser
-
This is used to capture the name of the file if it is provided.
- FileAllocator - Class in org.simpleframework.common.buffer
-
The
FileAllocator
object 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
FileAllocator
object. - FileAllocator(int) - Constructor for class org.simpleframework.common.buffer.FileAllocator
-
Constructor for the
FileAllocator
object. - FileAllocator(String) - Constructor for class org.simpleframework.common.buffer.FileAllocator
-
Constructor for the
FileAllocator
object. - FileAllocator(String, int) - Constructor for class org.simpleframework.common.buffer.FileAllocator
-
Constructor for the
FileAllocator
object. - FileBuffer - Class in org.simpleframework.common.buffer
-
The
FileBuffer
object is used to create a buffer which will write the appended data to an underlying file. - FileBuffer(File) - Constructor for class org.simpleframework.common.buffer.FileBuffer
-
Constructor for the
FileBuffer
object. - FileBuffer.Range - Class in org.simpleframework.common.buffer
-
The
Range
object is used to provide a stream that can read a range of bytes from a provided input stream. - FileBuffer.Segment - Class in org.simpleframework.common.buffer
-
The
Segment
object is used to create a segment of the parent buffer. - FileUploadConsumer - Class in org.simpleframework.http.message
-
The
FileUploadConsumer
object 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
FileUploadConsumer
object. - FileUploadConsumer.ByteCounter - Class in org.simpleframework.http.message
-
The
ByteCounter
is a wrapper for a cursor that can be used to restrict the number of bytes consumed. - FileWatcher - Class in org.simpleframework.common.buffer
-
The
FileWatcher
object is used to create files that are to be used for file buffers. - FileWatcher(String) - Constructor for class org.simpleframework.common.buffer.FileWatcher
-
Constructor for the
FileWatcher
object. - FileWatcher(String, long) - Constructor for class org.simpleframework.common.buffer.FileWatcher
-
Constructor for the
FileWatcher
object. - fill(ByteBuffer) - Method in class org.simpleframework.transport.SecureTransport
-
This is used to fill the provided buffer with data that has been read from the secure socket channel.
- fill(ByteBuffer, int) - Method in class org.simpleframework.transport.SecureTransport
-
This is used to fill the provided buffer with data that has been read from the secure socket channel.
- FilterAllocator - Class in org.simpleframework.common.buffer
-
The
FilterAllocator
object 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
FilterAllocator
object. - FilterAllocator(Allocator, long) - Constructor for class org.simpleframework.common.buffer.FilterAllocator
-
Constructor for the
FilterAllocator
object. - FilterAllocator(Allocator, long, long) - Constructor for class org.simpleframework.common.buffer.FilterAllocator
-
Constructor for the
FilterAllocator
object. - finish() - Method in class org.simpleframework.http.core.ChunkedEncoder
-
This method is used to write the zero length chunk.
- finished - Variable in class org.simpleframework.http.message.UpdateConsumer
-
This is used to determine whether the consumer has finished.
- finished - Variable in class org.simpleframework.http.parse.CookieParser
-
Determines when the
Parser
has finished. - finished - Variable in class org.simpleframework.transport.SecureTransport
-
This is used to determine if the end of stream was reached.
- first - Variable in class org.simpleframework.common.buffer.FileBuffer.Segment
-
This is the offset of the first byte within the sequence.
- first(byte[]) - Method in class org.simpleframework.http.parse.PrincipalParser
-
This is used to extract the
byte
from the set of fourbytes
given. - FixedLengthConsumer - Class in org.simpleframework.http.message
-
The
FixedLengthConsumer
object reads a fixed number of bytes from a cursor. - FixedLengthConsumer(Allocator, long) - Constructor for class org.simpleframework.http.message.FixedLengthConsumer
-
Constructor for the
FixedLengthConsumer
object. - FixedLengthEncoder - Class in org.simpleframework.http.core
-
The
FixedLengthEncoder
object produces content without any encoding, but limited to a fixed number of bytes. - FixedLengthEncoder(BodyObserver, ByteWriter, long) - Constructor for class org.simpleframework.http.core.FixedLengthEncoder
-
Constructor for the
FixedLengthEncoder
object. - flush() - Method in interface org.simpleframework.http.core.BodyEncoder
-
This method is used to flush the contents of the buffer to the client.
- flush() - Method in class org.simpleframework.http.core.ChunkedEncoder
-
This method is used to flush the contents of the buffer to the client.
- flush() - Method in class org.simpleframework.http.core.CloseEncoder
-
This method is used to flush the contents of the buffer to the client.
- flush() - Method in class org.simpleframework.http.core.EmptyEncoder
-
This method performs no operation.
- flush() - Method in class org.simpleframework.http.core.FixedLengthEncoder
-
This method is used to flush the contents of the buffer to the client.
- flush() - Method in class org.simpleframework.http.core.ResponseBuffer
-
This is used to flush the contents of the buffer to the underlying transport.
- flush() - Method in class org.simpleframework.http.core.ResponseEncoder
-
This method is used to flush the contents of the buffer to the client.
- 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.SecureTransport
-
This method is used to flush the contents of the buffer to the client.
- flush() - Method in class org.simpleframework.transport.SocketBuffer
-
This method is used to fully flush the contents of the buffer to the underlying output stream.
- flush() - Method in class org.simpleframework.transport.SocketBufferWriter
-
This method is used to flush all of the queued buffers to the client.
- flush() - Method in class org.simpleframework.transport.SocketFlusher
-
Here in this method we schedule a flush when the underlying writer is write ready.
- 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.
- flush(boolean) - Method in class org.simpleframework.http.core.ResponseBuffer
-
This is used to flush the contents of the buffer to the underlying transport.
- flush(ByteBuffer) - Method in class org.simpleframework.transport.SocketBuffer
-
This write method will write the contents of the buffer to the provided byte channel.
- flushed - Variable in class org.simpleframework.http.core.ResponseBuffer
-
This is used to determine if the accumulate was flushed.
- flusher - Variable in class org.simpleframework.transport.SocketBufferWriter
-
This is the flusher that is used to asynchronously flush.
- flushing - Variable in class org.simpleframework.transport.FlushScheduler
-
This is used to determine if there is currently a flush.
- FlushScheduler - Class in org.simpleframework.transport
-
The
FlushScheduler
object is used to schedule a task for execution when it is write ready. - FlushScheduler(Socket, Reactor, Operation, Object) - Constructor for class org.simpleframework.transport.FlushScheduler
-
Constructor for the
FlushScheduler
object. - FlushSignaller - Class in org.simpleframework.transport
-
The
FlushSignaller
is an operation that performs writes operation asynchronously. - FlushSignaller(SocketFlusher, Socket) - Constructor for class org.simpleframework.transport.FlushSignaller
-
Constructor for the
FlushSignaller
object. - FORBIDDEN - org.simpleframework.http.Status
-
This is used to tell the client that the resource is forbidden.
- form - Variable in class org.simpleframework.http.parse.ContentDispositionParser
-
This is used to determine if the disposition is a file or form.
- format - Variable in class org.simpleframework.http.Cookie.CookieDate
-
This is the date formatter used to build the string.
- format(int) - Method in class org.simpleframework.http.Cookie.CookieDate
-
This takes the number of seconds the cookie will live for.
- FORMAT - Static variable in class org.simpleframework.http.Cookie.CookieDate
-
This is the format that is required for the date.
- FOUND - org.simpleframework.http.Status
-
This is used to represent a resource that has been found.
- four - Variable in class org.simpleframework.http.parse.PrincipalParser
-
Keeps the
bytes
used for decoding base64. - frame - Variable in class org.simpleframework.http.socket.service.StatusChecker
-
This is the frame that contains the ping to send.
- Frame - Interface in org.simpleframework.http.socket
-
The
Frame
interface represents a frame as defined in RFC 6455. - FrameBuilder - Class in org.simpleframework.http.socket.service
-
The
FrameBuilder
object is used to create an object that interprets a frame header to produce frame objects. - FrameBuilder(FrameHeader) - Constructor for class org.simpleframework.http.socket.service.FrameBuilder
-
Constructor for the
FrameBuilder
object. - FrameChannel - Interface in org.simpleframework.http.socket
-
The
FrameChannel
represents a full duplex communication channel as defined by RFC 6455. - FrameCollector - Class in org.simpleframework.http.socket.service
-
The
FrameCollector
operation is used to collect frames from a channel and dispatch them to aFrameListener
. - FrameCollector(FrameEncoder, Session, Request, Reactor) - Constructor for class org.simpleframework.http.socket.service.FrameCollector
-
Constructor for the
FrameCollector
object. - FrameConnection - Class in org.simpleframework.http.socket.service
-
The
FrameConnection
represents a connection that can send and receivd WebSocket frames. - FrameConnection(Request, Response, Reactor) - Constructor for class org.simpleframework.http.socket.service.FrameConnection
-
Constructor for the
FrameConnection
object. - FrameConsumer - Class in org.simpleframework.http.socket.service
-
The
FrameConsumer
object is used to read a WebSocket frame as defined by RFC 6455. - FrameConsumer() - Constructor for class org.simpleframework.http.socket.service.FrameConsumer
-
Constructor for the
FrameConsumer
object. - FrameEncoder - Class in org.simpleframework.http.socket.service
-
The
FrameEncoder
is used to encode data as frames as defined by RFC 6455. - FrameEncoder(Request) - Constructor for class org.simpleframework.http.socket.service.FrameEncoder
-
Constructor for the
FrameEncoder
object. - FrameEncoder(Request, String) - Constructor for class org.simpleframework.http.socket.service.FrameEncoder
-
Constructor for the
FrameEncoder
object. - FrameHeader - Interface in org.simpleframework.http.socket.service
-
The
FrameHeader
represents the variable length header used for a WebSocket frame. - FrameHeaderConsumer - Class in org.simpleframework.http.socket.service
-
The
FrameHeaderConsumer
is used to consume frames from a connected TCP channel. - FrameHeaderConsumer() - Constructor for class org.simpleframework.http.socket.service.FrameHeaderConsumer
-
Constructor for the
FrameHeaderConsumer
object. - FrameListener - Interface in org.simpleframework.http.socket
-
The
FrameListener
is used to listen for incoming frames on aWebSocket
. - FrameProcessor - Class in org.simpleframework.http.socket.service
-
The
FrameProcessor
object is used to process incoming data and dispatch that data as WebSocket frames. - FrameProcessor(FrameEncoder, Session, Request) - Constructor for class org.simpleframework.http.socket.service.FrameProcessor
-
Constructor for the
FrameProcessor
object. - FrameType - Enum in org.simpleframework.http.socket
-
The
FrameType
represents the set of opcodes defined in RFC 6455. - FrameType(int) - Constructor for enum org.simpleframework.http.socket.FrameType
-
Constructor for the
Frame
type enumeration. - frequency - Variable in class org.simpleframework.http.socket.service.StatusChecker
-
This is the frequency with which the checker should run.
- FROM - Static variable in interface org.simpleframework.http.Protocol
-
Address for the human user who controls the requesting user agent.
- future - Variable in class org.simpleframework.transport.NegotiationState
-
This is used to hold the completion task for the challenge.
G
- GATEWAY_TIMEOUT - org.simpleframework.http.Status
-
This is used to tell the client there was a gateway timeout.
- get() - Method in class org.simpleframework.http.core.Timer
-
This is used to get the time for a specific event.
- get(int) - Method in class org.simpleframework.transport.reactor.ActionSet
-
This is used to acquire the actions that match the bitmask of interest operations.
- get(Object) - Method in class org.simpleframework.common.lease.LeaseMap
-
This is used to acquire the
Lease
object that is mapped to the specified key. - get(Object) - Method in class org.simpleframework.common.parse.MapParser
-
The
get
method 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 class org.simpleframework.http.core.RequestMessage
-
This is used to acquire the address from the request line.
- 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.
- getAddress() - Method in class org.simpleframework.transport.connect.SocketAcceptor
-
This is used to acquire the local socket address that this is listening to.
- getAddress() - Method in class org.simpleframework.transport.connect.SocketListener
-
This is used to acquire the local socket address that this is listening to.
- getAll(Object) - Method in class org.simpleframework.common.parse.MapParser
-
This method is used to acquire a
List
for 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
List
for 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.
- getAll(String, 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 class org.simpleframework.http.core.RequestEntity
-
This is used as a shortcut for acquiring attributes for the response.
- getAttribute(Object) - Method in class org.simpleframework.http.core.ResponseEntity
-
This is used as a shortcut for acquiring attributes for the response.
- 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 class org.simpleframework.http.socket.service.ServiceSession
-
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 class org.simpleframework.http.core.RequestEntity
-
This can be used to retrieve the response attributes.
- getAttributes() - Method in class org.simpleframework.http.core.ResponseEntity
-
This can be used to retrieve certain attributes about this
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 class org.simpleframework.http.socket.service.ServiceSession
-
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
Map
of attributes used to hold connection information for the channel. - getAttributes() - Method in class org.simpleframework.transport.SecureTransport
-
This method is used to get the
Map
of attributes by this pipeline. - getAttributes() - Method in interface org.simpleframework.transport.Socket
-
This method is used to get the
Map
of attributes for this socket. - getAttributes() - Method in class org.simpleframework.transport.SocketTransport
-
This method is used to get the
Map
of attributes by this pipeline. - getAttributes() - Method in class org.simpleframework.transport.SocketWrapper
-
This method is used to get the
Map
of attributes by this socket. - getAttributes() - Method in class org.simpleframework.transport.TransportChannel
-
This returns the
Map
of 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 class org.simpleframework.http.core.RequestCollector
-
This is used to acquire the body for this HTTP entity.
- 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.ContentConsumer
-
This is used to acquire the body for this HTTP entity.
- 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.
- getBody() - Method in class org.simpleframework.http.message.PartBodyConsumer
-
This is used to acquire the body that has been consumed.
- getBody() - Method in class org.simpleframework.http.message.PartSeriesConsumer
-
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.
- getBoundary(Segment) - Method in class org.simpleframework.http.message.ConsumerFactory
-
This is used to extract information from the HTTP header that can be used to determine the type of the body.
- getByteChannel() - Method in class org.simpleframework.http.core.RequestEntity
-
This is used to read the content body.
- getByteChannel() - Method in class org.simpleframework.http.core.ResponseEntity
-
Used to write a message body with the
Response
. - 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 class org.simpleframework.http.core.ResponseEntity
-
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.SecureTransport
-
This is used to acquire the SSL certificate used when the server is using a HTTPS connection.
- 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 class org.simpleframework.http.core.RequestCertificate
-
This will return the X509 certificate chain, if any, that has been sent by the client.
- getChain() - Method in interface org.simpleframework.transport.Certificate
-
This will return the X509 certificate chain, if any, that has been sent by the client.
- getChain() - Method in class org.simpleframework.transport.NegotiationState
-
This will return the X509 certificate chain, if any, that has been sent by the client.
- getChallenge() - Method in class org.simpleframework.http.core.RequestCertificate
-
This returns a challenge for the certificate.
- getChallenge() - Method in interface org.simpleframework.transport.Certificate
-
This returns a challenge for the certificate.
- getChallenge() - Method in class org.simpleframework.transport.NegotiationState
-
This returns a challenge for the certificate.
- getChannel() - Method in class org.simpleframework.http.core.RequestCollector
-
This provides the connected channel for the client.
- getChannel() - Method in class org.simpleframework.http.core.RequestEntity
-
This provides the underlying channel for the request.
- getChannel() - Method in class org.simpleframework.http.core.RequestReader
-
This is the
SocketChannel
used to determine if the connection has some bytes that can be read. - 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 class org.simpleframework.http.socket.service.FrameCollector
-
This is the channel associated with this collector.
- getChannel() - Method in class org.simpleframework.http.socket.service.ServiceSession
-
Provides a
WebSocket
that can be used to communicate with the connected client. - getChannel() - Method in interface org.simpleframework.http.socket.Session
-
Provides a
FrameChannel
that can be used to communicate with the connected client. - getChannel() - Method in class org.simpleframework.transport.connect.SocketAcceptor
-
This is the
SelectableChannel
which is used to determine if the operation should be executed. - getChannel() - Method in class org.simpleframework.transport.FlushSignaller
-
This returns the socket channel for the connected pipeline.
- getChannel() - Method in class org.simpleframework.transport.Handshake
-
This returns the socket channel for the connected pipeline.
- getChannel() - Method in class org.simpleframework.transport.Phase
-
This is the
SelectableChannel
which is used to determine if the operation should be executed. - getChannel() - Method in interface org.simpleframework.transport.reactor.Action
-
This is the
SelectableChannel
which is used to determine if the operation should be executed. - getChannel() - Method in class org.simpleframework.transport.reactor.CancelAction
-
This is the
SelectableChannel
which is used to determine if the operation should be executed. - getChannel() - Method in class org.simpleframework.transport.reactor.ExecuteAction
-
This is the
SelectableChannel
which is used to determine if the operation should be executed. - getChannel() - Method in interface org.simpleframework.transport.reactor.Operation
-
This is the
SelectableChannel
which is used to determine if the operation should be executed. - getChannel() - Method in class org.simpleframework.transport.SecureTransport
-
This method is used to acquire the
SocketChannel
for the connection. - getChannel() - Method in interface org.simpleframework.transport.Socket
-
This method is used to acquire the
SocketChannel
for the connection. - getChannel() - Method in class org.simpleframework.transport.SocketTransport
-
This method is used to acquire the
SocketChannel
for the connection. - getChannel() - Method in class org.simpleframework.transport.SocketWrapper
-
This method is used to acquire the
SocketChannel
for the connection. - getChannel() - Method in class org.simpleframework.transport.TransportDispatcher
-
This is the
SelectableChannel
which is used to determine if the operation should be executed. - getCharset() - Method in interface org.simpleframework.http.ContentType
-
This is used to retrieve the
charset
of this MIME type. - getCharset() - Method in class org.simpleframework.http.core.ResponseEntity
-
This determines the charset for
PrintStream
objects returned from thegetPrintStream
method. - getCharset() - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This is used to retrieve the
charset
of this MIME type. - getClientAddress() - Method in class org.simpleframework.http.core.RequestEntity
-
This is used to acquire the remote client address.
- 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.
- getClientAddress(Socket) - Method in class org.simpleframework.http.core.RequestEntity
-
This is used to acquire the remote client address.
- getClientCertificate() - Method in class org.simpleframework.http.core.RequestEntity
-
This is used to acquire the SSL certificate used when the server is using a HTTPS connection.
- 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.core.ResponseMessage
-
This represents the status code of the HTTP response.
- 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.
- getConsumer() - Method in class org.simpleframework.http.message.PartConsumer
-
This is used to create a new body consumer used to consume the part body from for the list.
- getContent() - Method in class org.simpleframework.http.core.QueryBuilder
-
This method attempts to acquire the content of the request body.
- getContent() - Method in class org.simpleframework.http.core.RequestEntity
-
This is used to get the content body.
- getContent() - Method in interface org.simpleframework.http.message.Body
-
This will acquire the contents of the body in UTF-8.
- getContent() - Method in class org.simpleframework.http.message.BufferBody
-
This will acquire the contents of the body in UTF-8.
- getContent() - Method in class org.simpleframework.http.message.BufferPart
-
This is used to acquire the content of the part as a string.
- 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.
- getContent(String) - Method in class org.simpleframework.http.message.BufferBody
-
This will acquire the contents of the body in the specified charset.
- getContent(ContentType) - Method in class org.simpleframework.http.core.RequestEntity
-
This is used to get the content body.
- getContentLength() - Method in class org.simpleframework.http.core.Conversation
-
This is used to acquire the content length for the response.
- getContentLength() - Method in class org.simpleframework.http.core.RequestMessage
-
This is a convenience method that can be used to determine the length of the message body.
- getContentLength() - Method in class org.simpleframework.http.core.ResponseMessage
-
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.ConsumerFactory
-
This is a convenience method that can be used to determine the length of the message body.
- 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 class org.simpleframework.http.core.RequestMessage
-
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.core.ResponseMessage
-
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.BufferPart
-
This is used to acquire the content type for this part.
- 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() - Method in class org.simpleframework.http.parse.CookieParser
-
Creates the
Cookie
from the token objects. - getCookie(String) - Method in class org.simpleframework.http.core.RequestMessage
-
This is used to acquire a cookie usiing the name of that cookie.
- 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
Cookie
object stored under the specified name. - getCookie(String) - Method in class org.simpleframework.http.message.MessageHeader
-
This returns the
Cookie
object 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
Cookie
object stored under the specified name. - getCookie(String) - Method in class org.simpleframework.http.ResponseWrapper
-
This returns the
Cookie
object stored under the specified name. - getCookie(String, String) - Method in class org.simpleframework.http.parse.CookieParser
-
Creates the
Cookie
from the token objects. - getCookies() - Method in class org.simpleframework.http.core.RequestMessage
-
This is used to acquire all cookies that were sent in the header.
- 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
Cookie
objects stored under the specified name. - getCookies() - Method in class org.simpleframework.http.message.MessageHeader
-
This returns all
Cookie
objects 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
Cookie
objects stored under the specified name. - getCookies() - Method in class org.simpleframework.http.ResponseWrapper
-
This returns all
Cookie
objects stored under the specified name. - getCursor() - Method in interface org.simpleframework.transport.Channel
-
This provides a
ByteCursor
for this channel. - getCursor() - Method in class org.simpleframework.transport.TransportChannel
-
This provides a
ByteCursor
for this channel. - getData() - Method in enum org.simpleframework.http.socket.CloseCode
-
This is the data that represents the closure code.
- getDate(String) - Method in class org.simpleframework.http.core.RequestMessage
-
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.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.
- getDelay(TimeUnit) - Method in interface org.simpleframework.common.lease.Contract
-
This method will return the number of
TimeUnit
seconds that remain in the contract. - getDelay(TimeUnit) - Method in class org.simpleframework.common.lease.Expiration
-
This method will return the number of
TimeUnit
seconds that remain in the contract. - getDescription() - Method in class org.simpleframework.http.core.ResponseMessage
-
This can be used to retrieve the text of a HTTP status line.
- 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 class org.simpleframework.http.message.BufferPart
-
This is used to acquire the content disposition for the part.
- 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 class org.simpleframework.transport.SecureTransport
-
This is used to acquire the SSL engine used for HTTPS.
- 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() - Method in interface org.simpleframework.transport.reactor.Action
-
This is used to get the expiry for the operation.
- getExpiry() - Method in class org.simpleframework.transport.reactor.CancelAction
-
This is used to get the expiry for the operation.
- getExpiry() - Method in class org.simpleframework.transport.reactor.ExecuteAction
-
This is used to get the expiry for the operation.
- getExpiry(TimeUnit) - Method in class org.simpleframework.common.lease.ContractLease
-
Determines the duration remaining before the lease expires.
- 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 class org.simpleframework.http.message.BufferPart
-
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() - Method in class org.simpleframework.http.socket.service.FrameConsumer
-
This is used to create a frame object to represent the data that has been consumed.
- 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.
- getFuture() - Method in class org.simpleframework.transport.NegotiationState
-
This returns the completion task associated with any challenge made for the client certificate.
- getHeader() - Method in class org.simpleframework.http.core.RequestCollector
-
This provides the HTTP request header for the entity.
- getHeader() - Method in class org.simpleframework.http.core.RequestMessage
-
This method returns a
CharSequence
holding the header consumed for the request. - getHeader() - Method in class org.simpleframework.http.core.ResponseMessage
-
This is used to compose the HTTP response header.
- 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
CharSequence
holding the data consumed for the request. - getHeader() - Method in class org.simpleframework.http.message.RequestConsumer
-
This method returns a
CharSequence
holding the data consumed for the request. - getHeader() - Method in interface org.simpleframework.http.RequestHeader
-
This method returns a
CharSequence
holding the header consumed for the request. - getHeader() - Method in class org.simpleframework.http.RequestWrapper
-
This method returns a
CharSequence
holding the header consumed for the request. - getHeader() - Method in interface org.simpleframework.http.ResponseHeader
-
This method returns a
CharSequence
holding the header created for the request. - getHeader() - Method in class org.simpleframework.http.ResponseWrapper
-
This method returns a
CharSequence
holding the header created for the request. - getHeader(String) - Method in class org.simpleframework.http.message.BufferPart
-
This is used to acquire the header value for the specified header name.
- 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 class org.simpleframework.http.core.RequestEntity
-
This is used to read the content body.
- 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 class org.simpleframework.http.message.BufferBody
-
This is used to acquire the contents of the body as a stream.
- getInputStream() - Method in class org.simpleframework.http.message.BufferPart
-
This is used to acquire an
InputStream
for the part. - getInputStream() - Method in interface org.simpleframework.http.Part
-
This is used to acquire an
InputStream
for 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.
- getInstance() - Method in class org.simpleframework.http.core.BodyEncoderFactory
-
This is used to create an a
BodyEncoder
object that can be used to encode content according to the HTTP header. - getInstance() - Method in class org.simpleframework.http.message.ConsumerFactory
-
This method is used to create a body consumer to read the body from the pipeline.
- getInstance() - Method in class org.simpleframework.http.message.PartEntryFactory
-
This creates a new part entry consumer that can be used to read the next part from the list.
- getInstance(boolean) - Method in class org.simpleframework.http.core.BodyEncoderFactory
-
This is used to create an a
BodyEncoder
object that can be used to encode content according to the HTTP header. - getInstance(long) - Method in class org.simpleframework.http.message.ConsumerFactory
-
This method is used to create a body consumer to read the body from the pipeline.
- getInstance(PartSeries, byte[]) - Method in class org.simpleframework.http.message.PartFactory
-
This method is used to create the consumer given the list and boundary for the part.
- getInstance(Socket) - Method in class org.simpleframework.transport.OperationFactory
-
This method is used to create
Operation
object to process the next phase of the negotiation. - getInstance(Socket, SSLEngine) - Method in class org.simpleframework.transport.OperationFactory
-
This method is used to create
Operation
object to process the next phase of the negotiation. - 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 class org.simpleframework.http.core.RequestMessage
-
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.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.
- getInterest() - Method in interface org.simpleframework.transport.reactor.Action
-
This returns the I/O operations that the action is interested in as an integer bit mask.
- getInterest() - Method in class org.simpleframework.transport.reactor.CancelAction
-
This returns the I/O operations that the action is interested in as an integer bit mask.
- getInterest() - Method in class org.simpleframework.transport.reactor.ExecuteAction
-
This returns the I/O operations that the action is interested in as an integer bit mask.
- getKey() - Method in interface org.simpleframework.common.lease.Contract
-
This returns the key for the resource this represents.
- getKey() - Method in class org.simpleframework.common.lease.ContractLease
-
Provides the key for the resource that this lease represents.
- getKey() - Method in class org.simpleframework.common.lease.Expiration
-
This returns the key for the resource this represents.
- 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
List
of the keys in the map. - getLength() - Method in interface org.simpleframework.http.socket.service.FrameHeader
-
This provides the length of the payload within the frame.
- getLength() - Method in class org.simpleframework.http.socket.service.FrameHeaderConsumer
-
This provides the length of the payload within the frame.
- getLocales() - Method in class org.simpleframework.http.core.RequestMessage
-
This is used to acquire the locales from the request header.
- 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 class org.simpleframework.http.core.RequestMessage
-
This can be used to get the major number from a HTTP version.
- getMajor() - Method in class org.simpleframework.http.core.ResponseMessage
-
This can be used to get the major number from a HTTP version.
- 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.
- getMask() - Method in interface org.simpleframework.http.socket.service.FrameHeader
-
This provides the client mask send with the request.
- getMask() - Method in class org.simpleframework.http.socket.service.FrameHeaderConsumer
-
This provides the client mask send with the request.
- getMethod() - Method in class org.simpleframework.http.core.RequestMessage
-
This can be used to get the HTTP method for this request.
- 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 class org.simpleframework.http.core.RequestMessage
-
This can be used to get the major number from a HTTP version.
- getMinor() - Method in class org.simpleframework.http.core.ResponseMessage
-
This can be used to get the minor number from a HTTP version.
- 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 class org.simpleframework.http.message.BufferPart
-
This method is used to acquire the name of the part.
- 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
getName
method is used to retreive the name of the principal. - getNames() - Method in class org.simpleframework.http.core.RequestMessage
-
This method is used to get a
List
of the names for the headers. - getNames() - Method in interface org.simpleframework.http.message.Header
-
This method is used to get a
List
of the names for the headers. - getNames() - Method in class org.simpleframework.http.message.HeaderConsumer
-
This method is used to get a
List
of 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
List
of the names for the headers. - getNames() - Method in interface org.simpleframework.http.RequestHeader
-
This method is used to get a
List
of the names for the headers. - getNames() - Method in class org.simpleframework.http.RequestWrapper
-
This method is used to get a
List
of 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.
- getOperation() - Method in interface org.simpleframework.transport.reactor.Action
-
This is used to acquire the
Operation
that is to be executed when the required operations are ready. - getOperation() - Method in class org.simpleframework.transport.reactor.CancelAction
-
This is used to acquire the
Operation
that is to be executed when the required operations are ready. - getOperation() - Method in class org.simpleframework.transport.reactor.ExecuteAction
-
This is used to acquire the
Operation
that is to be executed when the required operations are ready. - getOutputStream() - Method in class org.simpleframework.http.core.ResponseEntity
-
Used to write a message body with 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 class org.simpleframework.http.core.ResponseEntity
-
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.core.RequestEntity
-
This is used to provide quick access to the parameters.
- 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() - Method in class org.simpleframework.http.message.ContentConsumer
-
This is used to acquire the part for this HTTP entity.
- getPart(String) - Method in class org.simpleframework.http.core.RequestEntity
-
This method is used to acquire a
Part
from the HTTP request using a known name for the part. - getPart(String) - Method in interface org.simpleframework.http.message.Body
-
This method is used to acquire a
Part
from the HTTP request using a known name for the part. - getPart(String) - Method in class org.simpleframework.http.message.BufferBody
-
This method is used to acquire a
Part
from the HTTP request using a known name for the part. - getPart(String) - Method in class org.simpleframework.http.message.PartData
-
This method is used to acquire a
Part
from the list using a known name for the part. - getPart(String) - Method in interface org.simpleframework.http.message.PartSeries
-
This method is used to acquire a
Part
from the list using a known name for the part. - getPart(String) - Method in interface org.simpleframework.http.Request
-
This method is used to acquire a
Part
from 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
Part
from the HTTP request using a known name for the part. - getParts() - Method in class org.simpleframework.http.core.RequestEntity
-
This method is used to get all
Part
objects that are associated with the request. - getParts() - Method in interface org.simpleframework.http.message.Body
-
This method is used to get all
Part
objects that are associated with the request. - getParts() - Method in class org.simpleframework.http.message.BufferBody
-
This method is used to get all
Part
objects that are associated with the request. - getParts() - Method in class org.simpleframework.http.message.PartData
-
This is used to acquire the attachments associated with this list.
- getParts() - Method in interface org.simpleframework.http.message.PartSeries
-
This is used to acquire the attachments associated with this list.
- getParts() - Method in interface org.simpleframework.http.Request
-
This method is used to get all
Part
objects that are associated with the request. - getParts() - Method in class org.simpleframework.http.RequestWrapper
-
This method is used to get all
Part
objects 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
getPassword
method 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 class org.simpleframework.http.core.RequestMessage
-
This is used to acquire the path as extracted from the HTTP request URI.
- 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 class org.simpleframework.http.core.ResponseEntity
-
This method is provided for convenience so that the HTTP content can be written using the
print
methods provided by thePrintStream
. - getPrintStream() - Method in interface org.simpleframework.http.Response
-
This method is provided for convenience so that the HTTP content can be written using the
print
methods 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
print
methods provided by thePrintStream
. - getPrintStream(int) - Method in class org.simpleframework.http.core.ResponseEntity
-
This method is provided for convenience so that the HTTP content can be written using the
print
methods 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
print
methods 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
print
methods provided by thePrintStream
. - getPrintStream(int, String) - Method in class org.simpleframework.http.core.ResponseEntity
-
This is used to wrap the
getOutputStream
object in aPrintStream
, which will write content using a specified charset. - getQuery() - Method in interface org.simpleframework.http.Address
-
This is used to retrieve the query of this URI.
- getQuery() - Method in class org.simpleframework.http.core.RequestEntity
-
This method is used to acquire the query part from the HTTP request URI target and a form post if it exists.
- getQuery() - Method in class org.simpleframework.http.core.RequestMessage
-
This method is used to acquire the query part from the HTTP request URI target.
- 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.
- getQuery(Query) - Method in class org.simpleframework.http.core.QueryBuilder
-
This method is used to acquire the query part from the HTTP request URI target and a form post if it exists.
- getRelative(char[], int, int) - 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 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.
- getRelative(PathParser) - Method in class org.simpleframework.http.parse.PathParser
-
This is used by the
getRelative(String)
to normalize the path string and determine if it contains a highest directory which is shared with the path that is represented by this object. - getRequest() - Method in class org.simpleframework.http.core.Conversation
-
This provides the
Request
object. - getRequest() - Method in class org.simpleframework.http.socket.service.ServiceSession
-
Provides the
Request
used to initiate the session. - getRequest() - Method in interface org.simpleframework.http.socket.Session
-
Provides the
Request
used to initiate the session. - getRequestTime() - Method in class org.simpleframework.http.core.RequestEntity
-
This is the time in milliseconds when the request was first read from the underlying socket.
- 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
Response
object. - getResponse() - Method in class org.simpleframework.http.socket.service.ServiceSession
-
Provides the
Response
used to establish the session with the remote client. - getResponse() - Method in interface org.simpleframework.http.socket.Session
-
Provides the
Response
used to establish the session with the remote client. - getResponseTime() - Method in class org.simpleframework.http.core.ResponseEntity
-
This represents the time at which the response has fully written.
- 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.
- getSession() - Method in class org.simpleframework.transport.NegotiationState
-
This is used to acquire the SSL session associated with the handshake.
- getSocket() - Method in class org.simpleframework.http.core.RequestCollector
-
This returns the socket channel that is used by the collector to read content from.
- 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.core.ResponseMessage
-
This is used to acquire the status from the response.
- 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 class org.simpleframework.http.core.RequestMessage
-
This can be used to get the URI specified for this HTTP request.
- 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 class org.simpleframework.common.lease.Expiration
-
This method returns the current time in nanoseconds.
- getTime() - Method in interface org.simpleframework.http.core.BodyObserver
-
This represents the time at which the response was either ready, closed or in error.
- getTime() - Method in class org.simpleframework.http.core.RequestCollector
-
This is the time in milliseconds when the request was first read from the underlying channel.
- getTime() - Method in class org.simpleframework.http.core.ResponseObserver
-
This represents the time at which the response was either ready, closed or in error.
- 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 class org.simpleframework.http.core.RequestReader
-
This is used to acquire the trace object that is associated with the operation.
- getTrace() - Method in class org.simpleframework.http.socket.service.FrameCollector
-
This is used to acquire the trace object that is associated with the operation.
- getTrace() - Method in interface org.simpleframework.transport.Channel
-
This gets the
Trace
object associated with the channel. - getTrace() - Method in class org.simpleframework.transport.connect.SocketAcceptor
-
This is used to acquire the trace object that is associated with the operation.
- getTrace() - Method in class org.simpleframework.transport.FlushSignaller
-
This is used to acquire the trace object that is associated with the operation.
- getTrace() - Method in class org.simpleframework.transport.Handshake
-
This is used to acquire the trace object that is associated with the operation.
- getTrace() - Method in class org.simpleframework.transport.Phase
-
This is used to acquire the trace object that is associated with the operation.
- 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 class org.simpleframework.transport.SecureTransport
-
This is used to acquire the trace object that is associated with the socket.
- 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
Trace
object associated with the channel. - getTrace() - Method in class org.simpleframework.transport.TransportDispatcher
-
This is used to acquire the trace object that is associated with the operation.
- getTransferEncoding() - Method in class org.simpleframework.http.core.ResponseMessage
-
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.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.
- getType() - Method in class org.simpleframework.http.socket.service.FrameConsumer
-
This is used to determine the type of frame.
- getType() - Method in interface org.simpleframework.http.socket.service.FrameHeader
-
This is used to determine the type of frame.
- getType() - Method in class org.simpleframework.http.socket.service.FrameHeaderConsumer
-
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() - Method in class org.simpleframework.http.parse.ListParser.Entry
-
This acquires the value represented by this entry.
- getValue(String) - Method in class org.simpleframework.http.core.RequestMessage
-
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.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 class org.simpleframework.http.core.RequestMessage
-
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
List
of the values in the map. - getValues() - Method in class org.simpleframework.http.message.MessageHeader.Series
-
This returns the list of header values associated with the header name.
- getValues(String) - Method in class org.simpleframework.http.core.RequestMessage
-
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.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<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(List<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.
- 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
ByteWriter
for the channel. - getWriter() - Method in class org.simpleframework.transport.TransportChannel
-
This provides a
ByteWriter
for the channel. - GOING_AWAY - org.simpleframework.http.socket.CloseCode
-
Indicates that the server is going down or the client browsed away.
- GONE - 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
Request
andResponse
to 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
Session
to a specific service selected by a router. - handler - Variable in class org.simpleframework.common.lease.ContractLease
-
This is the controller object used to handle contracts.
- handler - Variable in class org.simpleframework.common.lease.LeaseManager
-
This is the controller used to handle lease operations.
- Handshake - Class in org.simpleframework.transport
-
The
Handshake
object is used to perform secure SSL negotiations on a pipeline orTransport
. - Handshake(TransportProcessor, Transport, Reactor) - Constructor for class org.simpleframework.transport.Handshake
-
Constructor for the
Handshake
object. - Handshake(TransportProcessor, Transport, Reactor, boolean) - Constructor for class org.simpleframework.transport.Handshake
-
Constructor for the
Handshake
object. - Handshake(TransportProcessor, Transport, Reactor, int) - Constructor for class org.simpleframework.transport.Handshake
-
Constructor for the
Handshake
object. - Handshake(TransportProcessor, Transport, Reactor, int, boolean) - Constructor for class org.simpleframework.transport.Handshake
-
Constructor for the
Handshake
object. - HANDSHAKE_BEGIN - org.simpleframework.transport.TransportEvent
-
This event occurs with HTTPS when a new SSL handshake starts.
- HANDSHAKE_DONE - org.simpleframework.transport.TransportEvent
-
This event occurs with HTTPS when a SSL handshake has finished.
- HANDSHAKE_FAILED - org.simpleframework.transport.TransportEvent
-
This event indicates that the handshake failed in some way.
- Handshake.Committer - Class in org.simpleframework.transport
-
The
Committer
task is used to transfer the transport created to the processor. - Handshake.Consumer - Class in org.simpleframework.transport
-
The
Consumer
task is used to schedule the negotiation for a read operation. - Handshake.Producer - Class in org.simpleframework.transport
-
The
Producer
is used to schedule the negotiation for a write operation. - hasNext() - Method in class org.simpleframework.http.parse.CookieParser.Sequence
-
Determine whether or not there are any
Cookie
s left in theString
. - 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.core.QueryBuilder
-
This is the header that is used to acquire the data.
- header - Variable in class org.simpleframework.http.core.RequestMessage
-
This is the underlying header used to house the headers.
- 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.PartConsumer
-
This is used to consume the header message of the part.
- header - Variable in class org.simpleframework.http.message.SegmentConsumer
-
This is used to store all consumed headers by the header name.
- header - Variable in class org.simpleframework.http.socket.service.FrameBuilder
-
This is used to determine the type of frames to create.
- header - Variable in class org.simpleframework.http.socket.service.FrameConsumer
-
This is used to consume the header part of the frame.
- header() - Method in class org.simpleframework.http.message.SegmentConsumer
-
This is used to parse a header from the consumed HTTP message and add them to the segment.
- Header - Interface in org.simpleframework.http.message
-
This is a
Header
object that is used to represent a basic form for the HTTP request message. - HEADER_FINISHED - org.simpleframework.http.core.ContainerEvent
-
This indicates that the server has fully read the request header.
- HeaderConsumer - Class in org.simpleframework.http.message
-
The
HeaderConsumer
object is used to consume a HTTP header from the cursor. - HeaderConsumer() - Constructor for class org.simpleframework.http.message.HeaderConsumer
-
Constructor for the
HeaderConsumer
object. - 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.
- hex(char) - Method in class org.simpleframework.http.parse.AddressParser
-
This is used to determine wheather a char is a hexidecimal
char
or not. - hex(char) - Method in class org.simpleframework.http.parse.QueryParser
-
This is used to determine whether a char is a hexadecimal
char
or not. - 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.
- hostPort() - Method in class org.simpleframework.http.parse.AddressParser
-
This is used to extract the host and port combination.
- hour - Variable in class org.simpleframework.http.parse.DateParser
-
Represents the decimal value of the hour such as 24.
- hours() - Method in class org.simpleframework.http.parse.DateParser
-
This is used to initialize the hour.
- HTTP - org.simpleframework.http.Scheme
-
This represents the scheme for a plaintext HTTP connection.
- HTTPS - 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.
- index - Variable in class org.simpleframework.http.core.ChunkedEncoder
-
This is the hexadecimal alphabet used to translate the size.
- init() - Method in class org.simpleframework.common.parse.Parser
-
This will initialize the
Parser
when 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
Parser
when 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
Parser
when 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.
- input - Variable in class org.simpleframework.transport.Handshake
-
This is the input buffer used to read data from the socket.
- input - Variable in class org.simpleframework.transport.SecureTransport
-
This is the internal buffer used to exchange the SSL data.
- insert() - Method in class org.simpleframework.http.parse.AddressParser
-
This method adds the name and value to a map so that the next name and value can be collected.
- insert() - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This will add the name and value tokens to the parameters map.
- insert() - Method in class org.simpleframework.http.parse.QueryParser
-
This method adds the name and value to a map so that the next name and value can be collected.
- insert(String, String) - Method in class org.simpleframework.http.parse.AddressParser
-
This will add the given name and value to the parameters map.
- insert(ParseBuffer, ParseBuffer) - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This will add the given name and value to the parameters map.
- insert(AddressParser.Token, AddressParser.Token) - Method in class org.simpleframework.http.parse.AddressParser
-
This will add the given name and value to the parameters map.
- insert(QueryParser.Token, QueryParser.Token) - Method in class org.simpleframework.http.parse.QueryParser
-
This will add the given name and value to the parameters map.
- interest() - Method in class org.simpleframework.transport.reactor.ActionSet
-
This is used to acquire the operations that this is interested in.
- INTEREST_READY - org.simpleframework.transport.reactor.ReactorEvent
-
This indicates that the I/O interest has been satisfied.
- INTERNAL_SERVER_ERROR - org.simpleframework.http.socket.CloseCode
-
Indicates an unexpected error within the server.
- INTERNAL_SERVER_ERROR - 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 - Variable in class org.simpleframework.transport.reactor.ActionDistributor
-
This is the queue that is used to invalidate channels.
- INVALID_FRAME_DATA - org.simpleframework.http.socket.CloseCode
-
Indicates that a payload was not consistent with the message type.
- INVALID_KEY - org.simpleframework.transport.reactor.ReactorEvent
-
This occurs rarely however it indicates an invalid registration.
- invalidate(Channel) - Method in class org.simpleframework.transport.reactor.ActionDistributor
-
This method is used to remove the channel from the selecting registry.
- isActive() - Method in class org.simpleframework.common.thread.Daemon
-
This is used to determine if the runner is active.
- isChainPresent() - Method in class org.simpleframework.http.core.RequestCertificate
-
This is used to determine if the X509 certificate chain is present for the request.
- isChainPresent() - Method in interface org.simpleframework.transport.Certificate
-
This is used to determine if the X509 certificate chain is present for the request.
- isChainPresent() - Method in class org.simpleframework.transport.NegotiationState
-
This is used to determine if the X509 certificate chain is present for the request.
- isChallenge() - Method in class org.simpleframework.transport.NegotiationState
-
This is used to determine if the state is in challenge mode.
- isChunkable() - Method in class org.simpleframework.http.core.Conversation
-
The
isChunkable
method is used to determine if the client supports chunked encoding. - isChunked(Segment) - Method in class org.simpleframework.http.message.ConsumerFactory
-
This is used to extract information from the HTTP header that can be used to determine the type of the body.
- isChunkedEncoded() - Method in class org.simpleframework.http.core.Conversation
-
The
isChunkedEncoded
is 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.
- isClosed() - Method in interface org.simpleframework.http.core.BodyObserver
-
This is used to determine if the response has completed or if there has been an error.
- isClosed() - Method in class org.simpleframework.http.core.ResponseObserver
-
This is used to determine if the response has completed or if there has been an error.
- isCommitted() - Method in interface org.simpleframework.http.core.BodyObserver
-
This can be used to determine whether the response has been committed.
- isCommitted() - Method in class org.simpleframework.http.core.ResponseEntity
-
This can be used to determine whether the
Response
has been committed. - isCommitted() - Method in class org.simpleframework.http.core.ResponseObserver
-
This can be used to determine whether the response has been committed.
- isCommitted() - Method in interface org.simpleframework.http.Response
-
This can be used to determine whether the
Response
has been committed. - isCommitted() - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to determine whether the
Response
has 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
Response
has a message body. - isEnd() - Method in class org.simpleframework.http.message.BoundaryConsumer
-
This is used to determine whether the boundary has been read from the underlying stream.
- isEnd() - Method in class org.simpleframework.http.message.PartEntryConsumer
-
This is used to determine whether the terminal token read is the final terminal token.
- isError() - Method in interface org.simpleframework.http.core.BodyObserver
-
This is used to determine if the response was in error.
- isError() - Method in class org.simpleframework.http.core.ResponseObserver
-
This is used to determine if the response was in error.
- 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 class org.simpleframework.http.message.BufferPart
-
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.
- isFinal() - Method in interface org.simpleframework.http.socket.service.FrameHeader
-
This is used to determine if the frame is the final frame in a sequence of fragments or a whole frame.
- isFinal() - Method in class org.simpleframework.http.socket.service.FrameHeaderConsumer
-
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.PartBodyConsumer
-
This is used to determine whether the part body has been read from the cursor successfully.
- isFinished() - Method in class org.simpleframework.http.message.PartConsumer
-
This is used to determine whether the part body has been read from the cursor successfully.
- isFinished() - Method in class org.simpleframework.http.message.PartEntryConsumer
-
This is used to determine whether the part body has been read from the cursor successfully.
- isFinished() - Method in class org.simpleframework.http.message.PartSeriesConsumer
-
This is used to determine whether the part body has been read from the cursor successfully.
- isFinished() - Method in class org.simpleframework.http.message.UpdateConsumer
-
This is used to determine whether the consumer has finished reading.
- isFinished() - Method in class org.simpleframework.http.socket.service.FrameConsumer
-
This is used to determine if the collector has finished.
- isFinished() - Method in class org.simpleframework.http.socket.service.FrameHeaderConsumer
-
This is used to determine if the collector has finished.
- isFixed(Segment) - Method in class org.simpleframework.http.message.ConsumerFactory
-
This is used to extract information from the HTTP header that can be used to determine the type of the body.
- isFormPost() - Method in class org.simpleframework.http.core.QueryBuilder
-
This is used to determine if the content type is a form POST of type application/x-www-form-urlencoded.
- isFormPost(ContentType) - Method in class org.simpleframework.http.core.QueryBuilder
-
This is used to determine if the content type is a form POST of type application/x-www-form-urlencoded.
- 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
isKeepAlive
method is used to determine if the connection semantics are set to maintain the connection. - isKeepAlive() - Method in class org.simpleframework.http.core.RequestEntity
-
This is a convenience method that is used to determine whether or not this message has the Connection header with the close token.
- isKeepAlive() - Method in class org.simpleframework.http.core.ResponseEntity
-
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 interface org.simpleframework.http.Request
-
This is a convenience method that is used to determine whether or not this message has the
Connection: close
header. - 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: close
header. - 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.
- isMasked() - Method in interface org.simpleframework.http.socket.service.FrameHeader
-
This is used to determine if the frame is masked.
- isMasked() - Method in class org.simpleframework.http.socket.service.FrameHeaderConsumer
-
This is used to determine if the frame is masked.
- isNew() - Method in class org.simpleframework.http.Cookie
-
This is used to determine if the cookie is new.
- isOpen() - Method in class org.simpleframework.http.core.ResponseBuffer
-
This is used to determine if the accumulator is still open.
- isOpen() - Method in class org.simpleframework.http.message.FileUploadConsumer.ByteCounter
-
Determines whether the cursor is still open.
- isOpen() - Method in interface org.simpleframework.transport.ByteCursor
-
Determines whether the cursor is still open.
- isOpen() - Method in interface org.simpleframework.transport.ByteReader
-
Determines whether the source is still open.
- isOpen() - Method in class org.simpleframework.transport.TransportCursor
-
Determines whether the cursor is still open.
- isOpen() - Method in class org.simpleframework.transport.TransportReader
-
Determines whether the source 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.
- isProtocol() - Method in class org.simpleframework.http.socket.service.RequestValidator
-
This is used to determine if the request is a valid WebSocket handshake of the correct version.
- isReady() - Method in class org.simpleframework.http.message.FileUploadConsumer.ByteCounter
-
Determines whether the cursor is ready for reading.
- isReady() - Method in interface org.simpleframework.transport.ByteCursor
-
Determines whether the cursor is ready for reading.
- isReady() - Method in interface org.simpleframework.transport.ByteReader
-
Determines whether the source is ready for reading.
- isReady() - Method in class org.simpleframework.transport.TransportCursor
-
Determines whether the cursor is ready for reading.
- isReady() - Method in class org.simpleframework.transport.TransportReader
-
Determines whether the source is ready for reading.
- isSecure() - Method in class org.simpleframework.http.Cookie
-
This determines whether the cookie is secure.
- isSecure() - Method in class org.simpleframework.http.core.RequestEntity
-
This is used to determine if the request has been transferred over a secure connection.
- 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.
- isSet() - Method in class org.simpleframework.http.core.Timer
-
This is used to determine if the timer has been set.
- isSet() - Method in class org.simpleframework.transport.NegotiationState.Delegate
-
This is used to determine if the delegate is ready to be used.
- isStarted() - Method in class org.simpleframework.http.core.ResponseEncoder
-
This is used to determine if the transfer has started.
- issue(Contract<T>) - Method in interface org.simpleframework.common.lease.ContractController
-
This method will establish a contract for the given duration.
- issue(Contract<T>) - Method in class org.simpleframework.common.lease.ContractMaintainer
-
This method will establish a contract for the given duration.
- issue(Contract<T>) - Method in class org.simpleframework.common.lease.LeaseCleaner
-
This method will establish a contract for a given resource.
- 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.
- isUpgrade() - Method in class org.simpleframework.http.socket.service.RequestValidator
-
Here we check to ensure that there is a HTTP connection header with the required upgrade token.
- isUpload(Segment) - Method in class org.simpleframework.http.message.ConsumerFactory
-
This is used to extract information from the HTTP header that can be used to determine the type of the body.
- isValid() - Method in class org.simpleframework.http.socket.service.RequestValidator
-
This is used to determine if the client handshake request had all the required headers as dictated by RFC 6455 section 4.2.1.
- 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
Iterator
of 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.
- key - Variable in class org.simpleframework.common.lease.Expiration
-
This is the key representing the resource being lease.
- key - Variable in class org.simpleframework.transport.reactor.ActionSet
-
This is the selection key associated with the action set.
- key() - Method in class org.simpleframework.transport.reactor.ActionSet
-
This provides the selection key associated with the action set.
- KeyMap<T> - Class in org.simpleframework.common
-
The
KeyMap
object is used to represent a map of values keyed using a known string. - KeyMap() - Constructor for class org.simpleframework.common.KeyMap
-
Constructor for the
KeyMap
object. - 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(char[], int, int) - Method in class org.simpleframework.http.parse.LanguageParser
-
This will extract the primary language tag from the header.
- language(String) - Method in class org.simpleframework.http.message.SegmentConsumer
-
This is used to parse the
Accept-Language
header value. - LanguageParser - Class in org.simpleframework.http.parse
-
LanguageParser is used to parse the HTTP
Accept-Language
header. - LanguageParser() - Constructor for class org.simpleframework.http.parse.LanguageParser
-
This is used to create a
LanguageParser
for theAccept-Language
HTTP header value. - LanguageParser(String) - Constructor for class org.simpleframework.http.parse.LanguageParser
-
This is used to create a
LanguageParser
for theAccept-Language
HTTP header value. - LanguageParser(List<String>) - Constructor for class org.simpleframework.http.parse.LanguageParser
-
This is used to create a
LanguageParser
for theAccept-Language
HTTP header value. - last - Variable in class org.simpleframework.common.buffer.FileBuffer.Segment
-
This is the last byte within the segment for this segment.
- last - Variable in class org.simpleframework.http.message.ChunkedConsumer
-
This is used to determine if the zero length chunk was read.
- last - Variable in class org.simpleframework.http.socket.DataFrame
-
This determines if the frame is the last of a sequence.
- last - Variable in class org.simpleframework.http.socket.service.FrameHeaderConsumer
-
Determines if this frame is part of a larger sequence.
- LAST - Static variable in class org.simpleframework.http.message.BoundaryConsumer
-
This is the terminal token for a multipart boundary entity.
- LAST_MODIFIED - Static variable in interface org.simpleframework.http.Protocol
-
Indicates the date and time at which the variant was last modified.
- latch - Variable in class org.simpleframework.transport.reactor.ActionDistributor
-
This is used to signal when the distributor has closed.
- Latch - Class in org.simpleframework.transport.reactor
-
The
Latch
is used to provide a simple latch that will allow a thread to block until it is signaled that it is ready. - Latch() - Constructor for class org.simpleframework.transport.reactor.Latch
-
Constructor for the
Latch
object. - lease(T, long, TimeUnit) - Method in class org.simpleframework.common.lease.LeaseManager
-
This method will issue a
Lease
object 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
Lease
object that can be used to manage the release of a keyed resource. - Lease<T> - Interface in org.simpleframework.common.lease
-
The
Lease
object is used to keep a keyed resource active. - LeaseCleaner<T> - Class in org.simpleframework.common.lease
-
The
LeaseCleaner
provides a means of providing callbacks to clean a leased resource once the contract duration has expired. - LeaseCleaner(Cleaner<T>) - Constructor for class org.simpleframework.common.lease.LeaseCleaner
-
Constructor for the
LeaseCleaner
object. - LeaseException - Exception in org.simpleframework.common.lease
-
The
LeaseException
is used to indicate that some operation failed when using the lease after the lease duration has expired. - LeaseException(String) - Constructor for exception 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 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
LeaseManager
is used to issue a lease for a named resource. - LeaseManager(Cleaner<T>) - Constructor for class org.simpleframework.common.lease.LeaseManager
-
Constructor for the
LeaseManager
object. - LeaseMap<T> - Class in org.simpleframework.common.lease
-
The
LeaseMap
object 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
LeaseMap
object. - LeaseMap(int) - Constructor for class org.simpleframework.common.lease.LeaseMap
-
Constructor for the
LeaseMap
object. - LeaseProvider<T> - Interface in org.simpleframework.common.lease
-
The
LeaseProvider
is used to issue a lease for a named resource. - LeastRecentlyUsedMap<K,V> - Class in org.simpleframework.common
-
The
LeastRecentlyUsedMap
is a hash map that keeps only those entries most recently used. - LeastRecentlyUsedMap() - Constructor for class org.simpleframework.common.LeastRecentlyUsedMap
-
Constructor for the
LeastRecentlyUsedMap
object. - LeastRecentlyUsedMap(int) - Constructor for class org.simpleframework.common.LeastRecentlyUsedMap
-
Constructor for the
LeastRecentlyUsedMap
object. - LeastRecentlyUsedMap(LeastRecentlyUsedMap.RemovalListener<K, V>) - Constructor for class org.simpleframework.common.LeastRecentlyUsedMap
-
Constructor for the
LeastRecentlyUsedMap
object. - LeastRecentlyUsedMap(LeastRecentlyUsedMap.RemovalListener<K, V>, int) - Constructor for class org.simpleframework.common.LeastRecentlyUsedMap
-
Constructor for the
LeastRecentlyUsedMap
object. - LeastRecentlyUsedMap.RemovalListener<K,V> - Interface in org.simpleframework.common
-
The
RemovalListener
is used with the least recently used hash map to listen for removals. - len - Variable in class org.simpleframework.http.parse.AddressParser.Token
-
This represents the number of charters in the token.
- len - Variable in class org.simpleframework.http.parse.CookieParser.Token
-
The numer of characters that were consumed by this token.
- len - Variable in class org.simpleframework.http.parse.PathParser.Token
-
Length of the region that the token consumes.
- len - Variable in class org.simpleframework.http.parse.QueryParser.Token
-
This represents the number of characters in the token.
- length - Variable in class org.simpleframework.common.buffer.ArrayBuffer.Segment
-
This represents the number of bytes this segment contains.
- length - Variable in class org.simpleframework.common.buffer.FileBuffer.Range
-
This is the length of the bytes that exist in the range.
- length - Variable in class org.simpleframework.http.message.PartEntryFactory
-
This is the length of the parent part series body.
- length - Variable in class org.simpleframework.http.message.PartFactory
-
This is the overall length of the parent part series.
- length - Variable in class org.simpleframework.http.message.SegmentConsumer
-
Represents the length of the body from the content length.
- length - Variable in class org.simpleframework.http.message.TokenConsumer
-
This is the length of the token that is to be consumed.
- length - Variable in class org.simpleframework.http.socket.service.FrameHeaderConsumer
-
This represents the length of the frame payload.
- 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 class org.simpleframework.common.buffer.ArrayBuffer.Segment
-
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.buffer.FileBuffer
-
This is used to provide the number of bytes that have been written to the buffer.
- length() - Method in class org.simpleframework.common.buffer.FileBuffer.Segment
-
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() - Method in class org.simpleframework.http.message.RequestConsumer.Token
-
This returns the length of the header in bytes.
- length() - Method in class org.simpleframework.http.parse.AddressParser.Token
-
This is used to determine the number of characters this token contains.
- length() - Method in class org.simpleframework.transport.SocketBufferAppender
-
This is used to determine how mnay bytes remain within this buffer.
- 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 - 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.ArrayAllocator
-
This represents the largest portion of memory that is allowed.
- limit - Variable in class org.simpleframework.common.buffer.ArrayBuffer
-
This is the maximum allowable buffer capacity for this.
- limit - Variable in class org.simpleframework.common.buffer.FileAllocator
-
This is the limit up to which buffers are allocated in memory.
- 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.core.FixedLengthEncoder
-
This is the number of bytes this producer is limited to.
- limit - Variable in class org.simpleframework.http.message.FixedLengthConsumer
-
This is the number of bytes to be consumed from the cursor.
- limit - Variable in class org.simpleframework.http.message.SegmentConsumer
-
This represents the length limit of the HTTP header cosumed.
- limit - Variable in class org.simpleframework.transport.SocketBufferAppender
-
This represents the largest this appender can grow to.
- limit - Variable in class org.simpleframework.transport.TransportCursor
-
This is the maximum number of bytes that can be pushed back.
- line - Variable in class org.simpleframework.http.message.ChunkedConsumer
-
This is used to accumulate the bytes of the chunk size line.
- LINE - Static variable in class org.simpleframework.http.message.BoundaryConsumer
-
This is the terminal token for a multipart boundary line.
- LINE - Static variable in class org.simpleframework.http.message.PartBodyConsumer
-
This is the token that is consumed after the content body.
- list - Variable in class org.simpleframework.http.message.PartData
-
This is the list of attachments for this part list object.
- list - Variable in class org.simpleframework.http.parse.ListParser
-
Contains all the values extracted from the header(s).
- list - Variable in class org.simpleframework.http.parse.PathParser
-
Used to store the individual path segments.
- list - Variable in class org.simpleframework.http.parse.PathParser.TokenList
-
Contains the offsets and lengths of the tokens.
- list - Variable in class org.simpleframework.transport.reactor.PartitionDistributor
-
This contains the distributors that represent a partition.
- list() - Method in class org.simpleframework.http.parse.ListParser
-
This will build an ordered list of values extracted from the comma separated header value.
- list() - Method in class org.simpleframework.http.parse.PathParser.TokenList
-
This is used to retrieve the list of tokens inserted to this list using the
add
method. - list() - Method in class org.simpleframework.transport.reactor.ActionSet
-
This provides an iterator of the actions that exist within the action set.
- listen() - Method in class org.simpleframework.transport.FlushScheduler
-
This is used to listen for a notification from the reactor to tell the thread that the write operation has completed.
- listen(SocketAddress) - Method in class org.simpleframework.transport.connect.SocketListenerManager
-
This creates a new background task that will listen to the specified
ServerAddress
for incoming TCP connect requests. - listen(SocketAddress, SSLContext) - Method in class org.simpleframework.transport.connect.SocketListenerManager
-
This creates a new background task that will listen to the specified
ServerAddress
for incoming TCP connect requests. - listener - Variable in class org.simpleframework.common.LeastRecentlyUsedMap
-
This is the listener that is called when an entry is removed.
- listener - Variable in class org.simpleframework.http.socket.service.StatusChecker
-
This is used to perform the monitoring of the sessions.
- listener - Variable in class org.simpleframework.transport.connect.SocketAcceptor
-
This is the server socket channel used to accept connections.
- listeners - Variable in class org.simpleframework.http.socket.service.FrameProcessor
-
This is the set of listeners to dispatch frames to.
- listeners - Variable in class org.simpleframework.transport.connect.SocketListenerManager
-
This is the set of active socket listeners for this manager.
- ListParser<T> - Class in org.simpleframework.http.parse
-
The
ListParser
is 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<String>) - Constructor for class org.simpleframework.http.parse.ListParser
-
Constructor for the
ListParser
. - ListParser.Entry - Class in org.simpleframework.http.parse
-
The
Entry
object provides a comparable object to insert in to a priority queue. - LOCATION - Static variable in interface org.simpleframework.http.Protocol
-
Used to redirect the recipient to a location other than the URI.
- lock - Variable in class org.simpleframework.http.socket.service.OutputBarrier
-
This is used to check if there is an operation in progress.
- lock - Variable in class org.simpleframework.transport.FlushScheduler
-
This is the lock that is used to signal a blocked thread.
- low - Variable in enum org.simpleframework.http.socket.CloseCode
-
This is the low order byte for the closure code.
M
- MAGIC - Static variable in class org.simpleframework.http.socket.service.AcceptToken
-
This is the globally unique identifier used in the handshake.
- major - Variable in class org.simpleframework.http.core.ResponseMessage
-
This is the major protocol version used for the response.
- major - Variable in class org.simpleframework.http.message.RequestConsumer
-
This is the major version number of the HTTP request header.
- major() - Method in class org.simpleframework.http.message.RequestConsumer
-
This will parse the header from the current offset and convert the bytes found into an int as it parses the digits it comes accross.
- manager - Variable in class org.simpleframework.common.buffer.FileAllocator
-
This is the file manager used to create the buffer files.
- manager - Variable in class org.simpleframework.transport.connect.SocketConnection
-
This is used to maintain the active connection end points.
- map - Variable in class org.simpleframework.common.parse.MapParser
-
Represents the last value inserted into this map instance.
- map - Variable in class org.simpleframework.http.core.RequestEntity
-
This is used to contain the values for this request.
- map - Variable in class org.simpleframework.http.message.PartData
-
This is the key map that is used to store the part objects.
- map - Variable in class org.simpleframework.http.parse.ContentTypeParser
-
Used to store the name value pairs of the parameters.
- map - Variable in class org.simpleframework.transport.SocketWrapper
-
This is used to store the attributes for the socket.
- MapParser<T> - Class in org.simpleframework.common.parse
-
The
MapParser
object represents a parser for name value pairs. - MapParser() - Constructor for class org.simpleframework.common.parse.MapParser
-
Constructor for the
MapParser
object. - mark - Variable in class org.simpleframework.transport.TransportCursor
-
This is the mark from the last read from this cursor object.
- mark(char) - Method in class org.simpleframework.http.parse.AddressParser
-
This is a character set defined by RFC 2396 it checks the valididity of cetain chars within a uniform resource identifier.
- mask - Variable in class org.simpleframework.http.socket.service.FrameHeaderConsumer
-
This is the mask that is used to obfuscate client frames.
- masked - Variable in class org.simpleframework.http.socket.service.FrameHeaderConsumer
-
If header consumed was from a client frame the data is masked.
- MAX_FORWARDS - Static variable in interface org.simpleframework.http.Protocol
-
Limit the number of proxies or gateways that can forward the request.
- merge(ByteBuffer) - Method in class org.simpleframework.transport.SocketBuffer
-
This method is used to perform a merge of the buffer to be sent with the current buffer.
- Message - Interface in org.simpleframework.http.message
-
The
Message
object is used to store an retrieve the headers for both a request and response. - MESSAGE - Static variable in class org.simpleframework.http.message.ContinueDispatcher
-
This is the optional description for the expect status code.
- MessageHeader - Class in org.simpleframework.http.message
-
The
Message
object 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
Message
object. - MessageHeader.Series - Class in org.simpleframework.http.message
-
The
Series
object is used to represent a list of HTTP header value for a given name. - method - Variable in class org.simpleframework.http.message.RequestConsumer
-
This is the method token send with the HTTP request header.
- method() - Method in class org.simpleframework.http.message.RequestConsumer
-
This will parse HTTP method from the first line of the header and store the parsed string internally.
- Method - Interface in org.simpleframework.http
-
The
Method
interface contains the common HTTP methods that are sent with a request. - METHOD_NOT_ALLOWED - org.simpleframework.http.Status
-
This is used to tell the client that the method is not allowed.
- minor - Variable in class org.simpleframework.http.core.ResponseMessage
-
This is the minor protocol version used for the response.
- minor - Variable in class org.simpleframework.http.message.RequestConsumer
-
This is the minor version number of the HTTP request header.
- minor() - Method in class org.simpleframework.http.message.RequestConsumer
-
This will parse the header from the current offset and convert the bytes found into an int as it parses the digits it comes accross.
- mins - Variable in class org.simpleframework.http.parse.DateParser
-
Represents the decimal value of the minute.
- mins() - Method in class org.simpleframework.http.parse.DateParser
-
This is used to initialize the mins.
- month - Variable in class org.simpleframework.http.parse.DateParser
-
Used as an index into the months array to get the month.
- month() - Method in class org.simpleframework.http.parse.DateParser
-
This is used to read the month of HTTP-date.
- MONTHS - Static variable in class org.simpleframework.http.parse.DateParser
-
Contains the possible months in the year for HTTP-date.
- MOVED_PERMANENTLY - 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 - org.simpleframework.http.Status
-
This is used to represent a response where there are choices.
N
- name - Variable in class org.simpleframework.http.Cookie
-
The name attribute of this cookie instance.
- name - Variable in class org.simpleframework.http.message.SegmentConsumer
-
During parsing this is used to store the parsed header name,
- name - Variable in class org.simpleframework.http.parse.AddressParser
-
Used to track the name characters of a parameter.
- name - Variable in class org.simpleframework.http.parse.ContentDispositionParser
-
This is used to capture the name of the part if it is provided.
- name - Variable in class org.simpleframework.http.parse.ContentTypeParser
-
Used to collect the name of a content type parameter.
- name - Variable in class org.simpleframework.http.parse.CookieParser
-
Used to store the name of the
Cookie
. - name - Variable in class org.simpleframework.http.parse.PathParser
-
Used to store consumed name characters.
- name - Variable in class org.simpleframework.http.parse.QueryParser
-
Used to accumulate the characters for the parameter name.
- name() - Method in class org.simpleframework.http.message.SegmentConsumer
-
This updates the token for the header name.
- name() - Method in class org.simpleframework.http.parse.AddressParser
-
This extracts the name of the parameter from the character buffer.
- name() - Method in class org.simpleframework.http.parse.ContentDispositionParser
-
This will simply read all characters from the buffer before the first '=' character.
- name() - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This will simply read all characters from the buffer before the first '=' character.
- name() - Method in class org.simpleframework.http.parse.CookieParser
-
This initializes the name token and extracts the name of this
Cookie
. - name() - Method in class org.simpleframework.http.parse.PathParser
-
This will extract the full name of the file without the path.
- name() - Method in class org.simpleframework.http.parse.QueryParser
-
This extracts the name of the parameter from the character buffer.
- names - Variable in class org.simpleframework.http.message.MessageHeader
-
This is used to store the individual names for the header.
- negotiation - Variable in class org.simpleframework.transport.NegotiationState
-
This is the handshake used to acquire the certificate details.
- Negotiation - Interface in org.simpleframework.transport
-
The
Negotiation
interface is used to represent an SSL negotiation. - NegotiationState - Class in org.simpleframework.transport
-
The
NegotiationState
represents the certificate that is sent by a client during a secure HTTPS conversation. - NegotiationState(Negotiation, Socket) - Constructor for class org.simpleframework.transport.NegotiationState
-
Constructor for the
NegotiationCertificate
object. - NegotiationState.Challenge - Class in org.simpleframework.transport
-
The
Challenge
object is used to enable the server to challenge for the client X509 certificate if desired. - NegotiationState.Delegate - Class in org.simpleframework.transport
-
The
Delegate
is basically a settable runnable object. - netPath() - Method in class org.simpleframework.http.parse.AddressParser
-
The network path is the path that contains the network address of the host that this URI is targeted at.
- 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.
- next() - Method in class org.simpleframework.http.parse.CookieParser.Sequence
-
Extracts the next
Cookie
object from the string given. - NO_CACHE - Static variable in interface org.simpleframework.http.Protocol
-
Specifies that the message should not be cached by anything.
- NO_CONTENT - org.simpleframework.http.Status
-
This represents a response that contains no response content.
- NO_EXTENSION - org.simpleframework.http.socket.CloseCode
-
Indicates that the server did not negotiate an extension properly.
- NO_STATUS_CODE - org.simpleframework.http.socket.CloseCode
-
Indicates that no status code was present and should not be used.
- normal - Variable in class org.simpleframework.http.parse.AddressParser
-
This is the path used to represent the address path.
- normal - Variable in class org.simpleframework.http.socket.service.FrameProcessor
-
This is the reason message used for a normal closure.
- normal - Variable in class org.simpleframework.http.socket.service.StatusChecker
-
The only reason for a close is for an unexpected error.
- NORMAL_CLOSURE - org.simpleframework.http.socket.CloseCode
-
Indicates the purpose for the connection has been fulfilled.
- normalize() - Method in class org.simpleframework.http.parse.PathParser
-
The normalization of the path is the conversion of the path given into it's actual path by removing the references to the parent directorys and to the current dir.
- NOT_ACCEPTABLE - org.simpleframework.http.Status
-
This is used to tell the client the request is not acceptable.
- NOT_FOUND - org.simpleframework.http.Status
-
This is used to tell the client that the resource is not found.
- NOT_IMPLEMENTED - org.simpleframework.http.Status
-
This is used to tell the client the resource is not implemented.
- NOT_MODIFIED - 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
- observer - Variable in class org.simpleframework.http.core.BodyEncoderFactory
-
This is the monitor used to notify the initiator of events.
- observer - Variable in class org.simpleframework.http.core.ChunkedEncoder
-
This is the observer used to notify the selector of events.
- observer - Variable in class org.simpleframework.http.core.CloseEncoder
-
This is the observer used to notify the selector of events.
- observer - Variable in class org.simpleframework.http.core.EmptyEncoder
-
This is the observer that is used to process the pipeline.
- observer - Variable in class org.simpleframework.http.core.FixedLengthEncoder
-
This is the observer used to notify the initiator of events.
- observer - Variable in class org.simpleframework.http.core.RequestCertificate.Challenge
-
This is the observer used to keep track of the HTTP transaction.
- observer - Variable in class org.simpleframework.http.core.RequestDispatcher
-
This is the observer object used to signal completion events.
- observer - Variable in class org.simpleframework.http.core.ResponseEntity
-
This is the observer that is used to monitor the response.
- octet - Variable in class org.simpleframework.http.socket.service.FrameHeaderConsumer
-
This is the octet that is used to read one byte at a time.
- 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.
- off - Variable in class org.simpleframework.http.message.RequestConsumer.Token
-
This is the offset in the array the token begins at.
- off - Variable in class org.simpleframework.http.message.SegmentConsumer.Token
-
This is used to mark the start offset within the array.
- off - Variable in class org.simpleframework.http.parse.AddressParser.Token
-
This represents the start offset within the buffer.
- off - Variable in class org.simpleframework.http.parse.CookieParser.Token
-
The offset within the buffer that this token starts from.
- off - Variable in class org.simpleframework.http.parse.PathParser.Token
-
Offset within the buffer that the token starts.
- off - Variable in class org.simpleframework.http.parse.QueryParser.Token
-
This represents the start offset within the buffer.
- offset(int) - Method in class org.simpleframework.http.parse.PathParser.TokenList
-
This is used to acquire the offset within the buffer of the specified segment.
- OK - 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.
- onClose(Session, Reason) - Method in class org.simpleframework.http.socket.service.StatusResultListener
-
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.
- onError(Session, Exception) - Method in class org.simpleframework.http.socket.service.StatusResultListener
-
This is called when there is an error with the connection.
- onFrame(Session, Frame) - Method in interface org.simpleframework.http.socket.FrameListener
-
This is called when a new frame arrives on the WebSocket.
- onFrame(Session, Frame) - Method in class org.simpleframework.http.socket.service.StatusResultListener
-
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 class org.simpleframework.common.buffer.ArrayBuffer.Segment
-
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() - Method in class org.simpleframework.common.buffer.FileBuffer
-
This method is used so that a buffer can be represented as a stream of bytes.
- open() - Method in class org.simpleframework.common.buffer.FileBuffer.Segment
-
This method is used so that a buffer can be represented as a stream of bytes.
- open() - Method in class org.simpleframework.http.socket.service.FrameConnection
-
This is used to open the channel and begin consuming frames.
- open(File) - Method in class org.simpleframework.common.buffer.FileBuffer
-
This method is used so that a buffer can be represented as a stream of bytes.
- OPEN_SOCKET - org.simpleframework.http.socket.service.ServiceEvent
-
This event is dispatched when a WebSocket is connected.
- operation - Variable in class org.simpleframework.http.socket.service.FrameConnection
-
The collector is used to collect frames from the TCP channel.
- Operation - Interface in org.simpleframework.transport.reactor
-
The
Operation
interface is used to describe a task that can be executed when the associated channel is ready for some operation. - OperationDistributor - Interface in org.simpleframework.transport.reactor
-
The
Distributor
object is used to execute operations that have an interested I/O event ready. - OperationFactory - Class in org.simpleframework.transport
-
The
OperationFactory
is used to create operations for the transport processor. - OperationFactory(TransportProcessor, Reactor, int) - Constructor for class org.simpleframework.transport.OperationFactory
-
Constructor for the
OperationFactory
object. - OperationFactory(TransportProcessor, Reactor, int, int) - Constructor for class org.simpleframework.transport.OperationFactory
-
Constructor for the
OperationFactory
object. - OperationFactory(TransportProcessor, Reactor, int, int, boolean) - Constructor for class org.simpleframework.transport.OperationFactory
-
Constructor for the
OperationFactory
object. - OPTIONS - Static variable in interface org.simpleframework.http.Method
-
Represents a request for the communication options available.
- order - Variable in class org.simpleframework.http.parse.ListParser.Entry
-
This is the secondary order value used to sort entries.
- order - Variable in class org.simpleframework.http.parse.ListParser
-
Provides a quick means of sorting the values extracted.
- 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
- output - Variable in class org.simpleframework.transport.Handshake
-
This is the output buffer used to generate data to.
- output - Variable in class org.simpleframework.transport.SecureTransport
-
This buffer is used to output the data for the SSL sent.
- OutputBarrier - Class in org.simpleframework.http.socket.service
-
The
OutputBarrier
is used to ensure that control frames and data frames do not get sent at the same time. - OutputBarrier(Request, long) - Constructor for class org.simpleframework.http.socket.service.OutputBarrier
-
Constructor for the
OutputBarrier
object.
P
- pack() - Method in class org.simpleframework.http.parse.ContentDispositionParser
-
This is used to remove all whitespace characters from the
String
excluding the whitespace within literals. - pack() - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This is used to remove all whitespace characters from the
String
excluding the whitespace within literals. - pack() - Method in class org.simpleframework.http.parse.PrincipalParser
-
This is used to remove all whitespace characters from the
String
excluding the whitespace within literals. - param - Variable in class org.simpleframework.http.parse.AddressParser
-
Parameters are stored so that the can be viewed.
- param() - Method in class org.simpleframework.http.parse.AddressParser
-
This is an expression that is defined by RFC 2396 it is used in the definition of a segment expression.
- param() - Method in class org.simpleframework.http.parse.QueryParser
-
This is an expression that is defined by RFC 2396 it is used in the definition of a segment expression.
- parameter() - Method in class org.simpleframework.http.parse.ContentDispositionParser
-
This will read the parameters from the header value.
- parameter() - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This is a parameter as defined by RFC 2616.
- ParameterMap() - Constructor for class org.simpleframework.http.parse.AddressParser.ParameterMap
- parameters() - Method in class org.simpleframework.http.parse.ContentDispositionParser
-
This will read the parameters from the header value.
- parameters() - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This will read the parameters from the MIME type.
- parent - Variable in class org.simpleframework.common.buffer.ArrayBuffer.Segment
-
This is the parent buffer which is used for collecting data.
- parent - Variable in class org.simpleframework.common.buffer.FileBuffer.Segment
-
This is the parent buffer that bytes are to be appended to.
- 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.message.ChunkedConsumer
-
This method is used to convert the size in hexidecimal to a decimal
int
. - parse() - Method in class org.simpleframework.http.parse.AddressParser
-
This will check to see what type of URI this is if it is an
absoluteURI
or 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
String
object. - parse() - Method in class org.simpleframework.http.parse.CookieParser
-
This will extract the next
Cookie
from 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
String
given to it. - parse(String[]) - Method in class org.simpleframework.http.core.QueryCombiner
-
This will concatenate the list of parameter strings as a single parameter string, before handing it to be parsed by the
parse(String)
method. - parse(StringBuilder) - Method in class org.simpleframework.http.core.QueryCombiner
-
This is used to perform a parse of the form data that is in the provided string builder.
- parse(List<String>) - 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
StringBuffer
class, as a way for theParser
to 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
ParseBuffer
with a specific default size. - parsed - Variable in class org.simpleframework.http.parse.CookieParser
-
Used so the
Parser
does not parse twice. - parseDomain(String) - Method in class org.simpleframework.http.parse.AddressParser
-
This will set the domain to whatever value is in the string parameter.
- parsePath(String) - Method in class org.simpleframework.http.parse.AddressParser
-
This is used to parse the path given with the
setPath
method. - parser - Variable in class org.simpleframework.http.message.MessageHeader
-
This is used to parse all date headers added to the message.
- 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
Parser
object 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
Part
object is used to represent a part within a request message. - PartBodyConsumer - Class in org.simpleframework.http.message
-
The
PartBodyConsumer
object is used to consume a part the contents of a multipart body. - PartBodyConsumer(Allocator, Segment, byte[]) - Constructor for class org.simpleframework.http.message.PartBodyConsumer
-
Constructor for the
PartBodyConsumer
object. - PartBodyConsumer(Allocator, Segment, PartSeries, byte[]) - Constructor for class org.simpleframework.http.message.PartBodyConsumer
-
Constructor for the
PartBodyConsumer
object. - PartConsumer - Class in org.simpleframework.http.message
-
The
PartConsumer
object is used to consume a part from a part list. - PartConsumer(Allocator, PartSeries, byte[], long) - Constructor for class org.simpleframework.http.message.PartConsumer
-
Constructor for the
PartConsumer
object. - PartData - Class in org.simpleframework.http.message
-
The
PartData
object represents an ordered list of parts that were uploaded within a HTTP entity body. - PartData() - Constructor for class org.simpleframework.http.message.PartData
-
Constructor for the
PartData
object. - PartEntryConsumer - Class in org.simpleframework.http.message
-
The
PartEntryConsumer
object is used to consume each part from the part list. - PartEntryConsumer(Allocator, PartSeries, byte[], long) - Constructor for class org.simpleframework.http.message.PartEntryConsumer
-
Constructor for the
PartEntryConsumer
object. - PartEntryFactory - Class in org.simpleframework.http.message
-
This
PartEntryFactory
object provides a factory for creating part entry consumers. - PartEntryFactory(Allocator, PartSeries, byte[], long) - Constructor for class org.simpleframework.http.message.PartEntryFactory
-
Constructor for the
PartEntryFactory
object. - PartFactory - Class in org.simpleframework.http.message
-
The
PartFactory
represents a factory for creating the consumers that are used to read a multipart upload message. - PartFactory(Allocator, Segment, long) - Constructor for class org.simpleframework.http.message.PartFactory
-
Constructor for the
PartFactory
object. - PartHeaderConsumer - Class in org.simpleframework.http.message
-
The
PartHeaderConsumer
object is used to consume the header for a multipart message. - PartHeaderConsumer(Allocator) - Constructor for class org.simpleframework.http.message.PartHeaderConsumer
-
Constructor for the
PartHeaderConsumer
object. - PARTIAL_CONTENT - org.simpleframework.http.Status
-
This is used to represent a response that has partial content.
- PartitionDistributor - Class in org.simpleframework.transport.reactor
-
The
PartitionDistributor
object is a distributor that partitions the selection process in to several threads. - PartitionDistributor(Executor, int) - Constructor for class org.simpleframework.transport.reactor.PartitionDistributor
-
Constructor for the
PartitionDistributor
object. - PartitionDistributor(Executor, int, long) - Constructor for class org.simpleframework.transport.reactor.PartitionDistributor
-
Constructor for the
PartitionDistributor
object. - PartSeries - Interface in org.simpleframework.http.message
-
The
PartSeries
object represents an ordered list of parts that were uploaded within a HTTP entity body. - PartSeriesConsumer - Class in org.simpleframework.http.message
-
The
PartSeriesConsumer
object is used to consume a list of parts encoded in the multipart format. - PartSeriesConsumer(Allocator, byte[]) - Constructor for class org.simpleframework.http.message.PartSeriesConsumer
-
Constructor for the
PartSeriesConsumer
object. - PartSeriesConsumer(Allocator, byte[], long) - Constructor for class org.simpleframework.http.message.PartSeriesConsumer
-
Constructor for the
PartSeriesConsumer
object. - PartSeriesConsumer(Allocator, PartSeries, byte[]) - Constructor for class org.simpleframework.http.message.PartSeriesConsumer
-
Constructor for the
PartSeriesConsumer
object. - PartSeriesConsumer(Allocator, PartSeries, byte[], long) - Constructor for class org.simpleframework.http.message.PartSeriesConsumer
-
Constructor for the
PartSeriesConsumer
object. - password - Variable in class org.simpleframework.http.parse.PrincipalParser
-
Keeps the characters consumed for the password token.
- password() - Method in class org.simpleframework.http.parse.PrincipalParser
-
Extracts the password from the buffer.
- path - Variable in class org.simpleframework.http.Cookie
-
Represents the value of the path for this cookie.
- path - Variable in class org.simpleframework.http.parse.AddressParser
-
Used to track the characters that form the path.
- path - Variable in class org.simpleframework.http.parse.CookieParser
-
Used to store the
$Path
values. - path - Variable in class org.simpleframework.http.parse.PathParser
-
Used to store consumed normalized path name.
- path() - Method in class org.simpleframework.http.parse.AddressParser
-
This is used to extract the segments from the given URI.
- path() - Method in class org.simpleframework.http.parse.CookieParser
-
This initializes the path token and extracts the
$Path
of thisCookie
. - path() - Method in class org.simpleframework.http.parse.PathParser
-
This will extract the path of the given
String
after it has been normalized. - Path - Interface in org.simpleframework.http
-
The
Path
represents 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
PathParser
that contains no specifics. - PathParser(String) - Constructor for class org.simpleframework.http.parse.PathParser
-
This is primarily a convineance constructor.
- PathParser.Token - Class in org.simpleframework.http.parse
-
This is used so that the
PathParser
can speed up the parsing of the data. - PathParser.TokenList - Class in org.simpleframework.http.parse
-
The
TokenList
class is used to store a list of tokens. - PathRouter - Class in org.simpleframework.http.socket.service
-
The
PathRouter
is used when there are multiple services that can be used. - PathRouter(Map<String, Service>, Service) - Constructor for class org.simpleframework.http.socket.service.PathRouter
-
Constructor for the
PathRouter
object. - pause() - Method in class org.simpleframework.transport.connect.SocketAcceptor
-
This is used to throttle the acceptor when there is an error such as exhaustion of file descriptors.
- PAYMENT_REQUIRED - org.simpleframework.http.Status
-
This is used to tell the client that payment is required.
- pchar(char) - Method in class org.simpleframework.http.parse.AddressParser
-
This is a character set defined by RFC 2396 it is used to check the valididity of cetain chars within a generic uniform resource identifier.
- peek() - Method in class org.simpleframework.transport.TransportReader
-
Provides the number of bytes that can be read from the stream without blocking.
- peek(int) - Method in class org.simpleframework.http.parse.AddressParser
-
This will return the escape expression specified from the URI as an integer value of the hexidecimal sequence.
- peek(int) - Method in class org.simpleframework.http.parse.QueryParser
-
This will return the escape expression specified from the URI as an integer value of the hexadecimal sequence.
- pending - Variable in class org.simpleframework.transport.reactor.ActionDistributor
-
This is the queue that is used to provide the operations.
- Phase - Class in org.simpleframework.transport
-
The
Phase
object represents an asynchronous phase within the negotiation. - Phase(Negotiation, Reactor, Trace, int) - Constructor for class org.simpleframework.transport.Phase
-
Constructor for the
Phase
object. - PhaseType - Enum in org.simpleframework.transport
-
The
PhaseType
enumeration is used to determine what phase of the negotiation the handshake is in. - PhaseType() - Constructor for enum org.simpleframework.transport.PhaseType
- ping - Variable in class org.simpleframework.http.socket.service.SessionBuilder
-
This is the frequency the server should send out ping frames.
- PING - org.simpleframework.http.socket.FrameType
-
A ping frame is a heartbeat used to determine connection health.
- PING_EXPIRED - org.simpleframework.http.socket.service.ServiceEvent
-
This indicates that there has been no response to a ping.
- POLICY_VIOLATION - org.simpleframework.http.socket.CloseCode
-
Indicates an endpoint received a message that violates its policy.
- PONG - org.simpleframework.http.socket.FrameType
-
A pong frame is sent is sent in response to a ping frame.
- PONG_RECEIVED - org.simpleframework.http.socket.service.ServiceEvent
-
This indicates that there has been no response to a ping.
- port - Variable in class org.simpleframework.http.parse.AddressParser
-
Contains the port number if it was specified.
- port() - Method in class org.simpleframework.http.parse.AddressParser
-
This is used to extract the optional port from a given URI.
- pos - Variable in class org.simpleframework.http.message.SegmentConsumer
-
This is used to track the read offset within the header.
- pos - Variable in class org.simpleframework.http.parse.ListParser
-
Used to index into the write offset for the value.
- pos - Variable in class org.simpleframework.transport.TransportCursor
-
This is the position to read data from the internal buffer.
- 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 - org.simpleframework.http.Status
-
This is used to tell the client that a precondition has failed.
- prefix - Variable in class org.simpleframework.common.buffer.FileWatcher
-
This is the prefix for the temporary files created.
- PREFIX - Static variable in class org.simpleframework.common.buffer.FileAllocator
-
This is the default prefix used when none has been specified.
- primary - Variable in class org.simpleframework.http.parse.ContentTypeParser
-
Used to store the characters consumed for the primary type.
- primary - Variable in class org.simpleframework.http.socket.service.PathRouter
-
This is the default service chosen if there is no match.
- primary - Variable in class org.simpleframework.http.socket.service.ProtocolRouter
-
This is the default service chosen if there is no match.
- primary() - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This reads the type from the MIME type.
- Principal - Interface in org.simpleframework.http
-
The
Principal
interface 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
Parser
for the basic authorization scheme. - PrincipalParser(String) - Constructor for class org.simpleframework.http.parse.PrincipalParser
-
Creates a
Parser
for the basic authorization scheme. - priority - Variable in class org.simpleframework.http.parse.ListParser.Entry
-
This is the priority value that is used to sort entries.
- 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.BoundaryConsumer
-
This does not perform any processing after the boundary has been consumed.
- process() - Method in class org.simpleframework.http.message.PartHeaderConsumer
-
This is used to process the header consumer once all of the headers have 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() - Method in class org.simpleframework.http.message.TokenConsumer
-
This is used to append the consumed bytes to a created buffer so that it can be used when he is finished.
- process() - Method in class org.simpleframework.http.socket.service.FrameProcessor
-
This is used to process frames consumed from the underlying TCP connection.
- process() - Method in class org.simpleframework.transport.connect.SocketListener
-
This is used to register the socket acceptor to listen for new connections that are ready to be accepted.
- process() - Method in class org.simpleframework.transport.Handshake
-
This is the main point of execution within the negotiation.
- process() - Method in class org.simpleframework.transport.reactor.ActionDistributor
-
This will iterate over the set of selection keys and process each of them.
- process(ByteBuffer) - Method in class org.simpleframework.transport.SecureTransport
-
This is used to perform a non-blocking read on the transport.
- process(SocketChannel, Trace) - Method in class org.simpleframework.transport.connect.SocketAcceptor
-
This method is used to dispatch the socket for processing.
- process(SocketChannel, Trace, SSLEngine) - Method in class org.simpleframework.transport.connect.SocketAcceptor
-
This method is used to dispatch the socket for processing.
- process(ActionSet) - Method in class org.simpleframework.transport.reactor.ActionDistributor
-
This will use the specified action set to acquire the channel and
Operation
associated with it to hand to the executor to perform the channel operation. - 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.ActionDistributor
-
This is used to process the
Operation
object. - 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.OperationDistributor
-
This is used to process the
Operation
object. - process(Operation, int) - Method in class org.simpleframework.transport.reactor.PartitionDistributor
-
This is used to process the
Operation
object. - 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(Operation, int, int) - Method in class org.simpleframework.transport.reactor.PartitionDistributor
-
This is used to process the
Operation
object. - 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
Socket
which 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
Socket
which 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
Transport
instance in a higher layer that can handle a protocol. - processor - Variable in class org.simpleframework.http.core.ContainerSocketProcessor
-
This is the transporter used to process the connections.
- processor - Variable in class org.simpleframework.http.socket.service.FrameCollector
-
This decodes the frame bytes from the channel and processes it.
- processor - Variable in class org.simpleframework.transport.connect.SocketAcceptor
-
The handler that manages the incoming TCP connections.
- processor - Variable in class org.simpleframework.transport.connect.SocketConnection
-
The processor is used to process connected HTTP pipelines.
- processor - Variable in class org.simpleframework.transport.connect.SocketListenerManager
-
This is the processor that listeners will dispatch sockets to.
- processor - Variable in class org.simpleframework.transport.Handshake
-
This is the processor used to process the secure transport.
- processor - Variable in class org.simpleframework.transport.OperationFactory
-
This is the processor used to process the created transport.
- processor - Variable in class org.simpleframework.transport.ServerCleaner
-
This is the internal processor that is to be terminated.
- processor - Variable in class org.simpleframework.transport.TransportDispatcher
-
This is the processor used to transfer the transport to.
- PRODUCE - org.simpleframework.transport.PhaseType
-
Tells the negotiation that a write operation is required.
- Producer(Negotiation, Reactor, Trace) - Constructor for class org.simpleframework.transport.Handshake.Producer
-
Constructor for the
Producer
task. - protect - Variable in class org.simpleframework.http.Cookie
-
Determines whether the cookie should be protected.
- protocol - Variable in class org.simpleframework.http.socket.service.DirectRouter
-
The protocol used or null if none was specified.
- Protocol - Interface in org.simpleframework.http
-
This represents the HTTP header names defined in RFC 2616.
- PROTOCOL_ERROR - org.simpleframework.http.socket.CloseCode
-
Indicates the connection is terminating due to a protocol error.
- ProtocolRouter - Class in org.simpleframework.http.socket.service
-
The
ProtocolRouter
is used when there are multiple services that can be used. - ProtocolRouter(Map<String, Service>, Service) - Constructor for class org.simpleframework.http.socket.service.ProtocolRouter
-
Constructor for the
ProtocolRouter
object. - PROXY_AUTHENTICATE - Static variable in interface org.simpleframework.http.Protocol
-
Challenge indicating the authentication applicable to the proxy.
- PROXY_AUTHENTICATION_REQUIRED - 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.
- purge() - Method in class org.simpleframework.common.lease.LeaseCleaner
-
Here all of the existing contracts are purged when the invoker is closed.
- purge() - Method in class org.simpleframework.transport.reactor.ActionDistributor
-
This will purge all the actions from the distributor when the distributor ends.
- push(byte[]) - Method in class org.simpleframework.http.message.FileUploadConsumer.ByteCounter
-
Pushes the provided data on to the cursor.
- 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 class org.simpleframework.http.message.FileUploadConsumer.ByteCounter
-
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
put
method 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<? extends T, ? extends T>) - Method in class org.simpleframework.common.parse.MapParser
-
This method is used to insert a collection of tokens into the parsers map.
Q
- query - Variable in class org.simpleframework.http.core.RequestEntity
-
The query contains all the parameters for the request.
- query - Variable in class org.simpleframework.http.parse.AddressParser
-
Used to track the characters that form the query.
- query() - Method in class org.simpleframework.http.parse.AddressParser
-
This is used to extract the query from the given URI.
- Query - Interface in org.simpleframework.http
-
The
Query
object is used to represent HTTP query parameters. - QueryBuilder - Class in org.simpleframework.http.core
-
The
QueryBuilder
object is used to create the query. - QueryBuilder(Request, Entity) - Constructor for class org.simpleframework.http.core.QueryBuilder
-
Constructor for the
QueryBuilder
object. - QueryCombiner - Class in org.simpleframework.http.core
-
The
QueryCombimer
is used to parse several strings as a complete URL encoded parameter string. - QueryCombiner(String...) - Constructor for class org.simpleframework.http.core.QueryCombiner
-
Constructor that allows a list of string objects to be parsed as a single parameter string.
- QueryCombiner(Query, String...) - Constructor for class org.simpleframework.http.core.QueryCombiner
-
Constructor that allows an array of string objects to be parsed as a single parameter string.
- QueryCombiner(Query, Query) - Constructor for class org.simpleframework.http.core.QueryCombiner
-
Constructor that allows an array of string objects to be parsed as a single parameter string.
- QueryParser - Class in org.simpleframework.http.parse
-
The
ParameterParser
is used to parse data encoded in theapplication/x-www-form-urlencoded
MIME 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
. - QueryParser.Token - Class in org.simpleframework.http.parse
-
This is used to mark regions within the buffer that represent a valid token for either the name of a parameter or its value.
- queue - Variable in class org.simpleframework.common.lease.ContractMaintainer
-
The queue that is used to issue and revoke contracts.
- queue - Variable in class org.simpleframework.common.lease.LeaseCleaner
-
This is used to queue contracts that are to be cleaned.
- queue - Variable in class org.simpleframework.common.thread.ConcurrentExecutor
-
This is the queue used to enqueue the tasks for execution.
- queue - Variable in class org.simpleframework.common.thread.ConcurrentScheduler
-
This is the scheduler queue used to enque tasks to execute.
- queue - Variable in class org.simpleframework.common.thread.ExecutorQueue
-
This is the task queue that contains tasks due to execute.
- quote(char) - Method in class org.simpleframework.http.parse.ContentDispositionParser
-
This method is used to determine if the specified character is a quote character.
- quote(char) - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This method is used to determine if the specified character is a quote character.
- qvalue - Variable in class org.simpleframework.http.parse.ListParser
-
The quality associated with an individual value.
- qvalue() - Method in class org.simpleframework.http.parse.ListParser
-
This is used to extract the qvalue parameter from the header.
R
- Range(InputStream, long) - Constructor for class org.simpleframework.common.buffer.FileBuffer.Range
-
Constructor for the
Range
object. - RANGE - Static variable in interface org.simpleframework.http.Protocol
-
Specifies a range of bytes within a resource to be sent by a server.
- reactor - Variable in class org.simpleframework.http.core.ContainerController
-
This is the reactor used to schedule the collectors.
- reactor - Variable in class org.simpleframework.http.socket.service.FrameCollector
-
This is the reactor used to schedule this operation for reads.
- reactor - Variable in class org.simpleframework.http.socket.service.ServiceDispatcher
-
This is used to notify of read events on the TCP channel.
- reactor - Variable in class org.simpleframework.http.socket.service.SessionBuilder
-
This is the reactor used to register for I/O notifications.
- reactor - Variable in class org.simpleframework.transport.connect.SocketListener
-
This is the reactor used to notify the acceptor of sockets.
- reactor - Variable in class org.simpleframework.transport.FlushScheduler
-
This is the reactor to used to execute the operation.
- reactor - Variable in class org.simpleframework.transport.Handshake
-
This is the reactor used to register for I/O notifications.
- reactor - Variable in class org.simpleframework.transport.OperationFactory
-
This is the reactor used to register for I/O notifications.
- reactor - Variable in class org.simpleframework.transport.Phase
-
This is the reactor that is used to schedule execution.
- reactor - Variable in class org.simpleframework.transport.ServerCleaner
-
This is the internal write reactor that is terminated.
- reactor - Variable in class org.simpleframework.transport.TransportSocketProcessor
-
This is the processor used to process transport objects.
- Reactor - Interface in org.simpleframework.transport.reactor
-
The
Reactor
interface is used to describe an object that is used to schedule asynchronous I/O operations. - ReactorEvent - Enum in org.simpleframework.transport.reactor
-
The
ReactorEvent
enumeration is used for tracing the operations that occur within the reactor. - ReactorEvent() - Constructor for enum org.simpleframework.transport.reactor.ReactorEvent
- read - Variable in class org.simpleframework.http.parse.PrincipalParser
-
Tracks the read offset for the buffer.
- read() - Method in class org.simpleframework.common.buffer.FileBuffer.Range
-
This will read data from the underlying stream up to the number of bytes this range is allowed to read.
- read() - Method in class org.simpleframework.common.encode.Base64InputStream
-
This is used to read the next byte decoded from the text.
- read() - Method in class org.simpleframework.http.message.EmptyInputStream
-
This is used to provide a -1 value when an attempt is made to read from the stream.
- read() - Method in class org.simpleframework.transport.Handshake
-
This is used to perform the read part of the negotiation.
- read(byte[]) - Method in class org.simpleframework.http.message.FileUploadConsumer.ByteCounter
-
Reads a block of bytes from the underlying stream.
- read(byte[]) - Method in interface org.simpleframework.transport.ByteCursor
-
Reads a block of bytes from the underlying stream.
- read(byte[]) - Method in interface org.simpleframework.transport.ByteReader
-
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[]) - Method in class org.simpleframework.transport.TransportReader
-
Reads a block of bytes from the underlying stream.
- read(byte[], int, int) - Method in class org.simpleframework.common.buffer.FileBuffer.Range
-
This will read data from the underlying stream up to the number of bytes this range is allowed to read.
- 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 class org.simpleframework.http.message.FileUploadConsumer.ByteCounter
-
Reads a block of bytes from the underlying stream.
- 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 interface org.simpleframework.transport.ByteReader
-
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(byte[], int, int) - Method in class org.simpleframework.transport.TransportReader
-
Reads a block of bytes from the underlying stream.
- read(int) - Method in class org.simpleframework.transport.Handshake
-
This is used to perform the read part of the negotiation.
- read(ByteBuffer) - Method in class org.simpleframework.transport.SecureTransport
-
This is used to perform a non-blocking read on the transport.
- 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 - org.simpleframework.transport.TransportEvent
-
This event represents a read operation on the underlying socket.
- READ_BODY - org.simpleframework.http.core.ContainerEvent
-
This event indicates that the server is reading the request body.
- READ_FRAME - org.simpleframework.http.socket.service.ServiceEvent
-
This event is dispatched when a frame is read from a WebSocket.
- READ_HEADER - org.simpleframework.http.core.ContainerEvent
-
This event indicates that the server is reading the request header.
- READ_INTEREST_READY - org.simpleframework.transport.reactor.ReactorEvent
-
This indicates that the I/O read interest has been satisfied.
- READ_PING - org.simpleframework.http.socket.service.ServiceEvent
-
This event is dispatched when the WebSocket receives a ping.
- READ_PONG - org.simpleframework.http.socket.service.ServiceEvent
-
This event is dispatched when the WebSocket receives a pong.
- READ_WAIT - org.simpleframework.transport.TransportEvent
-
This event occurs when there is no more data available to read.
- reader - Variable in class org.simpleframework.transport.TransportCursor
-
This is the stream for the bytes read by this cursor object.
- ready - Variable in class org.simpleframework.http.parse.PrincipalParser
-
Tracks the ready offset for the four buffer.
- ready - Variable in class org.simpleframework.transport.NegotiationState.Delegate
-
This is used to determine if the challenge is ready to run.
- ready() - Method in class org.simpleframework.http.message.FileUploadConsumer.ByteCounter
-
Provides the number of bytes that can be read from the stream without blocking.
- 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 interface org.simpleframework.transport.ByteReader
-
Provides the number of bytes that can be read from the stream without blocking.
- ready() - Method in class org.simpleframework.transport.FlushScheduler
-
This is used to signal any blocking threads to wake up.
- ready() - Method in class org.simpleframework.transport.Handshake.Consumer
-
This method is used to determine if the task is ready.
- ready() - Method in class org.simpleframework.transport.Handshake.Producer
-
This method is used to determine if the task is ready.
- ready() - Method in class org.simpleframework.transport.Phase
-
This method is used to determine if the task is ready.
- ready() - Method in class org.simpleframework.transport.reactor.ActionSet
-
This is sued to acquire all actions that match the currently ready operations of the key.
- ready() - Method in class org.simpleframework.transport.SocketBuffer
-
This is used to determine if the buffer is ready to be written to.
- ready() - Method in class org.simpleframework.transport.TransportCursor
-
Provides the number of bytes that can be read from the stream without blocking.
- ready() - Method in class org.simpleframework.transport.TransportReader
-
Provides the number of bytes that can be read from the stream without blocking.
- ready(Collector) - Method in class org.simpleframework.http.core.ContainerController
-
The ready event is used when a full HTTP entity has been collected from the underlying transport.
- ready(Collector) - Method in interface org.simpleframework.http.core.Controller
-
The ready event is used when a full HTTP entity has been collected from the underlying transport.
- ready(ByteWriter) - Method in interface org.simpleframework.http.core.BodyObserver
-
This is used when the response has been sent correctly and the connection supports persisted HTTP.
- ready(ByteWriter) - Method in class org.simpleframework.http.core.ResponseObserver
-
This is used when the response has been sent correctly and the connection supports persisted HTTP.
- reason - Variable in class org.simpleframework.http.socket.service.FrameConnection
-
The reason that is sent if at any time the channel is closed.
- Reason - Class in org.simpleframework.http.socket
-
The
Reason
object 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
Reason
object. - Reason(CloseCode, String) - Constructor for class org.simpleframework.http.socket.Reason
-
Constructor for the
Reason
object. - ReasonExtractor - Class in org.simpleframework.http.socket.service
-
The
ReasonExtractor
object is used to extract the close reason from a frame payload. - ReasonExtractor() - Constructor for class org.simpleframework.http.socket.service.ReasonExtractor
-
Constructor for the
ReasonExtractor
object. - receive() - Method in class org.simpleframework.transport.Handshake
-
This is used to receive data from the client.
- receive() - Method in interface org.simpleframework.transport.Negotiation
-
This is used to receive data from the other side.
- receive() - Method in class org.simpleframework.transport.SecureTransport
-
This is used to perform a non-blocking read on the transport.
- reference - Variable in class org.simpleframework.common.thread.Daemon
-
This is the current thread executing this service.
- reference - Variable in class org.simpleframework.transport.SocketBuffer
-
This is a reference to the last buffer to be sent.
- REFERENCE - Static variable in class org.simpleframework.common.encode.Base64Encoder
-
This maintains reference data used to fast decoding.
- REFERER - Static variable in interface org.simpleframework.http.Protocol
-
Allows the client to specify the source address to the server.
- refresh() - Method in class org.simpleframework.http.socket.service.StatusChecker
-
If the connection gets a response to its ping message then this will reset the internal counter.
- register() - Method in class org.simpleframework.transport.reactor.ActionDistributor
-
Here all the enqueued
Operation
objects will be registered for selection. - register(SelectableChannel, int) - Method in class org.simpleframework.transport.reactor.ActionSelector
-
This performs the actual registration of the channel for selection based on the provided interest bitmask.
- register(FrameListener) - Method in interface org.simpleframework.http.socket.FrameChannel
-
This is used to register a
FrameListener
to this instance. - register(FrameListener) - Method in class org.simpleframework.http.socket.service.FrameCollector
-
This is used to register a
FrameListener
to this instance. - register(FrameListener) - Method in class org.simpleframework.http.socket.service.FrameConnection
-
This is used to register a
FrameListener
to this instance. - register(FrameListener) - Method in class org.simpleframework.http.socket.service.FrameProcessor
-
This is used to register a
FrameListener
to this instance. - register(FrameListener) - Method in class org.simpleframework.http.socket.service.ServiceChannel
-
This is used to register a
FrameListener
to this instance. - register(Action) - Method in class org.simpleframework.transport.reactor.ActionDistributor
-
Here the specified
Operation
object is registered with the selector. - REGISTER_INTEREST - org.simpleframework.transport.reactor.ReactorEvent
-
This occurs upon the initial registration of an I/O interest.
- REGISTER_READ_INTEREST - org.simpleframework.transport.reactor.ReactorEvent
-
This occurs upon the initial registration of a read I/O interest.
- REGISTER_WRITE_INTEREST - org.simpleframework.transport.reactor.ReactorEvent
-
This occurs upon the initial registration of a write I/O interest.
- registeredSets() - Method in class org.simpleframework.transport.reactor.ActionSelector
-
This is used to acquire all the action sets that are associated with this selector.
- registeredSets(Iterator<SelectionKey>) - Method in class org.simpleframework.transport.reactor.ActionSelector
-
This is used to acquire all the action sets that are associated with this selector.
- registry - Variable in class org.simpleframework.http.socket.service.PathRouter
-
This is the set of services that can be selected.
- registry - Variable in class org.simpleframework.http.socket.service.ProtocolRouter
-
This is the set of services that can be selected.
- reject() - Method in class org.simpleframework.http.socket.service.ResponseBuilder
-
This is used to respond to the client with a HTTP 400 response indicating the WebSocket handshake failed.
- relativeURI() - Method in class org.simpleframework.http.parse.AddressParser
-
This is a specific definition of a type of URI.
- release() - Method in class org.simpleframework.transport.FlushScheduler
-
This is used to notify any waiting threads that they no longer need to wait.
- remove() - Method in class org.simpleframework.http.parse.CookieParser.Sequence
-
This method is used to remove items from the iterator.
- remove(int) - Method in class org.simpleframework.transport.reactor.ActionSet
-
This is used to remove interest from the set.
- remove(Object) - Method in class org.simpleframework.common.lease.LeaseMap
-
This is used to remove the
Lease
object that is mapped to the specified key. - remove(Object) - Method in class org.simpleframework.common.parse.MapParser
-
The
remove
method 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
FrameListener
from this instance. - remove(FrameListener) - Method in class org.simpleframework.http.socket.service.FrameCollector
-
This is used to remove a
FrameListener
from this instance. - remove(FrameListener) - Method in class org.simpleframework.http.socket.service.FrameConnection
-
This is used to remove a
FrameListener
from this instance. - remove(FrameListener) - Method in class org.simpleframework.http.socket.service.FrameProcessor
-
This is used to remove a
FrameListener
from this instance. - remove(FrameListener) - Method in class org.simpleframework.http.socket.service.ServiceChannel
-
This is used to remove a
FrameListener
from this instance. - remove(ActionSet) - Method in class org.simpleframework.transport.reactor.ActionDistributor
-
This method ensures that references to the actions and channel are cleared from this instance.
- removeEldestEntry(Map.Entry<K, V>) - 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 class org.simpleframework.common.lease.ContractLease
-
This ensures that the leased resource is maintained for the specified number of
TimeUnit
seconds. - renew(long, TimeUnit) - Method in interface org.simpleframework.common.lease.Lease
-
This ensures that the leased resource is maintained for the specified number of
TimeUnit
seconds. - renew(Contract<T>) - Method in interface org.simpleframework.common.lease.ContractController
-
This ensures that the contract is renewed for the duration on the contract, which may have changed since it was issued or last renewed.
- renew(Contract<T>) - Method in class org.simpleframework.common.lease.ContractMaintainer
-
This ensures that the contract is renewed for the duration on the contract, which may have changed since it was issued or last renewed.
- repeat() - Method in class org.simpleframework.transport.FlushScheduler
-
This is used to repeat schedule the operation for execution.
- report(Exception) - Method in class org.simpleframework.transport.reactor.ActionDistributor
-
This method is called to ensure that if there is a global error that each action will know about it.
- request - Variable in class org.simpleframework.http.core.Conversation
-
This contains the request headers and protocol version.
- request - Variable in class org.simpleframework.http.core.QueryBuilder
-
This is the request that is used to acquire the data.
- request - Variable in class org.simpleframework.http.core.RequestDispatcher
-
This is the request object which contains the request entity.
- request - Variable in class org.simpleframework.http.RequestWrapper
-
This is the request instance that is being wrapped.
- request - Variable in class org.simpleframework.http.socket.service.AcceptToken
-
This is the original request used to initiate the session.
- request - Variable in class org.simpleframework.http.socket.service.RequestValidator
-
This is the request forming the client part of the handshake.
- request - Variable in class org.simpleframework.http.socket.service.ServiceSession
-
This is the initiating request associated with the session.
- Request - Interface in org.simpleframework.http
-
The
Request
is used to provide an interface to the HTTP entity body and message header. - REQUEST_ENTITY_TOO_LARGE - org.simpleframework.http.Status
-
This is used to tell the client that the request body is too big.
- REQUEST_READY - org.simpleframework.http.core.ContainerEvent
-
This event indicates that the request is ready for processing.
- REQUEST_TIMEOUT - org.simpleframework.http.Status
-
This is used to tell the client that the request has timed out.
- REQUEST_URI_TOO_LONG - org.simpleframework.http.Status
-
This is used to tell the client that the request URI is too long.
- RequestCertificate - Class in org.simpleframework.http.core
-
The
RequestCertificate
represents a certificate for an HTTP request. - RequestCertificate(BodyObserver, Entity) - Constructor for class org.simpleframework.http.core.RequestCertificate
-
Constructor for the
RequestCertificate
. - RequestCertificate.Challenge - Class in org.simpleframework.http.core
-
The
Challenge
provides a basic wrapper around the challenge provided by the SSL connection. - RequestCollector - Class in org.simpleframework.http.core
-
The
RequestCollector
object is used to collect all of the data used to form a request entity. - RequestCollector(Allocator, Channel) - Constructor for class org.simpleframework.http.core.RequestCollector
-
The
RequestCollector
object used to collect the data from the underlying transport. - RequestConsumer - Class in org.simpleframework.http.message
-
The
RequestConsumer
object 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
RequestConsumer
object. - RequestConsumer.Token - Class in org.simpleframework.http.message
-
This is a sequence of characters representing the header data consumed.
- RequestDispatcher - Class in org.simpleframework.http.core
-
The
RequestDispatcher
object is used to dispatch a request and response to the container. - RequestDispatcher(Container, Controller, Entity) - Constructor for class org.simpleframework.http.core.RequestDispatcher
-
Constructor for the
RequestDispatcher
object. - REQUESTED_RANGE_NOT_SATISFIABLE - org.simpleframework.http.Status
-
This is used to tell the client that the range is invalid.
- RequestEntity - Class in org.simpleframework.http.core
-
This object is used to represent a HTTP request.
- RequestEntity(ResponseObserver, Entity) - Constructor for class org.simpleframework.http.core.RequestEntity
-
Constructor for the
RequestEntity
object. - RequestHeader - Interface in org.simpleframework.http
-
This is a
Header
object that is used to represent a basic form for the HTTP request message. - RequestLine - Interface in org.simpleframework.http
-
The
RequestLine
is used to represent a HTTP request line. - RequestMessage - Class in org.simpleframework.http.core
-
The
RequestMessage
object is used to create a HTTP request header representation. - RequestMessage() - Constructor for class org.simpleframework.http.core.RequestMessage
-
Constructor for the
RequestMessage
object. - RequestMessage(Header) - Constructor for class org.simpleframework.http.core.RequestMessage
-
Constructor for the
RequestMessage
object. - RequestReader - Class in org.simpleframework.http.core
-
The
RequestReader
object is used to read the bytes that form the request entity. - RequestReader(Controller, Collector) - Constructor for class org.simpleframework.http.core.RequestReader
-
Constructor for the
RequestReader
object. - RequestValidator - Class in org.simpleframework.http.socket.service
-
The
RequestValidator
object is used to ensure requests for confirm to RFC 6455 section 4.2.1. - RequestValidator(Request) - Constructor for class org.simpleframework.http.socket.service.RequestValidator
-
Constructor for the
RequestValidator
object. - RequestValidator(Request, String) - Constructor for class org.simpleframework.http.socket.service.RequestValidator
-
Constructor for the
RequestValidator
object. - RequestWrapper - Class in org.simpleframework.http
-
The
RequestWrapper
object is used so that the originalRequest
object can be wrapped in a filtering proxy object. - RequestWrapper(Request) - Constructor for class org.simpleframework.http.RequestWrapper
-
Constructor for
RequestWrapper
object. - require - Variable in class org.simpleframework.transport.Phase
-
This is the required operation for the task to complete.
- require - Variable in class org.simpleframework.transport.reactor.ExecuteAction
-
This is the bit mask of required operations to be executed.
- required - Variable in class org.simpleframework.http.socket.service.FrameHeaderConsumer
-
Required number of bytes within the frame header.
- reserved(char) - Method in class org.simpleframework.http.parse.AddressParser
-
This is a character set defined by RFC 2396, it checks the valididity of certain chars in a uniform resource identifier.
- RESERVED - org.simpleframework.http.socket.CloseCode
-
According to RFC 6455 this has been reserved for future use.
- reset() - Method in class org.simpleframework.http.core.ResponseBuffer
-
This is used to reset the buffer so that it can be written to again.
- reset() - Method in class org.simpleframework.http.core.ResponseEntity
-
This can be used to determine whether the
Response
has been committed. - reset() - Method in class org.simpleframework.http.parse.CookieParser
-
This is used so that the collection of
Cookies
can be reiterated. - reset() - Method in interface org.simpleframework.http.Response
-
This can be used to determine whether the
Response
has been committed. - reset() - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to determine whether the
Response
has been committed. - reset(int) - Method in class org.simpleframework.http.message.FileUploadConsumer.ByteCounter
-
Moves the cursor backward within the stream.
- reset(int) - Method in interface org.simpleframework.transport.ByteCursor
-
Moves the cursor backward within the stream.
- reset(int) - Method in interface org.simpleframework.transport.ByteReader
-
Moves the source backward within the stream.
- reset(int) - Method in class org.simpleframework.transport.TransportCursor
-
Moves the cursor backward within the stream.
- reset(int) - Method in class org.simpleframework.transport.TransportReader
-
Moves the source 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 - 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.
- resize(int) - Method in class org.simpleframework.http.parse.PathParser.TokenList
-
Scales the internal array used should the number of tokens exceed the initial capacity.
- 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.core.Conversation
-
This is the response object that requires HTTP headers set.
- response - Variable in class org.simpleframework.http.core.RequestDispatcher
-
This is the response object used to response to the request.
- response - Variable in class org.simpleframework.http.core.ResponseEncoder
-
This is the response message that is to be committed.
- response - Variable in class org.simpleframework.http.ResponseWrapper
-
This is the response instance that is being wrapped.
- response - Variable in class org.simpleframework.http.socket.service.ResponseBuilder
-
This is the response to the WebSocket handshake.
- response - Variable in class org.simpleframework.http.socket.service.ServiceSession
-
This is the initiating response associated with the session.
- Response - Interface in org.simpleframework.http
-
This is used to represent the HTTP response.
- RESPONSE_FINISHED - org.simpleframework.http.core.ContainerEvent
-
This indicates that all the bytes within the response are sent.
- ResponseBuffer - Class in org.simpleframework.http.core
-
The
ResponseBuffer
object is an output stream that can buffer bytes written up to a given size. - ResponseBuffer(BodyObserver, Response, Conversation, Entity) - Constructor for class org.simpleframework.http.core.ResponseBuffer
-
Constructor for the
ResponseBuffer
object. - ResponseBuffer(BodyObserver, Response, Conversation, Channel) - Constructor for class org.simpleframework.http.core.ResponseBuffer
-
Constructor for the
ResponseBuffer
object. - ResponseBuilder - Class in org.simpleframework.http.socket.service
-
The
ResponseBuilder
object is used to build a response to a WebSocket handshake. - ResponseBuilder(Request, Response) - Constructor for class org.simpleframework.http.socket.service.ResponseBuilder
-
Constructor for the
ResponseBuilder
object. - ResponseEncoder - Class in org.simpleframework.http.core
-
The
ResponseEncoder
object acts as a means to determine the transfer encoding for the response body. - ResponseEncoder(BodyObserver, Response, Conversation, Channel) - Constructor for class org.simpleframework.http.core.ResponseEncoder
-
Constructor for the
ResponseEncoder
object, this is used to create an object used to transfer a response body. - ResponseEntity - Class in org.simpleframework.http.core
-
This is used to represent the HTTP response.
- ResponseEntity(BodyObserver, Request, Entity) - Constructor for class org.simpleframework.http.core.ResponseEntity
-
Constructor for the
ResponseEntity
object. - ResponseException - Exception in org.simpleframework.http.core
-
The
ResponseException
object is used to represent an exception that is thrown when there is a problem producing the response body. - ResponseException(String) - Constructor for exception org.simpleframework.http.core.ResponseException
-
Constructor for the
ResponseException
object. - ResponseException(String, Throwable) - Constructor for exception org.simpleframework.http.core.ResponseException
-
Constructor for the
ResponseException
object. - ResponseHeader - Interface in org.simpleframework.http
-
The
ResponseHeader
object is used to manipulate the header information for a given response. - ResponseMessage - Class in org.simpleframework.http.core
-
The
ResponseMessage
object represents the header used for a response. - ResponseMessage() - Constructor for class org.simpleframework.http.core.ResponseMessage
-
Constructor for the
ResponseMessage
object. - ResponseObserver - Class in org.simpleframework.http.core
-
The
ResponseObserver
is used to observe the response streams. - ResponseObserver(Controller, Entity) - Constructor for class org.simpleframework.http.core.ResponseObserver
-
Constructor for the
ResponseObserver
object. - ResponseWrapper - Class in org.simpleframework.http
-
The
ResponseWrapper
object is used so that the originalResponse
object can be wrapped in a filtering proxy object. - ResponseWrapper(Response) - Constructor for class org.simpleframework.http.ResponseWrapper
-
Constructor for
ResponseWrapper
object. - resume() - Method in class org.simpleframework.transport.Handshake
-
This is the main point of execution within the negotiation.
- resume() - Method in interface org.simpleframework.transport.Negotiation
-
This is used to resume the negotiation when an operation has completed.
- resume(Runnable) - Method in class org.simpleframework.transport.NegotiationState.Challenge
-
This method will challenge the client for their certificate.
- RETRY_AFTER - Static variable in interface org.simpleframework.http.Protocol
-
Response to indicate how long the service will be unavailable.
- revoke(Contract<T>) - Method in class org.simpleframework.common.lease.LeaseCleaner
-
This revokes a contract that has previously been issued.
- rfc1123() - Method in class org.simpleframework.http.parse.DateParser
-
This will parse a date that is in the form of an RFC 1123 date.
- rfc850() - Method in class org.simpleframework.http.parse.DateParser
-
This will parse a date that is in the form of an RFC 850 date.
- 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 - Variable in class org.simpleframework.http.socket.service.RouterContainer
-
This is the router used to select specific services.
- router - Variable in class org.simpleframework.http.socket.service.SessionDispatcher
-
This is used to select the service to dispatch to.
- Router - Interface in org.simpleframework.http.socket.service
-
The
Router
interface represents a means of routing a session initiating request to the correct service. - RouterContainer - Class in org.simpleframework.http.socket.service
-
The
RouterContainer
is 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
RouterContainer
object. - RouterContainer(Container, Router, int, long) - Constructor for class org.simpleframework.http.socket.service.RouterContainer
-
Constructor for the
RouterContainer
object. - run() - Method in class org.simpleframework.common.lease.LeaseCleaner
-
This acquires expired lease contracts from the queue once the expiry duration has passed.
- run() - Method in class org.simpleframework.common.thread.Daemon.RunnableDelegate
-
This is used to execute the task.
- run() - Method in class org.simpleframework.http.core.RequestDispatcher
-
This
run
method will dispatch the created request and response objects to the container. - run() - Method in class org.simpleframework.http.core.RequestReader
-
This
run
method is used to collect the bytes from the connected channel. - run() - Method in class org.simpleframework.http.socket.service.FrameCollector
-
This is used to execute the collection operation.
- run() - Method in class org.simpleframework.http.socket.service.StatusChecker
-
This method is used to check to see if a session has expired.
- run() - Method in class org.simpleframework.transport.connect.SocketAcceptor
-
This is used to accept a new TCP connections.
- run() - Method in class org.simpleframework.transport.FlushSignaller
-
This is used to perform the drain of the pending buffer queue.
- run() - Method in class org.simpleframework.transport.Handshake
-
This is used to start the negotiation.
- run() - Method in class org.simpleframework.transport.NegotiationState.Delegate
-
This is used to run the completion task.
- run() - Method in class org.simpleframework.transport.Phase
-
This is used to execute the task.
- run() - Method in class org.simpleframework.transport.reactor.ActionDistributor
-
Performs the execution of the distributor.
- run() - Method in class org.simpleframework.transport.reactor.CancelAction
-
This method is executed by the
Executor
object if the operation expires before the required I/O event(s) have occurred. - run() - Method in class org.simpleframework.transport.reactor.ExecuteAction
-
This is used to execute the operation for the action.
- run() - Method in class org.simpleframework.transport.ServerCleaner
-
When this method runs it will firstly stop the processor in a synchronous fashion.
- run() - Method in class org.simpleframework.transport.TransportDispatcher
-
This is used to transfer the transport to the processor.
- RunnableDelegate(Runnable) - Constructor for class org.simpleframework.common.thread.Daemon.RunnableDelegate
-
Constructor for the
RunnableDelegate
object. - running - Variable in class org.simpleframework.transport.FlushScheduler
-
This is used to determine if the scheduler is running.
S
- save() - Method in class org.simpleframework.http.parse.ListParser
-
This method will trim whitespace from the extracted token and store that token within the
PriorityQueue
. - save(T) - Method in class org.simpleframework.http.parse.ListParser
-
This stores the string in the
PriorityQueue
. - 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.BoundaryConsumer
-
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.
- scan() - Method in class org.simpleframework.http.message.TokenConsumer
-
This is used to scan the token from the array.
- scan(byte[]) - Method in class org.simpleframework.http.message.BoundaryConsumer
-
This is used to scan the specified token from the consumed bytes.
- schedule(boolean) - Method in class org.simpleframework.transport.FlushScheduler
-
This is used to schedule the task for execution.
- scheduler - Variable in class org.simpleframework.http.socket.service.ServiceDispatcher
-
This is used asynchronously read frames from the TCP channel.
- scheduler - Variable in class org.simpleframework.http.socket.service.SessionBuilder
-
This is the scheduler that is used to ping WebSocket sessions.
- scheduler - Variable in class org.simpleframework.http.socket.service.StatusChecker
-
This is the shared scheduler used to execute this checker.
- scheduler - Variable in class org.simpleframework.transport.SocketFlusher
-
This is the scheduler used to block and signal the writer.
- Scheduler - Interface in org.simpleframework.common.thread
-
The
Scheduler
interface represents a means to execute a task immediately or after a specified delay. - SchedulerQueue - Class in org.simpleframework.common.thread
-
The
SchedulerQueue
object is used to schedule tasks for execution. - SchedulerQueue(Class, int) - Constructor for class org.simpleframework.common.thread.SchedulerQueue
-
Constructor for the
SchedulerQueue
object. - scheme - Variable in class org.simpleframework.http.parse.AddressParser
-
References the scheme that this URI contains.
- scheme - Variable in enum org.simpleframework.http.Scheme
-
This is the actual scheme token that is to be used in the URI.
- scheme() - Method in class org.simpleframework.http.parse.AddressParser
-
This will check to see if there is a scheme in the URI.
- Scheme - Enum in org.simpleframework.http
-
The
Scheme
represents a scheme used for a URI. - Scheme(String, boolean) - Constructor for enum org.simpleframework.http.Scheme
-
Constructor for the
Scheme
object. - schemeChar(char) - Method in class org.simpleframework.http.parse.AddressParser
-
This method is used to assist the scheme method.
- 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.
- second(byte[]) - Method in class org.simpleframework.http.parse.PrincipalParser
-
This is used to extract the
byte
from the set of fourbytes
given. - secondary - Variable in class org.simpleframework.http.parse.ContentTypeParser
-
Used to store the characters consumed for the secondary type.
- secondary() - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This reads the subtype from the MIME type.
- secs - Variable in class org.simpleframework.http.parse.DateParser
-
Represents the decimal value for the second.
- secs() - Method in class org.simpleframework.http.parse.DateParser
-
This is used to initialize the secs.
- secure - Variable in class org.simpleframework.http.Cookie
-
Determines whether the cookie should be secure.
- secure - Variable in enum org.simpleframework.http.Scheme
-
This is used to determine if the connection is secure or not.
- SecureTransport - Class in org.simpleframework.transport
-
The
SecureTransport
object provides an implementation of a transport used to send and receive data over SSL. - SecureTransport(Transport, Certificate, ByteBuffer, ByteBuffer) - Constructor for class org.simpleframework.transport.SecureTransport
-
Constructor for the
SecureTransport
object. - SecureTransport(Transport, Certificate, ByteBuffer, ByteBuffer, int) - Constructor for class org.simpleframework.transport.SecureTransport
-
Constructor for the
SecureTransport
object. - SEE_OTHER - org.simpleframework.http.Status
-
This is used to tell the client to see another HTTP resource.
- seek - Variable in class org.simpleframework.http.message.BoundaryConsumer
-
This counts the number of characters read from the start.
- seek - Variable in class org.simpleframework.http.message.ContentConsumer
-
This is used to determine how many boundary tokens are read.
- seek - Variable in class org.simpleframework.http.message.TokenConsumer
-
This tracks the number of bytes that are read from the token.
- segment - Variable in class org.simpleframework.common.buffer.FileBuffer
-
This represents the last file segment that has been created.
- segment - Variable in class org.simpleframework.common.buffer.FileBuffer.Segment
-
This is an internal segment created from this buffer object.
- segment - Variable in class org.simpleframework.http.message.BufferPart
-
This is the segment representing the headers for the part.
- segment - Variable in class org.simpleframework.http.message.ConsumerFactory
-
This is the header associated with the request body consumed.
- segment - Variable in class org.simpleframework.http.message.ContentConsumer
-
Represents the HTTP headers that were provided for the part.
- segment(int) - Method in class org.simpleframework.http.parse.PathParser.TokenList
-
This is used to acquire the path from the segment that is specified.
- segment(int, int) - Method in class org.simpleframework.http.parse.PathParser.TokenList
-
This is used to acquire the path from the segment that is specified.
- Segment - Interface in org.simpleframework.http.message
-
The
Segment
object represents a collection of header values that is followed by a body. - Segment(Buffer, int) - Constructor for class org.simpleframework.common.buffer.ArrayBuffer.Segment
-
Constructor for the
Segment
object. - Segment(Buffer, long) - Constructor for class org.simpleframework.common.buffer.FileBuffer.Segment
-
Constructor for the
Segment
object. - SegmentConsumer - Class in org.simpleframework.http.message
-
The
SegmentConsumer
object provides a consumer that is used to consume a HTTP header. - SegmentConsumer() - Constructor for class org.simpleframework.http.message.SegmentConsumer
-
Constructor for the
SegmentConsumer
object. - SegmentConsumer(int) - Constructor for class org.simpleframework.http.message.SegmentConsumer
-
Constructor for the
SegmentConsumer
object. - SegmentConsumer.Token - Class in org.simpleframework.http.message
-
This is used to track the boundaries of a token so that it can be converted in to a usable string.
- segments() - Method in class org.simpleframework.http.parse.PathParser
-
This wil extract each individual segment from the path and also extract the highest directory.
- select(long) - Method in class org.simpleframework.transport.reactor.ActionSelector
-
This is used to perform a select on the selector.
- select(Collector) - Method in class org.simpleframework.http.core.ContainerController
-
The select event is used to register the connected socket with a Java NIO selector which can efficiently determine when there are bytes ready to read from the socket.
- select(Collector) - Method in interface org.simpleframework.http.core.Controller
-
The select event is used to register the connected socket with a Java NIO selector which can efficiently determine when there are bytes ready to read from the socket.
- select(Action) - Method in class org.simpleframework.transport.reactor.ActionDistributor
-
This method is used to perform an actual select on a channel.
- SELECT - org.simpleframework.transport.reactor.ReactorEvent
-
This event indicates the registration of an I/O interest.
- SELECT_CANCEL - org.simpleframework.transport.reactor.ReactorEvent
-
This occurs when a selection key is cancelled for all interests.
- SELECT_EXPIRED - org.simpleframework.transport.reactor.ReactorEvent
-
This indicates that the selected I/O interest has not occurred.
- selectedSets() - Method in class org.simpleframework.transport.reactor.ActionSelector
-
This is used to acquire all the action sets that are selected by this selector.
- selectedSets(Iterator<SelectionKey>) - Method in class org.simpleframework.transport.reactor.ActionSelector
-
This is used to acquire all the action sets that are selected by this selector.
- selecting - Variable in class org.simpleframework.transport.reactor.ActionDistributor
-
This is used to keep track of actions currently in selection.
- selector - Variable in class org.simpleframework.transport.reactor.ActionDistributor
-
This is the selector used to select for interested events.
- selector - Variable in class org.simpleframework.transport.reactor.ActionSelector
-
This is the selector used to perform the select operations.
- send() - Method in class org.simpleframework.transport.Handshake
-
Here we attempt to send all data within the output buffer.
- send() - Method in interface org.simpleframework.transport.Negotiation
-
This is used to send any messages the negotiation may have.
- send(byte[]) - Method in interface org.simpleframework.http.socket.FrameChannel
-
This is used to send data to the connected client.
- send(byte[]) - Method in class org.simpleframework.http.socket.service.FrameConnection
-
This is used to send data to the connected client.
- send(byte[]) - Method in class org.simpleframework.http.socket.service.OutputBarrier
-
This method is used to send all frames.
- send(byte[]) - Method in class org.simpleframework.http.socket.service.ServiceChannel
-
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(String) - Method in class org.simpleframework.http.socket.service.FrameConnection
-
This is used to send text to the connected client.
- send(String) - Method in class org.simpleframework.http.socket.service.ServiceChannel
-
This is used to send text to the connected client.
- send(ByteBuffer) - Method in class org.simpleframework.transport.SecureTransport
-
This method is used to deliver the provided buffer of bytes to the underlying transport.
- send(Frame) - Method in interface org.simpleframework.http.socket.FrameChannel
-
This is used to send data to the connected client.
- send(Frame) - Method in class org.simpleframework.http.socket.service.FrameConnection
-
This is used to send data to the connected client.
- send(Frame) - Method in class org.simpleframework.http.socket.service.ServiceChannel
-
This is used to send data to the connected client.
- sender - Variable in class org.simpleframework.http.core.ResponseEntity
-
This is the sender object used to deliver to response data.
- Sequence() - Constructor for class org.simpleframework.http.parse.CookieParser.Sequence
- series - Variable in class org.simpleframework.http.message.BufferBody
-
This is used to hold the attachments for the HTTP body.
- series - Variable in class org.simpleframework.http.message.ContentConsumer
-
This is the part list that this part is to be added to.
- series - Variable in class org.simpleframework.http.message.PartConsumer
-
This is used to add the consumed parts to when finished.
- series - Variable in class org.simpleframework.http.message.PartEntryFactory
-
This is used to accumulate all the parts of the upload.
- series - Variable in class org.simpleframework.http.message.PartSeriesConsumer
-
This is used to accumulate all the parts of the upload.
- Series() - Constructor for class org.simpleframework.http.message.MessageHeader.Series
-
Constructor for the
Entry
object. - SERVER - Static variable in interface org.simpleframework.http.Protocol
-
Contains information about the software used by the origin server.
- ServerCleaner - Class in org.simpleframework.transport
-
The
ServerCleaner
object allows for the termination and resource recovery to be done asynchronously. - ServerCleaner(TransportProcessor, ConcurrentExecutor, Reactor) - Constructor for class org.simpleframework.transport.ServerCleaner
-
Constructor for the
ServerCleaner
object. - service - Variable in class org.simpleframework.http.socket.service.DirectRouter
-
The service used by this router instance.
- Service - Interface in org.simpleframework.http.socket.service
-
The
Service
interface represents a service that can be used to communicate with the WebSocket protocol defined in RFC 6455. - SERVICE_UNAVAILABLE - org.simpleframework.http.Status
-
This is used to tell the client the resource is unavailable.
- ServiceChannel - Class in org.simpleframework.http.socket.service
-
The
ServiceChannel
represents a full duplex communication channel as defined by RFC 6455. - ServiceChannel(FrameChannel) - Constructor for class org.simpleframework.http.socket.service.ServiceChannel
-
Constructor for the
ServiceChannel
object. - ServiceDispatcher - Class in org.simpleframework.http.socket.service
-
The
ServiceDispatcher
object is used to perform the opening handshake for a WebSocket session. - ServiceDispatcher(Router, int) - Constructor for class org.simpleframework.http.socket.service.ServiceDispatcher
-
Constructor for the
ServiceDispatcher
object. - ServiceDispatcher(Router, int, long) - Constructor for class org.simpleframework.http.socket.service.ServiceDispatcher
-
Constructor for the
ServiceDispatcher
object. - ServiceEvent - Enum in org.simpleframework.http.socket.service
-
The
ServiceEvent
enumeration contains the events that are dispatched processing a WebSocket. - ServiceEvent() - Constructor for enum org.simpleframework.http.socket.service.ServiceEvent
- ServiceSession - Class in org.simpleframework.http.socket.service
-
The
ServiceSession
represents a simple WebSocket session that contains the connection handshake details and the actual socket. - ServiceSession(FrameChannel, Request, Response) - Constructor for class org.simpleframework.http.socket.service.ServiceSession
-
Constructor for the
ServiceSession
object. - session - Variable in class org.simpleframework.http.socket.service.FrameConnection
-
This is the session object that has a synchronized channel.
- session - Variable in class org.simpleframework.http.socket.service.FrameProcessor
-
This is the session associated with the WebSocket connection.
- Session - Interface in org.simpleframework.http.socket
-
The
Session
object represents a simple WebSocket session that contains the connection handshake details and the actual socket. - SessionBuilder - Class in org.simpleframework.http.socket.service
-
The
SessionBuilder
object is used to create sessions for connected WebSockets. - SessionBuilder(Scheduler, Reactor, long) - Constructor for class org.simpleframework.http.socket.service.SessionBuilder
-
Constructor for the
SessionBuilder
object. - SessionDispatcher - Class in org.simpleframework.http.socket.service
-
The
SessionDispatcher
object is used to perform the opening handshake for a WebSocket session. - SessionDispatcher(SessionBuilder, Router) - Constructor for class org.simpleframework.http.socket.service.SessionDispatcher
-
Constructor for the
SessionDispatcher
object. - set - Variable in class org.simpleframework.transport.reactor.ActionSet
-
This contains the the actions indexed by operation type.
- set() - Method in class org.simpleframework.http.core.Timer
-
This is used to set the time for a specific event.
- set(Runnable) - Method in class org.simpleframework.transport.NegotiationState.Delegate
-
This is used to set the completion task that is to be executed when the challenge has finished.
- 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
charset
to whatever value the string contains. - setCharset(String) - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This will set the
charset
to 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.core.ResponseMessage
-
This method allows the status for the response to be changed.
- 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 class org.simpleframework.http.core.ResponseEntity
-
This should be used when the size of the message body is known.
- 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 class org.simpleframework.http.core.ResponseEntity
-
This is used to set the content type for the response.
- 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
setCookie
method is used to set a cookie value with the cookie name. - setCookie(String, String) - Method in class org.simpleframework.http.message.MessageHeader
-
The
setCookie
method is used to set a cookie value with the cookie name. - setCookie(String, String) - Method in interface org.simpleframework.http.ResponseHeader
-
The
setCookie
method is used to set a cookie value with the cookie name. - setCookie(String, String) - Method in class org.simpleframework.http.ResponseWrapper
-
The
setCookie
method is used to set a cookie value with the cookie name. - setCookie(Cookie) - Method in interface org.simpleframework.http.message.Message
-
The
setCookie
method is used to set a cookie value with the cookie name. - setCookie(Cookie) - Method in class org.simpleframework.http.message.MessageHeader
-
The
setCookie
method is used to set a cookie value with the cookie name. - setCookie(Cookie) - Method in interface org.simpleframework.http.ResponseHeader
-
The
setCookie
method is used to set a cookie value with the cookie name. - setCookie(Cookie) - Method in class org.simpleframework.http.ResponseWrapper
-
The
setCookie
method 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.
- setDelay(long, TimeUnit) - Method in interface org.simpleframework.common.lease.Contract
-
This method is used to set the number of
TimeUnit
seconds that should remain within the contract. - setDelay(long, TimeUnit) - Method in class org.simpleframework.common.lease.Expiration
-
This method is used to set the number of
TimeUnit
seconds that should remain within the contract. - setDescription(String) - Method in class org.simpleframework.http.core.ResponseMessage
-
This is used to set the text of the HTTP status line.
- 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
Cookie
to 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.core.ResponseMessage
-
This can be used to set the major number from a HTTP version.
- 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.core.ResponseMessage
-
This can be used to get the minor number from a HTTP 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.core.ResponseMessage
-
This is used to set the status code and description for this response.
- 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
Cookie
to be set. - signal() - Method in class org.simpleframework.transport.reactor.Latch
-
This is used to signal that the latch is ready.
- signaller - Variable in class org.simpleframework.transport.SocketFlusher
-
This is the signaller used to determine when to flush.
- size - Variable in class org.simpleframework.common.buffer.ArrayAllocator
-
This represents the default capacity of all allocated buffers.
- size - Variable in class org.simpleframework.http.core.ChunkedEncoder
-
This is the size line which is used to generate the size.
- size - Variable in class org.simpleframework.http.message.RequestConsumer.Token
-
This is the number of bytes to use from the array.
- size - Variable in class org.simpleframework.http.message.SegmentConsumer.Token
-
This is used to track the number of bytes within the array.
- 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.
- size() - Method in class org.simpleframework.transport.reactor.ActionDistributor
-
This returns the number of channels that are currently selecting with this distributor.
- skip - Variable in class org.simpleframework.http.parse.ContentDispositionParser
-
This is the buffer used to acquire values from the header.
- skip(long) - Method in class org.simpleframework.common.buffer.FileBuffer.Range
-
This is the number of bytes to skip from the buffer.
- skip(String) - Method in class org.simpleframework.common.parse.Parser
-
This is used to skip an arbitrary
String
within thechar
buf. - skip(String) - Method in class org.simpleframework.http.parse.CookieParser
-
This is used to skip an arbitrary
String
within thechar
buf. - socket - Variable in class org.simpleframework.transport.connect.SocketAcceptor
-
This is the server socket to bind the socket address to.
- socket - Variable in class org.simpleframework.transport.FlushSignaller
-
This is the socket that this will be flushing.
- socket - Variable in class org.simpleframework.transport.NegotiationState
-
This is the socket representing the underlying TCP connection.
- socket - Variable in class org.simpleframework.transport.SocketTransport
-
This is the socket that this transport is representing.
- Socket - Interface in org.simpleframework.transport
-
This is a
Socket
interface that is used to represent a socket. - SocketAcceptor - Class in org.simpleframework.transport.connect
-
The
SocketAcceptor
object is used to accept incoming TCP connections from a specified socket address. - SocketAcceptor(SocketAddress, SocketProcessor, TraceAnalyzer) - Constructor for class org.simpleframework.transport.connect.SocketAcceptor
-
Constructor for the
SocketAcceptor
object. - SocketAcceptor(SocketAddress, SocketProcessor, TraceAnalyzer, SSLContext) - Constructor for class org.simpleframework.transport.connect.SocketAcceptor
-
Constructor for the
SocketAcceptor
object. - SocketAnalyzer - Class in org.simpleframework.transport.connect
-
The
SocketAnalyzer
is used to wrap an analyzer object. - SocketAnalyzer(TraceAnalyzer) - Constructor for class org.simpleframework.transport.connect.SocketAnalyzer
-
Constructor for the
SocketAnalyzer
object. - SocketBuffer - Class in org.simpleframework.transport
-
The
SocketBuffer
represents a buffer that aggregates small fragments in to a single buffer before sending them. - SocketBuffer(Socket, int, int) - Constructor for class org.simpleframework.transport.SocketBuffer
-
Constructor for the
SocketBuffer
object. - SocketBufferAppender - Class in org.simpleframework.transport
-
The
SocketBufferAppender
represents a buffer fragment collector. - SocketBufferAppender(Socket, int, int) - Constructor for class org.simpleframework.transport.SocketBufferAppender
-
Constructor for the
SocketBufferAppender
object. - SocketBufferWriter - Class in org.simpleframework.transport
-
The
SocketBufferWriter
is used to represent the means to write buffers to an underlying transport. - SocketBufferWriter(Socket, Reactor, int, int) - Constructor for class org.simpleframework.transport.SocketBufferWriter
-
Constructor for the
SocketBufferWriter
object. - SocketConnection - Class in org.simpleframework.transport.connect
-
The
SocketConnection
is used to manage connections from a server socket. - SocketConnection(SocketProcessor) - Constructor for class org.simpleframework.transport.connect.SocketConnection
-
Constructor for the
SocketConnection
object. - SocketConnection(SocketProcessor, TraceAnalyzer) - Constructor for class org.simpleframework.transport.connect.SocketConnection
-
Constructor for the
SocketConnection
object. - SocketFlusher - Class in org.simpleframework.transport
-
The
SocketFlusher
flushes bytes to the underlying socket channel. - SocketFlusher(SocketBuffer, Socket, Reactor) - Constructor for class org.simpleframework.transport.SocketFlusher
-
Constructor for the
SocketFlusher
object. - SocketListener - Class in org.simpleframework.transport.connect
-
The
SocketListener
object is represents the interface to the server that the clients can connect to. - SocketListener(SocketAddress, SocketProcessor, TraceAnalyzer) - Constructor for class org.simpleframework.transport.connect.SocketListener
-
Constructor for the
SocketListener
object. - SocketListener(SocketAddress, SocketProcessor, TraceAnalyzer, SSLContext) - Constructor for class org.simpleframework.transport.connect.SocketListener
-
Constructor for the
SocketListener
object. - SocketListenerManager - Class in org.simpleframework.transport.connect
-
The
SocketListenerManager
contains all the listeners that have been created for a connection. - SocketListenerManager(SocketProcessor, TraceAnalyzer) - Constructor for class org.simpleframework.transport.connect.SocketListenerManager
-
Constructor for the
SocketListenerManager
object. - SocketProcessor - Interface in org.simpleframework.transport
-
The
SocketProcessor
interface represents a processor that is used to acceptSocket
objects. - SocketTrace - Class in org.simpleframework.transport.connect
-
The
SocketTrace
is used to wrap an trace for safety. - SocketTrace(Trace) - Constructor for class org.simpleframework.transport.connect.SocketTrace
-
Constructor for the
SocketTrace
object. - SocketTransport - Class in org.simpleframework.transport
-
The
SocketTransport
object 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
SocketTransport
object. - SocketTransport(Socket, Reactor, int) - Constructor for class org.simpleframework.transport.SocketTransport
-
Constructor for the
SocketTransport
object. - SocketTransport(Socket, Reactor, int, int) - Constructor for class org.simpleframework.transport.SocketTransport
-
Constructor for the
SocketTransport
object. - SocketWrapper - Class in org.simpleframework.transport
-
This is a
SocketWrapper
objects that represents a TCP socket connections. - SocketWrapper(SocketChannel, Trace) - Constructor for class org.simpleframework.transport.SocketWrapper
-
This creates a
SocketWrapper
from a socket channel. - SocketWrapper(SocketChannel, Trace, SSLEngine) - Constructor for class org.simpleframework.transport.SocketWrapper
-
This creates a
SecureSocket
from a socket channel. - source - Variable in class org.simpleframework.common.buffer.FilterAllocator
-
This is the allocator the underlying buffer is allocated with.
- space() - Method in class org.simpleframework.common.buffer.FileBuffer.Segment
-
This determines how much space is left in the buffer.
- space() - Method in class org.simpleframework.transport.SocketBufferAppender
-
This is used to determine how much space is left to append data to this buffer.
- 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 - Variable in class org.simpleframework.common.buffer.ArrayBuffer.Segment
-
This represents the start of the segment within the buffer.
- start - Variable in class org.simpleframework.http.message.ContentConsumer
-
This is used to determine if the start token had been read.
- start() - Method in class org.simpleframework.common.thread.Daemon
-
This is used to start the internal thread.
- start() - Method in class org.simpleframework.http.core.ResponseEncoder
-
This starts the transfer with no specific content length set.
- start() - Method in class org.simpleframework.http.socket.service.StatusChecker
-
This is used to kick of the status checking.
- start(int) - Method in class org.simpleframework.http.core.ResponseEncoder
-
This starts the transfer with a known content length.
- start(Executor, long) - Method in class org.simpleframework.transport.reactor.PartitionDistributor
-
This is used to create the partitions that represent a thread used for selection.
- start(Collector) - Method in class org.simpleframework.http.core.ContainerController
-
The start event is used to immediately consume bytes form the underlying transport, it does not require a select to check if the socket is read ready which improves performance.
- start(Collector) - Method in interface org.simpleframework.http.core.Controller
-
The start event is used to immediately consume bytes form the underlying transport, it does not require a select to check if the socket is read ready which improves performance.
- start(Channel) - Method in class org.simpleframework.http.core.ContainerController
-
This is used to initiate the processing of the channel.
- start(Channel) - Method in interface org.simpleframework.http.core.Controller
-
This is used to initiate the processing of the channel.
- START - Static variable in class org.simpleframework.http.message.ContentConsumer
-
This represents the start of the boundary token for the body.
- state - Variable in class org.simpleframework.transport.Handshake
-
This is the certificate associated with this negotiation.
- state - Variable in class org.simpleframework.transport.Phase
-
This is the negotiation that this task will operate on.
- Status - Enum in org.simpleframework.http
-
The
Status
enumeration is used to specify status codes and the descriptions of those status codes. - Status(int, String) - Constructor for enum org.simpleframework.http.Status
-
Constructor for the
Status
object. - STATUS - Static variable in class org.simpleframework.http.message.ContinueDispatcher
-
This is the status code that is sent to prompt the client.
- StatusChecker - Class in org.simpleframework.http.socket.service
-
The
StatusChecker
object is used to perform health checks on connected sessions. - StatusChecker(FrameConnection, Request, Scheduler, long) - Constructor for class org.simpleframework.http.socket.service.StatusChecker
-
Constructor for the
StatusChecker
object. - StatusLine - Interface in org.simpleframework.http
-
The
StatusLine
is used to represent a HTTP status line. - StatusResultListener - Class in org.simpleframework.http.socket.service
-
The
StatusResultListener
is used to listen for responses to ping frames sent out by the server. - StatusResultListener(StatusChecker) - Constructor for class org.simpleframework.http.socket.service.StatusResultListener
-
Constructor for the
StatusResultListener
object. - 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.common.thread.ExecutorQueue
-
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.SchedulerQueue
-
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.http.core.ContainerController
-
This method is used to stop the
Selector
so that all resources are released. - 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 interface org.simpleframework.http.core.Controller
-
This method is used to stop the
Selector
so that all resources are released. - stop() - Method in class org.simpleframework.transport.connect.SocketAnalyzer
-
This is used to stop the analyzer and clear all trace information.
- 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
SocketProcessor
such 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
TransportProcessor
such 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.
- stop(long) - Method in class org.simpleframework.common.thread.ExecutorQueue
-
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.SchedulerQueue
-
This is used to stop the executor by interrupting all running tasks and shutting down the threads within the pool.
- subSequence(int, int) - Method in class org.simpleframework.http.message.RequestConsumer.Token
-
This returns a section of characters within the specified range.
- support - Variable in class org.simpleframework.http.core.BodyEncoderFactory
-
This is used to determine the semantics of the HTTP pipeline.
- support - Variable in class org.simpleframework.http.core.ResponseEncoder
-
This is used to determine the type of transfer required.
- support - Variable in class org.simpleframework.http.core.ResponseEntity
-
This is the conversation used to determine connection type.
- swap - Variable in class org.simpleframework.transport.SecureTransport
-
This is the internal buffer used to exchange the SSL data.
- SWITCHING_PROTOCOLS - org.simpleframework.http.Status
-
This represents a change in the protocol the client is using.
- SynchronousExecutor - Class in org.simpleframework.common.thread
-
The
SynchronousExecutor
object is used for synchronous execution of tasks. - SynchronousExecutor() - Constructor for class org.simpleframework.common.thread.SynchronousExecutor
- SynchronousReactor - Class in org.simpleframework.transport.reactor
-
The
SynchronousReactor
object 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
SynchronousReactor
object. - SynchronousReactor(boolean) - Constructor for class org.simpleframework.transport.reactor.SynchronousReactor
-
Constructor for the
SynchronousReactor
object.
T
- target - Variable in class org.simpleframework.http.message.RequestConsumer
-
This represents the raw request URI in an unparsed form.
- target() - Method in class org.simpleframework.http.message.RequestConsumer
-
This will parse URI target from the first line of the header and store the parsed string internally.
- task - Variable in class org.simpleframework.common.thread.Daemon.RunnableDelegate
-
This is the runnable that is to be executed.
- task - Variable in class org.simpleframework.transport.FlushScheduler
-
This is the operation that is scheduled for execution.
- task - Variable in class org.simpleframework.transport.NegotiationState.Delegate
-
This is the reference to the runnable that is to be executed.
- task - Variable in class org.simpleframework.transport.reactor.CancelAction
-
This is the operation that is to be canceled by this action.
- task - Variable in class org.simpleframework.transport.reactor.ExecuteAction
-
The task to execute when the required operations is ready.
- TE - Static variable in interface org.simpleframework.http.Protocol
-
Indicates what extension transfer codings it is willing to accept.
- temp - Variable in class org.simpleframework.common.encode.Base64InputStream
-
This is a temporary buffer used to read one byte at a time.
- temp - Variable in class org.simpleframework.common.encode.Base64OutputStream
- TEMPORARY_REDIRECT - org.simpleframework.http.Status
-
This is used to redirect the client to a resource that has moved.
- terminal - Variable in class org.simpleframework.http.message.ChunkedConsumer
-
This is used to determine whether a full chunk has been read.
- terminal - Variable in class org.simpleframework.http.message.PartConsumer
-
This is the terminal token that ends the part payload.
- terminal - Variable in class org.simpleframework.http.message.PartEntryFactory
-
This is the terminal token used to delimiter the upload.
- terminal(byte) - Method in class org.simpleframework.http.message.SegmentConsumer
-
This determines if an ISO-8859-1 byte is a terminal character.
- terminal(char) - Method in class org.simpleframework.http.parse.CookieParser
-
This is used to determine if a given iso8859-1 character is a terminal character.
- terminal(char) - Method in class org.simpleframework.http.parse.LanguageParser
-
This is used to determine whether the character provided is a terminal character.
- TERMINAL - Static variable in class org.simpleframework.http.message.SegmentConsumer
-
This is the terminal carriage return and line feed end line.
- terminate() - Method in class org.simpleframework.transport.Handshake
-
This method is used to terminate the handshake.
- terminate(Request, Response) - Method in class org.simpleframework.http.socket.service.SessionDispatcher
-
This method is used to terminate the connection and commit the response.
- TERMINATE_SOCKET - org.simpleframework.http.socket.service.ServiceEvent
-
This event is dispatched when a WebSocket channel is closed.
- text - Variable in class org.simpleframework.http.core.ResponseMessage
-
This is the text description used for the response status.
- text - Variable in class org.simpleframework.http.parse.ListParser
-
This is used as a working space to parse the value.
- text - Variable in class org.simpleframework.http.socket.Reason
-
This is the textual description of the close reason.
- text() - Method in class org.simpleframework.http.message.SegmentConsumer.Token
-
This is used to convert the byte range to a string.
- text(char) - Method in class org.simpleframework.http.parse.PrincipalParser
-
This is used to determine wheather or not a character is a
TEXT
character according to the HTTP specification, that is RFC 2616 specifies aTEXT
character as one that is any octet except those less than 32 and not 127. - text(String) - Method in class org.simpleframework.http.message.SegmentConsumer.Token
-
This is used to convert the byte range to a string.
- TEXT - 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
TextData
object represents a text payload for a WebScoket frame. - TextData(String) - Constructor for class org.simpleframework.http.socket.TextData
-
Constructor for the
TextData
object. - third(byte[]) - Method in class org.simpleframework.http.parse.PrincipalParser
-
This is used to extract the
byte
from the set of fourbytes
given. - threshold - Variable in class org.simpleframework.transport.OperationFactory
-
This is the threshold for the asynchronous buffers to use.
- time - Variable in class org.simpleframework.common.lease.Expiration
-
This is the expiration time in nanoseconds for this.
- time - Variable in class org.simpleframework.http.core.RequestEntity
-
This is the time at which the request is ready to be used.
- time - Variable in class org.simpleframework.http.core.Timer
-
This is the time in milliseconds used to record the event.
- time() - Method in class org.simpleframework.http.parse.DateParser
-
This is used to parse the time for a HTTP-date.
- time(StringBuilder) - Method in class org.simpleframework.http.parse.DateParser
-
This is used to append the time in RFC 1123 format to the given string builder.
- timer - Variable in class org.simpleframework.http.core.RequestCollector
-
This represents the time the request collection began at.
- timer - Variable in class org.simpleframework.http.core.ResponseObserver
-
This represents a time stamp that records the finish time.
- Timer - Class in org.simpleframework.http.core
-
The
Timer
object is used to set the time a specific event occurred at.
- Timer(TimeUnit) - Constructor for class org.simpleframework.http.core.Timer
-
Constructor for the
Timer
object. - TLS_HANDSHAKE_FAILURE - 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.
- toDecimal(byte) - Method in class org.simpleframework.http.message.ChunkedConsumer
-
This performs a conversion from a character to an integer.
- token - Variable in class org.simpleframework.http.message.PartBodyConsumer
-
This is used to consume the final terminal token from the part.
- token - Variable in class org.simpleframework.http.message.TokenConsumer
-
This is the token that is to be consumed from the cursor.
- token - Variable in class org.simpleframework.http.socket.service.ResponseBuilder
-
This is the accept token generated for the request.
- Token() - Constructor for class org.simpleframework.http.parse.AddressParser.Token
- Token() - Constructor for class org.simpleframework.http.parse.CookieParser.Token
- Token() - Constructor for class org.simpleframework.http.parse.PathParser.Token
- Token() - Constructor for class org.simpleframework.http.parse.QueryParser.Token
- Token(byte[], int, int) - Constructor for class org.simpleframework.http.message.RequestConsumer.Token
-
Constructor for the
ByteSequence
object. - Token(int, int) - Constructor for class org.simpleframework.http.message.SegmentConsumer.Token
-
Constructor for the
Token
object. - TOKEN - Static variable in class org.simpleframework.http.message.BoundaryConsumer
-
This represents the start of the boundary line for the part.
- TokenConsumer - Class in org.simpleframework.http.message
-
The
TokenConsumer
object is used to consume a token from the cursor. - TokenConsumer(Allocator, byte[]) - Constructor for class org.simpleframework.http.message.TokenConsumer
-
The
TokenConsumer
object is used to read a token from the cursor. - TokenList() - Constructor for class org.simpleframework.http.parse.PathParser.TokenList
-
Constructor for the
TokenList
is used to create a scalable list to store tokens. - 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.Date
to 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 - 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 interface org.simpleframework.common.lease.Contract
-
This is used to provide a description of the contract that the instance represents.
- toString() - Method in class org.simpleframework.common.lease.Expiration
-
This is used to provide a description of the contract that the instance represents.
- toString() - Method in class org.simpleframework.common.parse.ParseBuffer
-
This will return the characters that have been appended to the
ParseBuffer
as aString
object. - toString() - Method in interface org.simpleframework.http.Address
-
This is used to convert this URI object into a
String
object. - 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
toString
method converts the cookie to the Set-Cookie value. - toString() - Method in class org.simpleframework.http.core.RequestMessage
-
This is used to provide a string representation of the header read.
- toString() - Method in class org.simpleframework.http.core.ResponseMessage
-
This is used to compose the HTTP response header.
- 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.Token
-
This is used to create a string from the header bytes.
- 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.ParameterMap
-
This will return the parameters encoded in such a way that it can be appended to the end of the path.
- toString() - Method in class org.simpleframework.http.parse.AddressParser.Token
-
This method will convert the
Token
into it'sString
equivelant. - toString() - Method in class org.simpleframework.http.parse.AddressParser
-
This is used to convert this URI object into a
String
object. - 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.CookieParser.Token
-
This converts region within the buffer to 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.Token
-
This method will convert the
Token
into it'sString
equivelant. - toString() - Method in class org.simpleframework.http.parse.PathParser
-
This will return the normalized path.
- toString() - Method in class org.simpleframework.http.parse.QueryParser.Token
-
In order to represent the
Token
as a value that can be used this converts it to aString
. - toString() - Method in class org.simpleframework.http.parse.QueryParser
-
This
toString
method is used to compose an string in theapplication/x-www-form-urlencoded
MIME 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(String) - Method in class org.simpleframework.http.message.RequestConsumer.Token
-
This is used to create a string from the header bytes.
- toString(Set) - Method in class org.simpleframework.http.parse.QueryParser
-
This
toString
method is used to compose an string in theapplication/x-www-form-urlencoded
MIME type. - trace - Variable in class org.simpleframework.http.core.RequestCollector
-
This is the trace used to listen for various collect events.
- trace - Variable in class org.simpleframework.http.core.RequestDispatcher
-
This is the trace that is used to track the request dispatch.
- trace - Variable in class org.simpleframework.http.core.RequestReader
-
This is used to collect any trace information.
- trace - Variable in class org.simpleframework.http.core.ResponseEncoder
-
This is the trace used to monitor events in the data transfer.
- trace - Variable in class org.simpleframework.http.core.ResponseEntity
-
This is used to trace events that occur with the response
- trace - Variable in class org.simpleframework.http.core.ResponseObserver
-
This is the trace used to observe the state of the stream.
- trace - Variable in class org.simpleframework.http.message.ContinueDispatcher
-
This is the trace used to capture a continue response if any.
- trace - Variable in class org.simpleframework.http.message.EntityConsumer
-
This is used to trace the progress of the request consumption.
- trace - Variable in class org.simpleframework.http.socket.service.FrameCollector
-
This is the tracer that is used to trace the frame collection.
- trace - Variable in class org.simpleframework.http.socket.service.FrameConnection
-
This is used to trace all events that occur on the channel.
- trace - Variable in class org.simpleframework.http.socket.service.FrameEncoder
-
This is used to trace the traffic on the channel.
- trace - Variable in class org.simpleframework.http.socket.service.FrameProcessor
-
This is used to trace the events that occur on the channel.
- trace - Variable in class org.simpleframework.http.socket.service.ResponseBuilder
-
This is used to trace the activity for the handshake.
- trace - Variable in class org.simpleframework.http.socket.service.StatusChecker
-
This is used to trace various events for this pinger.
- trace - Variable in class org.simpleframework.transport.connect.SocketAcceptor
-
This is used to collect trace events with the acceptor.
- trace - Variable in class org.simpleframework.transport.connect.SocketTrace
-
This is the actual trace that is being wrapped by this.
- trace - Variable in class org.simpleframework.transport.FlushScheduler
-
This is the trace that listens to all transport events.
- trace - Variable in class org.simpleframework.transport.FlushSignaller
-
This is used to trace the activity for the operation.
- trace - Variable in class org.simpleframework.transport.Handshake
-
This is the trace that is used to monitor handshake events.
- trace - Variable in class org.simpleframework.transport.NegotiationState.Challenge
-
This is used to trace the certificate challenge request.
- trace - Variable in class org.simpleframework.transport.NegotiationState.Delegate
-
This is used to trace any errors when running the task.
- trace - Variable in class org.simpleframework.transport.Phase
-
This is the trace used to monitor the handshake socket.
- trace - Variable in class org.simpleframework.transport.SecureTransport
-
This is the trace that is used to monitor socket activity.
- trace - Variable in class org.simpleframework.transport.SocketBuffer
-
This is used to trace various events that occur.
- trace - Variable in class org.simpleframework.transport.SocketBufferAppender
-
This is the trace used to watch the buffering events.
- trace - Variable in class org.simpleframework.transport.SocketTransport
-
This is the trace used to monitor all transport events.
- trace - Variable in class org.simpleframework.transport.SocketWrapper
-
This can be used to trace specific events for the socket.
- trace - Variable in class org.simpleframework.transport.TransportChannel
-
This is the trace used to monitor events on the channel.
- trace(Object) - Method in class org.simpleframework.transport.connect.SocketTrace
-
This method is used to accept an event that occurred on the socket associated with this trace.
- 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 class org.simpleframework.transport.connect.SocketTrace
-
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
Trace
interface 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
TraceAnalyzer
object 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.
- translate(int) - Method in class org.simpleframework.http.parse.PrincipalParser
-
This uses a basic translation from the
byte
character to thebyte
number. - transport - Variable in class org.simpleframework.transport.Handshake
-
This is the transport dispatched when the negotiation ends.
- transport - Variable in class org.simpleframework.transport.SecureTransport
-
This is the transport used to send data over the socket.
- transport - Variable in class org.simpleframework.transport.TransportChannel
-
This represents the underlying transport that is to be used.
- transport - Variable in class org.simpleframework.transport.TransportDispatcher
-
This is the transport to be passed to the processor.
- transport - Variable in class org.simpleframework.transport.TransportReader
-
This is the underlying transport to read the bytes from.
- transport - Variable in class org.simpleframework.transport.TransportWriter
-
This is the underlying transport to write the bytes to.
- Transport - Interface in org.simpleframework.transport
-
The
Transport
interface represents a low level means to deliver content to the connected client. - TransportChannel - Class in org.simpleframework.transport
-
The
TransportChannel
provides a means to deliver and receive content over a transport. - TransportChannel(Transport) - Constructor for class org.simpleframework.transport.TransportChannel
-
Constructor for the
TransportChannel
object. - TransportCursor - Class in org.simpleframework.transport
-
The
TransportCursor
object 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
TransportCursor
object. - TransportCursor(Transport, int) - Constructor for class org.simpleframework.transport.TransportCursor
-
Constructor for the
TransportCursor
object. - TransportDispatcher - Class in org.simpleframework.transport
-
The
TransportDispatcher
operation is used transfer a transport to the processor so it can be processed. - TransportDispatcher(TransportProcessor, Transport) - Constructor for class org.simpleframework.transport.TransportDispatcher
-
Constructor for the
TransportDispatcher
object. - TransportEvent - Enum in org.simpleframework.transport
-
The
TransportEvent
enum represents various events that can occur with the transport. - TransportEvent() - Constructor for enum org.simpleframework.transport.TransportEvent
- TransportException - Exception in org.simpleframework.transport
-
The
TransportException
object is thrown when there is a problem with the transport. - TransportException(String) - Constructor for exception org.simpleframework.transport.TransportException
-
Constructor for the
TransportException
object. - TransportException(String, Throwable) - Constructor for exception org.simpleframework.transport.TransportException
-
Constructor for the
TransportException
object. - TransportProcessor - Interface in org.simpleframework.transport
-
This is the
TransportProcessor
used to process the provided transport in a higher layer. - TransportReader - Class in org.simpleframework.transport
-
The
TransportReader
object represents a reader that can read and buffer data from an underlying transport. - TransportReader(Transport) - Constructor for class org.simpleframework.transport.TransportReader
-
Constructor for the
TransportReader
object. - TransportReader(Transport, int) - Constructor for class org.simpleframework.transport.TransportReader
-
Constructor for the
TransportReader
object. - TransportSocketProcessor - Class in org.simpleframework.transport
-
The
TransportSocketProcessor
is used to convert sockets to transports. - TransportSocketProcessor(TransportProcessor) - Constructor for class org.simpleframework.transport.TransportSocketProcessor
-
Constructor for the
TransportSocketProcessor
object. - TransportSocketProcessor(TransportProcessor, int) - Constructor for class org.simpleframework.transport.TransportSocketProcessor
-
Constructor for the
TransportSocketProcessor
object. - TransportSocketProcessor(TransportProcessor, int, int) - Constructor for class org.simpleframework.transport.TransportSocketProcessor
-
Constructor for the
TransportSocketProcessor
object. - TransportSocketProcessor(TransportProcessor, int, int, int) - Constructor for class org.simpleframework.transport.TransportSocketProcessor
-
Constructor for the
TransportSocketProcessor
object. - TransportSocketProcessor(TransportProcessor, int, int, int, boolean) - Constructor for class org.simpleframework.transport.TransportSocketProcessor
-
Constructor for the
TransportSocketProcessor
object. - TransportWriter - Class in org.simpleframework.transport
-
The
TransportWriter
object is used to write bytes to and underlying transport. - TransportWriter(Transport) - Constructor for class org.simpleframework.transport.TransportWriter
-
Constructor for the
TransportWriter
object. - type - Variable in class org.simpleframework.common.thread.DaemonFactory
-
This is the type of the task this pool will execute.
- type - Variable in class org.simpleframework.http.message.SegmentConsumer
-
This is used to parse the content type header consumed.
- type - Variable in class org.simpleframework.http.parse.ContentTypeParser
-
Used to store the characters consumed for the type.
- type - Variable in class org.simpleframework.http.socket.DataFrame
-
This is the type used to determine the intent of the frame.
- type - Variable in class org.simpleframework.http.socket.service.FrameHeaderConsumer
-
This is the frame type which represents the opcode.
- type() - Method in class org.simpleframework.http.parse.ContentDispositionParser
-
This is used to determine the type of the disposition header.
- 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 - org.simpleframework.http.Status
-
This is used to tell the client that authorization is required.
- unicode(int) - Method in class org.simpleframework.http.parse.AddressParser
-
This method determines, using a peek character, whether the sequence of escaped characters within the URI is in UTF-8.
- unicode(int) - Method in class org.simpleframework.http.parse.QueryParser
-
This method determines, using a peek character, whether the sequence of escaped characters within the URI is in UTF-8.
- unicode(int, int) - Method in class org.simpleframework.http.parse.AddressParser
-
This method will decode the specified amount of escaped characters from the URI and convert them into a single Java UCS-2 character.
- unicode(int, int) - Method in class org.simpleframework.http.parse.QueryParser
-
This method will decode the specified amount of escaped characters from the URI and convert them into a single Java UCS-2 character.
- unicode(int, int, int) - Method in class org.simpleframework.http.parse.AddressParser
-
This will decode the specified amount of trailing UTF-8 bits from the URI.
- unicode(int, int, int) - Method in class org.simpleframework.http.parse.QueryParser
-
This will decode the specified amount of trailing UTF-8 bits from the URI.
- unit - Variable in class org.simpleframework.http.core.Timer
-
This is the time unit that this timer provides the time in.
- unreserved(char) - Method in class org.simpleframework.http.parse.AddressParser
-
This is a character set defined by RFC 2396 it is used to determine the valididity of certain
chars
within a Uniform Resource Identifier. - UNSUPPORTED_DATA - org.simpleframework.http.socket.CloseCode
-
Indicates the connection received a data type it cannot accept.
- UNSUPPORTED_MEDIA_TYPE - org.simpleframework.http.Status
-
This is used to tell the client that the content type is invalid.
- update - Variable in class org.simpleframework.transport.reactor.ActionDistributor
-
This is time in milliseconds when the next expiry will occur.
- 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.ContentConsumer
-
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(Action, ActionSet) - Method in class org.simpleframework.transport.reactor.ActionDistributor
-
Here the specified
Operation
object is registered with the selector. - update(ActionSet, int) - Method in class org.simpleframework.transport.reactor.ActionDistributor
-
This is used to update the interested operations of a set of actions.
- UPDATE_INTEREST - org.simpleframework.transport.reactor.ReactorEvent
-
This is used to indicate the operation interest changed.
- UPDATE_READ_INTEREST - org.simpleframework.transport.reactor.ReactorEvent
-
This occurs upon the initial registration of a read I/O interest.
- UPDATE_WRITE_INTEREST - 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
UpdateConsumer
object 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
UpdateConsumer
object. - UpdateConsumer(int) - Constructor for class org.simpleframework.http.message.UpdateConsumer
-
Constructor for the
UpdateConsumer
object. - 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 - org.simpleframework.http.Status
-
This is used to tell the client that it should use a proxy.
- user - Variable in class org.simpleframework.http.parse.PrincipalParser
-
Keeps the characters consumed for the user name token.
- USER_AGENT - Static variable in interface org.simpleframework.http.Protocol
-
Contains information about the user agent originating the request.
- userid() - Method in class org.simpleframework.http.parse.PrincipalParser
-
Extracts the user name from the buffer.
- userpass() - Method in class org.simpleframework.http.parse.PrincipalParser
-
Extracts the name and password of the user from the
name : password
pair that was given.
V
- validate() - Method in class org.simpleframework.transport.reactor.ActionDistributor
-
This method is used to perform simple validation.
- validator - Variable in class org.simpleframework.http.socket.service.ResponseBuilder
-
This is used to validate the initiating WebSocket request.
- value - Variable in class org.simpleframework.http.Cookie
-
The value attribute of this cookie instance.
- value - Variable in class org.simpleframework.http.message.MessageHeader.Series
-
Contains the header values that belong to the entry name.
- value - Variable in class org.simpleframework.http.message.SegmentConsumer
-
During parsing this is used to store the parsed header value.
- value - Variable in class org.simpleframework.http.parse.AddressParser.Token
-
This can be used to override the value for this token.
- value - Variable in class org.simpleframework.http.parse.AddressParser
-
Used to track the value characters of a parameter.
- value - Variable in class org.simpleframework.http.parse.ContentTypeParser
-
Used to collect the value of the content type parameter.
- value - Variable in class org.simpleframework.http.parse.CookieParser
-
Used to store the value of the
Cookie
. - value - Variable in class org.simpleframework.http.parse.ListParser.Entry
-
This is the value that is represented by this entry.
- value - Variable in class org.simpleframework.http.parse.PathParser.Token
-
Provides a quick retrieval of the token value.
- value - Variable in class org.simpleframework.http.parse.QueryParser
-
Used to accumulate the characters for the parameter value.
- value() - Method in class org.simpleframework.http.message.SegmentConsumer
-
This is used to parse the HTTP header value.
- value() - Method in class org.simpleframework.http.parse.AddressParser
-
This extracts a parameter value from a path segment.
- value() - Method in class org.simpleframework.http.parse.ContentTypeParser
-
This is used to read a parameters value from the buf.
- value() - Method in class org.simpleframework.http.parse.CookieParser
-
Used to extract everything found after the
NAME '='
within aCookie
. - value() - Method in class org.simpleframework.http.parse.ListParser
-
This method will extract a token from a comma separated list and write it to a buffer.
- value() - Method in class org.simpleframework.http.parse.QueryParser
-
This extracts a parameter value from a path segment.
- value(ParseBuffer) - Method in class org.simpleframework.http.parse.ContentDispositionParser
-
This is used to read a parameters value from the buf.
- 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.PhaseType
-
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
ValueParser
is 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<String>) - Constructor for class org.simpleframework.http.parse.ValueParser
-
Constructor for the
ValueParser
. - values - Variable in class org.simpleframework.http.message.MessageHeader
-
This is used to store multiple header values for a name.
- 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.PhaseType
-
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 - Variable in class org.simpleframework.http.Cookie
-
Represents the value of the version attribute.
- version - Variable in class org.simpleframework.http.parse.CookieParser
-
Version of the
Cookie
being parsed. - version - Variable in class org.simpleframework.http.socket.service.RequestValidator
-
This is the version referring to the required client version.
- 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() - Method in class org.simpleframework.http.parse.CookieParser
-
This extracts the
$Version
of thisCookie
. - VERSION_NOT_SUPPORTED - 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
- wake() - Method in class org.simpleframework.transport.reactor.ActionSelector
-
This is used to wake the selector if it is in the middle of a select operation.
- 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.
- weekday - Variable in class org.simpleframework.http.parse.DateParser
-
Used as an index into the weekdays array to get the weekday.
- weekday() - Method in class org.simpleframework.http.parse.DateParser
-
This is used to read the week day of HTTP-date.
- WEEKDAYS - Static variable in class org.simpleframework.http.parse.DateParser
-
Contains the possible days of the week for RFC 850.
- 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.
- wkday() - Method in class org.simpleframework.http.parse.DateParser
-
This is used to read the week day of HTTP-date.
- WKDAYS - Static variable in class org.simpleframework.http.parse.DateParser
-
Contains the possible days of the week for RFC 1123.
- write - Variable in class org.simpleframework.http.parse.PrincipalParser
-
Tracks the write offset for the buffer.
- write() - Method in class org.simpleframework.transport.Handshake
-
This is used to perform the write part of the negotiation.
- write(byte[]) - Method in class org.simpleframework.http.core.ResponseEncoder
-
This method is used to write content to the underlying socket.
- 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 class org.simpleframework.http.core.ResponseBuffer
-
This is used to write the provided array to the buffer.
- write(byte[], int, int) - Method in class org.simpleframework.http.core.ResponseEncoder
-
This method is used to write content to the underlying socket.
- 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(int) - Method in class org.simpleframework.http.core.ResponseBuffer
-
This is used to write the provided octet to the buffer.
- write(int) - Method in class org.simpleframework.transport.Handshake
-
This is used to perform the write part of the negotiation.
- write(ByteBuffer) - Method in class org.simpleframework.http.core.ResponseBuffer
-
This is used to write the provided buffer to the buffer.
- write(ByteBuffer) - Method in class org.simpleframework.http.core.ResponseEncoder
-
This method is used to write content to the underlying socket.
- 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.SecureTransport
-
This method is used to deliver the provided buffer of bytes to the underlying transport.
- write(ByteBuffer) - Method in class org.simpleframework.transport.SocketBuffer
-
This will write the bytes to underlying channel if the data is greater than the minimum buffer size.
- write(ByteBuffer) - Method in class org.simpleframework.transport.SocketBufferWriter
-
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 class org.simpleframework.http.core.ResponseBuffer
-
This is used to write the provided buffer to the buffer.
- write(ByteBuffer, int, int) - Method in class org.simpleframework.http.core.ResponseEncoder
-
This method is used to write content to the underlying socket.
- 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(ByteChannel) - Method in class org.simpleframework.transport.SocketBufferAppender
-
This write method will write the contents of the buffer to the provided byte channel.
- write(ByteChannel, int) - Method in class org.simpleframework.transport.SocketBufferAppender
-
This write method will write the contents of the buffer to the provided byte channel.
- write(ByteChannel, ByteBuffer) - Method in class org.simpleframework.transport.SocketBufferAppender
-
This write method will write the contents of the buffer to the provided byte channel.
- WRITE - org.simpleframework.transport.TransportEvent
-
This event represents a write operation on the underlying socket.
- WRITE_BLOCKING - org.simpleframework.transport.TransportEvent
-
This event occurs when a thread must wait for a write to finish.
- WRITE_BODY - org.simpleframework.http.core.ContainerEvent
-
This event indicates that the server is writing the response body.
- WRITE_BUFFER - org.simpleframework.transport.TransportEvent
-
This event represents a write buffer operation on the underlying socket.
- WRITE_FRAME - org.simpleframework.http.socket.service.ServiceEvent
-
This event is dispatched when a frame is sent over a WebSocket.
- WRITE_HEADER - org.simpleframework.http.core.ContainerEvent
-
This event indicates that the server is writing the response header.
- WRITE_HEADER - org.simpleframework.http.socket.service.ServiceEvent
-
This event is dispatched when the response handshake is sent.
- WRITE_INTEREST_READY - org.simpleframework.transport.reactor.ReactorEvent
-
This indicates that the I/O write interest has been satisfied.
- WRITE_PING - org.simpleframework.http.socket.service.ServiceEvent
-
This event is dispatched when a ping is sent over a WebSocket.
- WRITE_PONG - org.simpleframework.http.socket.service.ServiceEvent
-
This event is dispatched when a pong is sent over a WebSocket.
- WRITE_WAIT - org.simpleframework.transport.TransportEvent
-
This event occurs when no more data can be sent over the socket.
- writer - Variable in class org.simpleframework.http.core.BodyEncoderFactory
-
This is the underlying sender used to deliver the raw data.
- writer - Variable in class org.simpleframework.http.core.ChunkedEncoder
-
This is the underlying writer used to deliver the encoded data.
- writer - Variable in class org.simpleframework.http.core.CloseEncoder
-
This is the underlying writer used to deliver the raw data.
- writer - Variable in class org.simpleframework.http.core.EmptyEncoder
-
This is the writer that is passed to the monitor when ready.
- writer - Variable in class org.simpleframework.http.core.FixedLengthEncoder
-
This is the underlying writer used to deliver the raw data.
- writer - Variable in class org.simpleframework.http.message.ContinueDispatcher
-
This is the writer that is used to deliver the continue.
- writer - Variable in class org.simpleframework.http.socket.service.FrameConnection
-
This is the sender used to send frames over the channel.
- writer - Variable in class org.simpleframework.http.socket.service.OutputBarrier
-
This is the underlying sender used to send the frames.
- writer - Variable in class org.simpleframework.http.socket.service.ResponseBuilder
-
This is the sender used to send the WebSocket response.
- writer - Variable in class org.simpleframework.transport.FlushSignaller
-
This is the writer that is used to write the data.
- writer - Variable in class org.simpleframework.transport.SocketBufferWriter
-
This is the writer that is used to queue the buffers.
- writer - Variable in class org.simpleframework.transport.SocketTransport
-
This is the writer that is used to flush the buffer queue.
- writer - Variable in class org.simpleframework.transport.TransportChannel
-
This is used to provide a blocking means for sending data.
- WS - org.simpleframework.http.Scheme
-
This represents the scheme for a plaintext WebSocket connection.
- WSS - 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.
Y
- year - Variable in class org.simpleframework.http.parse.DateParser
-
Represents the decimal value of the date such as 1977.
- year2() - Method in class org.simpleframework.http.parse.DateParser
-
This is used to get the year from a set of digit characters.
- year4() - Method in class org.simpleframework.http.parse.DateParser
-
This is used to get the year from a set of digit characters.
Z
- zero - Variable in class org.simpleframework.http.core.ChunkedEncoder
-
This is the zero length chunk sent when this is completed.
- zone - Variable in class org.simpleframework.http.Cookie.CookieDate
-
This is the GMT time zone which must be used.
- zone(StringBuilder) - Method in class org.simpleframework.http.parse.DateParser
-
This is used to append the time zone to the provided appender.
- ZONE - Static variable in class org.simpleframework.http.Cookie.CookieDate
-
The cookie date must be returned in the GMT zone.
- ZONE - Static variable in class org.simpleframework.http.parse.DateParser
-
Ensure that the time zone for dates if set to GMT.
All Classes All Packages