Index
All Classes and Interfaces|All Packages|Serialized Form
A
- ACCEPTED - Enum constant in enum class org.simpleframework.http.Status
-
This is used to signify that the request has been accepted.
- add(String, int) - Method in interface org.simpleframework.http.ResponseHeader
-
This can be used to add a HTTP message header to this object.
- add(String, int) - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to add a HTTP message header to this object.
- add(String, String) - Method in interface org.simpleframework.http.ResponseHeader
-
This can be used to add a HTTP message header to this object.
- add(String, String) - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to add a HTTP message header to this object.
- 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.
- Address - Interface in org.simpleframework.http
-
The
Addressinterface is used to represent a generic uniform resource identifier. - AddressParser - Class in org.simpleframework.http.parse
-
This parser is used to parse uniform resource identifiers.
- AddressParser() - Constructor for class org.simpleframework.http.parse.AddressParser
-
Default constructor will create a
AddressParserthat contains no specifics. - AddressParser(String) - Constructor for class org.simpleframework.http.parse.AddressParser
-
This is primarily a convenience constructor.
- all - Variable in class org.simpleframework.util.parse.MapParser
-
Represents all values inserted to the map as a list of values.
- allocate() - Method in interface org.simpleframework.util.buffer.Allocator
-
This method is used to allocate a default buffer.
- allocate() - Method in class org.simpleframework.util.buffer.ArrayAllocator
-
This method is used to allocate a default buffer.
- allocate() - Method in class org.simpleframework.util.buffer.ArrayBuffer
-
This method is used to allocate a segment of this buffer as a separate buffer object.
- allocate() - Method in interface org.simpleframework.util.buffer.Buffer
-
This method is used to allocate a segment of this buffer as a separate buffer object.
- allocate() - Method in class org.simpleframework.util.buffer.BufferAllocator
-
This method is used to allocate a default buffer.
- allocate() - Method in class org.simpleframework.util.buffer.FileAllocator
-
This will allocate a file buffer which will write data for the buffer to a file.
- allocate() - Method in class org.simpleframework.util.buffer.FilterAllocator
-
This method is used to allocate a default buffer.
- allocate(int) - Method in interface org.simpleframework.util.buffer.Allocator
-
This method is used to allocate a default buffer.
- allocate(int) - Method in class org.simpleframework.util.buffer.ArrayAllocator
-
This method is used to allocate a default buffer.
- allocate(int) - Method in class org.simpleframework.util.buffer.BufferAllocator
-
This method is used to allocate a default buffer.
- allocate(int) - Method in class org.simpleframework.util.buffer.FileAllocator
-
This will allocate a file buffer which will write data for the buffer to a file.
- allocate(int) - Method in class org.simpleframework.util.buffer.FilterAllocator
-
This method is used to allocate a default buffer.
- Allocator - Interface in org.simpleframework.util.buffer
-
The
Allocatorinterface is used to describe a resource that can allocate a buffer. - append(byte[]) - Method in class org.simpleframework.util.buffer.ArrayBuffer
-
This method is used to append bytes to the end of the buffer.
- append(byte[]) - Method in interface org.simpleframework.util.buffer.Buffer
-
This method is used to append bytes to the end of the buffer.
- append(byte[]) - Method in class org.simpleframework.util.buffer.BufferAllocator
-
This method is used to append bytes to the end of the buffer.
- append(byte[], int, int) - Method in class org.simpleframework.util.buffer.ArrayBuffer
-
This method is used to append bytes to the end of the buffer.
- append(byte[], int, int) - Method in interface org.simpleframework.util.buffer.Buffer
-
This method is used to append bytes to the end of the buffer.
- append(byte[], int, int) - Method in class org.simpleframework.util.buffer.BufferAllocator
-
This method is used to append bytes to the end of the buffer.
- append(char) - Method in class org.simpleframework.util.parse.ParseBuffer
-
This will add a
charto the end of the buffer. - append(char[], int, int) - Method in class org.simpleframework.util.parse.ParseBuffer
-
This will add a
charto the end of the buffer. - append(String) - Method in class org.simpleframework.util.parse.ParseBuffer
-
This will add a
Stringto the end of the buffer. - append(String, int, int) - Method in class org.simpleframework.util.parse.ParseBuffer
-
This will add a
Stringto the end of the buffer. - append(ParseBuffer) - Method in class org.simpleframework.util.parse.ParseBuffer
-
This will add a
ParseBufferto the end of this. - append(ParseBuffer, int, int) - Method in class org.simpleframework.util.parse.ParseBuffer
-
This will add a
ParseBufferto the end of this. - ArrayAllocator - Class in org.simpleframework.util.buffer
-
The
ArrayAllocatorobject is used to provide a means to allocate buffers using a single byte array. - ArrayAllocator() - Constructor for class org.simpleframework.util.buffer.ArrayAllocator
-
Constructor for the
ArrayAllocatorobject. - ArrayAllocator(int) - Constructor for class org.simpleframework.util.buffer.ArrayAllocator
-
Constructor for the
ArrayAllocatorobject. - ArrayAllocator(int, int) - Constructor for class org.simpleframework.util.buffer.ArrayAllocator
-
Constructor for the
ArrayAllocatorobject. - ArrayBuffer - Class in org.simpleframework.util.buffer
-
The
ArrayBufferis intended to be a general purpose byte buffer that stores bytes in an single internal byte array. - ArrayBuffer() - Constructor for class org.simpleframework.util.buffer.ArrayBuffer
-
Constructor for the
ArrayBufferobject. - ArrayBuffer(int) - Constructor for class org.simpleframework.util.buffer.ArrayBuffer
-
Constructor for the
ArrayBufferobject. - ArrayBuffer(int, int) - Constructor for class org.simpleframework.util.buffer.ArrayBuffer
-
Constructor for the
ArrayBufferobject.
B
- BAD_GATEWAY - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client that the gateway is invalid.
- BAD_REQUEST - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client they have send an invalid request.
- buf - Variable in class org.simpleframework.util.parse.ParseBuffer
-
The
char's this buffer accumulated. - buf - Variable in class org.simpleframework.util.parse.Parser
-
This is the buffer that is being parsed.
- Buffer - Interface in org.simpleframework.util.buffer
-
The
Bufferinterface represents a collection of bytes that can be written to and later read. - BufferAllocator - Class in org.simpleframework.util.buffer
-
The
BufferAllocatorobject is used to provide a means to allocate buffers using a single underlying buffer. - BufferAllocator(Allocator) - Constructor for class org.simpleframework.util.buffer.BufferAllocator
-
Constructor for the
BufferAllocatorobject. - BufferAllocator(Allocator, int) - Constructor for class org.simpleframework.util.buffer.BufferAllocator
-
Constructor for the
BufferAllocatorobject. - BufferAllocator(Allocator, int, int) - Constructor for class org.simpleframework.util.buffer.BufferAllocator
-
Constructor for the
BufferAllocatorobject. - BufferException - Exception Class in org.simpleframework.util.buffer
-
The
BufferExceptionis used to report problems that can occur during the use or allocation of a buffer. - BufferException(String, Object...) - Constructor for exception class org.simpleframework.util.buffer.BufferException
-
Constructor for the
BufferExceptionobject.
C
- cache - Variable in class org.simpleframework.util.parse.ParseBuffer
-
This is used to quicken
toString. - cancel() - Method in interface org.simpleframework.transport.reactor.Operation
-
This is used to cancel the operation if it has timed out.
- cancel() - Method in interface org.simpleframework.util.lease.Lease
-
This will cancel the lease and release the resource.
- cancel(Session) - Method in interface org.simpleframework.http.session.Observer
-
This method is called after the session has been canceled or expired.
- capacity - Variable in class org.simpleframework.util.buffer.FilterAllocator
-
This is the default initial minimum capacity of the buffer.
- clean(T) - Method in interface org.simpleframework.util.lease.Cleaner
-
This method is used to clean up after a the keyed resource.
- Cleaner<T> - Interface in org.simpleframework.util.lease
-
The
Cleanerrepresents an object that is used to clean up after the keyed resource. - clear() - Method in class org.simpleframework.util.buffer.ArrayBuffer
-
This will clear all data from the buffer.
- clear() - Method in interface org.simpleframework.util.buffer.Buffer
-
This will clear all data from the buffer.
- clear() - Method in class org.simpleframework.util.buffer.BufferAllocator
-
This will clear all data from the buffer.
- clear() - Method in class org.simpleframework.util.parse.MapParser
-
The
clearmethod is used to wipe out all the currently existing tokens from the collection. - clear() - Method in class org.simpleframework.util.parse.ParseBuffer
-
This will empty the
ParseBufferso that thetoStringparameter will returnnull. - 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 class org.simpleframework.http.session.SessionManager
-
This
closemethod is used to close the manager and release all resources associated with it. - close() - Method in interface org.simpleframework.http.session.SessionProvider
-
This
closemethod is used to close the provider and release all resources associated with it. - 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 interface org.simpleframework.transport.Transport
-
This is used to close the transport and the underlying socket.
- close() - Method in interface org.simpleframework.util.buffer.Allocator
-
This method is used to close the allocator so that resources that are occupied by the allocator can be freed.
- close() - Method in class org.simpleframework.util.buffer.ArrayAllocator
-
This method is used to close the allocator so that resources that are occupied by the allocator can be freed.
- close() - Method in class org.simpleframework.util.buffer.ArrayBuffer
-
This method is used to ensure the buffer can be closed.
- close() - Method in interface org.simpleframework.util.buffer.Buffer
-
This method is used to ensure the buffer can be closed.
- close() - Method in class org.simpleframework.util.buffer.BufferAllocator
-
This method is used to ensure the buffer can be closed.
- close() - Method in class org.simpleframework.util.buffer.FileAllocator
-
This method is used to close the allocator so that resources that are occupied by the allocator can be freed.
- close() - Method in class org.simpleframework.util.buffer.FilterAllocator
-
This method is used to close the allocator so that resources that are occupied by the allocator can be freed.
- close() - Method in class org.simpleframework.util.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.util.lease.LeaseProvider
-
This is used to close the lease provider such that all of the outstanding leases are canceled.
- 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. - CONFLICT - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client that there has been a conflict.
- connect(SocketAddress) - Method in interface org.simpleframework.transport.connect.Connection
-
This creates a new background task that will listen to the specified
ServerAddressfor incoming TCP connect requests. - connect(SocketAddress) - Method in class org.simpleframework.transport.connect.SocketConnection
-
This creates a new background task that will listen to the specified
ServerAddressfor incoming TCP connect requests. - connect(SocketAddress, SSLContext) - Method in interface org.simpleframework.transport.connect.Connection
-
This creates a new background task that will listen to the specified
ServerAddressfor incoming TCP connect requests. - connect(SocketAddress, SSLContext) - Method in class org.simpleframework.transport.connect.SocketConnection
-
This creates a new background task that will listen to the specified
ServerAddressfor incoming TCP connect requests. - Connection - Interface in org.simpleframework.transport.connect
-
The
Connectionobject is used to manage connections from a server socket. - Container - Interface in org.simpleframework.http.core
-
The
Containerobject is used to process HTTP requests and compose HTTP responses. - ContainerProcessor - Class in org.simpleframework.http.core
-
The
ContainerProcessorobject is used to create channels which can be used to consume and process requests. - ContainerProcessor(Container, Allocator, int) - Constructor for class org.simpleframework.http.core.ContainerProcessor
-
Constructor for the
ContainerProcessorobject. - ContainerProcessor(Container, Allocator, int, int) - Constructor for class org.simpleframework.http.core.ContainerProcessor
-
Constructor for the
ContainerProcessorobject. - ContainerServer - Class in org.simpleframework.http.core
-
The
ContainerServerobject provides a processor that dispatch requests from a connected pipeline. - ContainerServer(Container) - Constructor for class org.simpleframework.http.core.ContainerServer
-
Constructor for the
ContainerServerobject. - ContainerServer(Container, int) - Constructor for class org.simpleframework.http.core.ContainerServer
-
Constructor for the
ContainerServerobject. - ContainerServer(Container, Allocator) - Constructor for class org.simpleframework.http.core.ContainerServer
-
Constructor for the
ContainerServerobject. - ContainerServer(Container, Allocator, int) - Constructor for class org.simpleframework.http.core.ContainerServer
-
Constructor for the
ContainerServerobject. - contains(String) - Method in interface org.simpleframework.http.RequestHeader
-
This is used to see if there is a HTTP message header with the given name in this container.
- contains(String) - Method in class org.simpleframework.http.RequestWrapper
-
This is used to see if there is a HTTP message header with the given name in this container.
- contains(String) - Method in interface org.simpleframework.http.ResponseHeader
-
This is used to see if there is a HTTP message header with the given name in this container.
- contains(String) - Method in class org.simpleframework.http.ResponseWrapper
-
This is used to see if there is a HTTP message header with the given name in this container.
- containsKey(Object) - Method in class org.simpleframework.util.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.util.parse.MapParser
-
This method is used to determine whether any pair that has been inserted into the internal map had the presented value.
- ContentParser - 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.
- ContentParser() - Constructor for class org.simpleframework.http.parse.ContentParser
-
The default constructor will create a
ContentParserthat contains no charset, type or subtype. - ContentParser(String) - Constructor for class org.simpleframework.http.parse.ContentParser
-
This is primarily a convenience constructor.
- 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.
- Context - Interface in org.simpleframework.http.resource
-
The
Contextinterface is used to give a view of the file system to theResourceEngine. - convert(long) - Method in class org.simpleframework.http.parse.DateParser
-
Convenience method used to convert the specified long date in to a HTTP date format.
- convert(String) - Method in class org.simpleframework.http.parse.DateParser
-
Convenience method used to convert the specified HTTP date in to a long representing the time.
- Cookie - Class in org.simpleframework.http
-
This class is used to represent a generic cookie.
- Cookie() - Constructor for class org.simpleframework.http.Cookie
-
Constructor of the
Cookiethat does not need the name or value to be set. - Cookie(String, String) - Constructor for class org.simpleframework.http.Cookie
-
Constructor of the
Cookiethat uses a default version of 1, which is used by RFC 2109. - Cookie(String, String, boolean) - Constructor for class org.simpleframework.http.Cookie
-
Constructor of the
Cookiethat uses a default version of 1, which is used by RFC 2109. - Cookie(String, String, String) - Constructor for class org.simpleframework.http.Cookie
-
Constructor of the
Cookiethat uses a default version of 1, which is used by RFC 2109. - Cookie(String, String, String, boolean) - Constructor for class org.simpleframework.http.Cookie
-
Constructor of the
Cookiethat uses a default version of 1, which is used by RFC 2109. - CookieParser - Class in org.simpleframework.http.parse
-
CookieParser is used to parse the cookie header.
- CookieParser() - Constructor for class org.simpleframework.http.parse.CookieParser
-
Create a
CookieParserthat contains no cookies. - CookieParser(String) - Constructor for class org.simpleframework.http.parse.CookieParser
-
This is primarily a convineance constructor.
- count - Variable in class org.simpleframework.util.parse.ParseBuffer
-
This is the number of
char's stored. - count - Variable in class org.simpleframework.util.parse.Parser
-
This represents the length of the buffer.
- 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(Session) - Method in interface org.simpleframework.http.session.Observer
-
This method is called after the session has been created but before it is used.
- CREATED - Enum constant in enum class org.simpleframework.http.Status
-
This is used to signify that a resource was created successfully.
- Cursor - Interface in org.simpleframework.transport
-
The
Cursorobject is used to acquire bytes from a given source.
D
- Daemon - Class in org.simpleframework.util.thread
-
The
Daemonobject provides a named daemon thread which will execute therunmethod when started. - Daemon() - Constructor for class org.simpleframework.util.thread.Daemon
-
Constructor for the
Daemonobject. - DateParser - Class in org.simpleframework.http.parse
-
This is used to create a
Parserfor the HTTP date format. - DateParser() - Constructor for class org.simpleframework.http.parse.DateParser
-
The default constructor will create a parser that can parse
Strings that contain dates in the form of RFC 1123, RFC 850 or asctime. - DateParser(long) - Constructor for class org.simpleframework.http.parse.DateParser
-
This constructor will conveniently parse the
longargument in the constructor. - DateParser(String) - Constructor for class org.simpleframework.http.parse.DateParser
-
This constructor will conveniently parse the
Stringargument in the constructor. - digit(char) - Method in class org.simpleframework.util.parse.Parser
-
This is used to determine wheather or not a given character is a digit character.
- DirectExecutor - Class in org.simpleframework.util.thread
-
The
DirectExecutorobject is used for synchronous execution of tasks. - DirectExecutor() - Constructor for class org.simpleframework.util.thread.DirectExecutor
- DirectReactor - Class in org.simpleframework.transport.reactor
-
The
DirectReactorobject is used to execute the ready operations of within a single synchronous thread. - DirectReactor() - Constructor for class org.simpleframework.transport.reactor.DirectReactor
-
Constructor for the
DirectReactorobject. - DirectReactor(boolean) - Constructor for class org.simpleframework.transport.reactor.DirectReactor
-
Constructor for the
DirectReactorobject.
E
- encode() - Method in class org.simpleframework.util.buffer.ArrayBuffer
-
This method is used to acquire the buffered bytes as a string.
- encode() - Method in interface org.simpleframework.util.buffer.Buffer
-
This method is used to acquire the buffered bytes as a string.
- encode() - Method in class org.simpleframework.util.buffer.BufferAllocator
-
This method is used to acquire the buffered bytes as a string.
- encode(String) - Method in class org.simpleframework.util.buffer.ArrayBuffer
-
This method is used to acquire the buffered bytes as a string.
- encode(String) - Method in interface org.simpleframework.util.buffer.Buffer
-
This method is used to acquire the buffered bytes as a string.
- encode(String) - Method in class org.simpleframework.util.buffer.BufferAllocator
-
This method is used to acquire the buffered bytes as a string.
- ensureCapacity(int) - Method in class org.simpleframework.util.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.util.parse.Parser
-
This ensure that there is enough space in the buffer to allow for more
char's to be added. - entrySet() - Method in class org.simpleframework.util.parse.MapParser
-
This method is used to acquire the name and value pairs that have currently been collected by this parser.
- execute(Runnable) - Method in class org.simpleframework.util.thread.DirectExecutor
-
This will execute the provided
Runnablewithin the current thread. - execute(Runnable) - Method in class org.simpleframework.util.thread.PoolExecutor
-
The
executemethod is used to queue the task for execution. - execute(Runnable) - Method in class org.simpleframework.util.thread.Scheduler
-
This will execute the task within the executor immediately as it uses a delay duration of zero milliseconds.
- execute(Runnable, long) - Method in class org.simpleframework.util.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.util.thread.Scheduler
-
This will execute the task within the executor after the time specified has expired.
- ExecutorReactor - Class in org.simpleframework.transport.reactor
-
The
ExecutorReactoris used to schedule operation for execution using anExecutorimplementation. - ExecutorReactor(Executor) - Constructor for class org.simpleframework.transport.reactor.ExecutorReactor
-
Constructor for the
ExecutorReactorobject. - ExecutorReactor(Executor, int) - Constructor for class org.simpleframework.transport.reactor.ExecutorReactor
-
Constructor for the
ExecutorReactorobject. - ExecutorReactor(Executor, int, long) - Constructor for class org.simpleframework.transport.reactor.ExecutorReactor
-
Constructor for the
ExecutorReactorobject. - EXPECTATION_FAILED - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client that the expectation has failed.
F
- FileAllocator - Class in org.simpleframework.util.buffer
-
The
FileAllocatorobject is used to create buffers that can be written to the file system. - FileAllocator() - Constructor for class org.simpleframework.util.buffer.FileAllocator
-
Constructor for the
FileAllocatorobject. - FileAllocator(int) - Constructor for class org.simpleframework.util.buffer.FileAllocator
-
Constructor for the
FileAllocatorobject. - FileAllocator(String) - Constructor for class org.simpleframework.util.buffer.FileAllocator
-
Constructor for the
FileAllocatorobject. - FileAllocator(String, int) - Constructor for class org.simpleframework.util.buffer.FileAllocator
-
Constructor for the
FileAllocatorobject. - FileContext - Class in org.simpleframework.http.resource
-
The
FileContextprovides an implementation of theContextobject that provides a direct mapping from a request URI as defined in RFC 2616 to an OS specific target. - FileContext() - Constructor for class org.simpleframework.http.resource.FileContext
-
Constructor for creating an instance that operates from the given current working path.
- FileContext(File) - Constructor for class org.simpleframework.http.resource.FileContext
-
Constructor for creating an instance that operates from the given OS specific base path.
- FilterAllocator - Class in org.simpleframework.util.buffer
-
The
FilterAllocatorobject is used to provide a means to provide a general set of constraints around buffer allocation. - FilterAllocator(Allocator) - Constructor for class org.simpleframework.util.buffer.FilterAllocator
-
Constructor for the
FilterAllocatorobject. - FilterAllocator(Allocator, int) - Constructor for class org.simpleframework.util.buffer.FilterAllocator
-
Constructor for the
FilterAllocatorobject. - FilterAllocator(Allocator, int, int) - Constructor for class org.simpleframework.util.buffer.FilterAllocator
-
Constructor for the
FilterAllocatorobject. - flush() - Method in interface org.simpleframework.transport.Transport
-
This method is used to flush the contents of the buffer to the client.
- FORBIDDEN - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client that the resource is forbidden.
- Form - Interface in org.simpleframework.http
-
The
Forminterface is used to represent the details submitted with a request. - FormatException - Exception Class in org.simpleframework.util
-
The
FormatExceptionis used to create exceptions that can use a template string for the message. - FormatException(String, Object...) - Constructor for exception class org.simpleframework.util.FormatException
-
Constructor for the
FormatExceptionthis requires a template message and an ordered list of values that are to be inserted in to the provided template to form the error. - FormatException(Throwable, String, Object...) - Constructor for exception class org.simpleframework.util.FormatException
-
Constructor for the
FormatExceptionthis requires a template message and an ordered list of values that are to be inserted in to the provided template to form the error. - FOUND - Enum constant in enum class org.simpleframework.http.Status
-
This is used to represent a resource that has been found.
G
- GATEWAY_TIMEOUT - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client there was a gateway timeout.
- get(Object) - Method in class org.simpleframework.util.lease.LeaseMap
-
This is used to acquire the
Leaseobject that is mapped to the specified key. - get(Object) - Method in class org.simpleframework.util.parse.MapParser
-
The
getmethod is used to acquire the value for a named pair. - getAddress() - Method in interface org.simpleframework.http.RequestLine
-
This is used to acquire the address from the request line.
- getAddress() - Method in class org.simpleframework.http.RequestWrapper
-
This is used to acquire the address from the request line.
- getAll(Object) - Method in interface org.simpleframework.http.Query
-
This method is used to acquire a
Listfor all of the parameter values associated with the specified name. - getAll(Object) - Method in class org.simpleframework.util.parse.MapParser
-
This method is used to acquire a
Listfor all of the values that have been put in to the map. - 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.
- getAttributes() - Method in interface org.simpleframework.http.Request
-
This can be used to retrieve the response attributes.
- getAttributes() - Method in class org.simpleframework.http.RequestWrapper
-
This can be used to retrieve the response attributes.
- getAttributes() - Method in interface org.simpleframework.transport.Socket
-
This method is used to get the
Mapof attributes for this socket. - getBasePath() - Method in interface org.simpleframework.http.resource.Context
-
This is used to retrieve the base path of the context.
- getBasePath() - Method in class org.simpleframework.http.resource.FileContext
-
This is used to retrieve the base path of the context.
- getBoolean(Object) - Method in class org.simpleframework.http.parse.QueryParser
-
This extracts a boolean parameter for the named value.
- getBoolean(Object) - Method in interface org.simpleframework.http.Query
-
This extracts a boolean parameter for the named value.
- getByteChannel() - Method in interface org.simpleframework.http.Request
-
This is used to read the content body.
- getByteChannel() - Method in class org.simpleframework.http.RequestWrapper
-
This is used to read the content body.
- getByteChannel() - Method in interface org.simpleframework.http.Response
-
Used to write a message body with the
Response. - getByteChannel() - Method in class org.simpleframework.http.ResponseWrapper
-
Used to write a message body with the
Response. - getByteChannel(int) - Method in interface org.simpleframework.http.Response
-
Used to write a message body with the
Response. - getByteChannel(int) - Method in class org.simpleframework.http.ResponseWrapper
-
Used to write a message body with the
Response. - getChannel() - Method in interface org.simpleframework.transport.reactor.Operation
-
This is the
SelectableChannelwhich is used to determine if the operation should be executed. - getChannel() - Method in interface org.simpleframework.transport.Socket
-
This method is used to acquire the
SocketChannelfor the connection. - getCharset() - Method in interface org.simpleframework.http.ContentType
-
This is used to retrieve the
charsetof this MIME type. - getCharset() - Method in class org.simpleframework.http.parse.ContentParser
-
This is used to retrieve the
charsetof this MIME type. - getClientAddress() - Method in interface org.simpleframework.http.Request
-
This is used to acquire the remote client address.
- getClientAddress() - Method in class org.simpleframework.http.RequestWrapper
-
This is used to acquire the remote client address.
- getCode() - Method in class org.simpleframework.http.ResponseWrapper
-
This represents the status code of the HTTP response.
- getCode() - Method in enum class org.simpleframework.http.Status
-
This is used to acquire the code of the status object.
- getCode() - Method in interface org.simpleframework.http.StatusLine
-
This represents the status code of the HTTP response.
- getContent() - Method in interface org.simpleframework.http.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.
- getContentLength() - Method in interface org.simpleframework.http.RequestHeader
-
This is a convenience method that can be used to determine the length of the message body.
- getContentLength() - Method in class org.simpleframework.http.RequestWrapper
-
This is a convenience method that can be used to determine the length of the message body.
- getContentLength() - Method in interface org.simpleframework.http.ResponseHeader
-
This is a convenience method that can be used to determine the length of the message body.
- getContentLength() - Method in class org.simpleframework.http.ResponseWrapper
-
This is a convenience method that can be used to determine the length of the message body.
- getContentType() - Method in interface org.simpleframework.http.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.resource.Index
-
This allows the MIME type of this
Indexto be acquired. - 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.
- getContentType(String) - Method in interface org.simpleframework.http.resource.Context
-
This method will extract the type attribute of this URI.
- getContentType(String) - Method in class org.simpleframework.http.resource.FileContext
-
This method will extract the type attribute of this URI.
- getCookie(String) - Method in interface org.simpleframework.http.RequestHeader
-
This is used to acquire a cookie using the name of that cookie.
- getCookie(String) - Method in class org.simpleframework.http.RequestWrapper
-
This is used to acquire a cookie usiing the name of that cookie.
- getCookie(String) - Method in interface org.simpleframework.http.ResponseHeader
-
This returns the
Cookieobject stored under the specified name. - getCookie(String) - Method in class org.simpleframework.http.ResponseWrapper
-
This returns the
Cookieobject stored under the specified name. - getCookies() - Method in interface org.simpleframework.http.RequestHeader
-
This is used to acquire all cookies that were sent in the header.
- getCookies() - Method in class org.simpleframework.http.RequestWrapper
-
This is used to acquire all cookies that were sent in the header.
- getCookies() - Method in interface org.simpleframework.http.ResponseHeader
-
This returns all
Cookieobjects stored under the specified name. - getCookies() - Method in class org.simpleframework.http.ResponseWrapper
-
This returns all
Cookieobjects stored under the specified name. - getDate() - Static method in class org.simpleframework.http.parse.DateParser
-
The parser contains this method so that the a date does not have to be parsed from
System.currentTimeMillis. - getDate(String) - Method in interface org.simpleframework.http.RequestHeader
-
This can be used to get the date of the first message header that has the specified name.
- getDate(String) - Method in class org.simpleframework.http.RequestWrapper
-
This can be used to get the date of the first message header that has the specified name.
- getDate(String) - Method in interface org.simpleframework.http.ResponseHeader
-
This can be used to get the value of the first message header that has the specified name.
- getDate(String) - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to get the value of the first message header that has the specified name.
- getDescription() - Method in enum class org.simpleframework.http.Status
-
This is used to provide the status description.
- getDescription(int) - Static method in enum class 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.
- getDirectory() - Method in interface org.simpleframework.http.resource.Index
-
This is used to acquire the
Filedirectory for the index target. - getDirectory(String) - Method in interface org.simpleframework.http.resource.Context
-
This is used to translate the HTTP request URI into the
Fileobject that it represent the parent directory of the URI. - getDirectory(String) - Method in class org.simpleframework.http.resource.FileContext
-
This is used to translate the HTTP request URI into the
Fileobject that it represent the parent directory of the URI. - 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 retrive the domain of this URI.
- getEngine() - Method in interface org.simpleframework.transport.Socket
-
This is used to acquire the SSL engine used for security.
- getExpiry() - Method in class org.simpleframework.http.Cookie
-
This returns the number of seconds a cookie lives for.
- getExpiry(TimeUnit) - Method in interface org.simpleframework.util.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.
- getFile() - Method in interface org.simpleframework.http.resource.Index
-
This is used to acquire the
Filereference for the index target. - getFile(String) - Method in interface org.simpleframework.http.resource.Context
-
This is used to translate the HTTP request URI into the
Fileobject that it represents. - getFile(String) - Method in class org.simpleframework.http.resource.FileContext
-
This is used to translate the HTTP request URI into the
Fileobject that it represents. - 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.
- getForm() - Method in interface org.simpleframework.http.Request
-
This is used to acquire all the form parameters from the HTTP request.
- getForm() - Method in class org.simpleframework.http.RequestWrapper
-
This is used to acquire all the form parameters from the HTTP request.
- getHeader(String) - Method in interface org.simpleframework.http.Part
-
This is used to acquire the header value for the specified header name.
- getIndex(String) - Method in interface org.simpleframework.http.resource.Context
-
This is an all in one method that allows all the information on the target URI to be gathered at once.
- getIndex(String) - Method in class org.simpleframework.http.resource.FileContext
-
This is an all in one method that allows all the information on the target URI to be gathered at once.
- getInputStream() - Method in interface org.simpleframework.http.Part
-
This is used to acquire an
InputStreamfor the part. - getInputStream() - Method in interface org.simpleframework.http.Request
-
This is used to read the content body.
- getInputStream() - Method in class org.simpleframework.http.RequestWrapper
-
This is used to read the content body.
- getInputStream() - Method in class org.simpleframework.util.buffer.ArrayBuffer
-
This method is used so that the buffer can be represented as a stream of bytes.
- getInputStream() - Method in class org.simpleframework.util.buffer.BufferAllocator
-
This method is used so that a buffer can be represented as a stream of bytes.
- getInputStream() - Method in interface org.simpleframework.util.buffer.Stream
-
This method is used so that a buffer can be represented as a stream of bytes.
- getInteger(Object) - Method in class org.simpleframework.http.parse.QueryParser
-
This extracts an integer parameter for the named value.
- getInteger(Object) - Method in interface org.simpleframework.http.Query
-
This extracts an integer parameter for the named value.
- getInteger(String) - Method in interface org.simpleframework.http.RequestHeader
-
This can be used to get the integer of the first message header that has the specified name.
- getInteger(String) - Method in class org.simpleframework.http.RequestWrapper
-
This can be used to get the integer of the first message header that has the specified name.
- getInteger(String) - Method in interface org.simpleframework.http.ResponseHeader
-
This can be used to get the value of the first message header that has the specified name.
- getInteger(String) - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to get the value of the first message header that has the specified name.
- getKey() - Method in interface org.simpleframework.util.lease.Lease
-
Provides the key for the resource that this lease represents.
- getKeys() - Method in class org.simpleframework.util.KeyMap
-
This is used to produce a
Listof the keys in the map. - getLease() - Method in interface org.simpleframework.http.session.Session
-
This is used to acquire the
Leaseobject to control the session. - 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.
- getMajor() - Method in interface org.simpleframework.http.RequestLine
-
This can be used to get the major number from a HTTP version.
- getMajor() - Method in class org.simpleframework.http.RequestWrapper
-
This can be used to get the major number from a HTTP version.
- getMajor() - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to get the major number from a HTTP version.
- getMajor() - Method in interface org.simpleframework.http.StatusLine
-
This can be used to get the major number from a HTTP version.
- getMethod() - Method in interface org.simpleframework.http.RequestLine
-
This can be used to get the HTTP method for this request.
- getMethod() - Method in class org.simpleframework.http.RequestWrapper
-
This can be used to get the HTTP method for this request.
- getMinor() - Method in interface org.simpleframework.http.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 class org.simpleframework.http.Cookie
-
This returns the name for this cookie.
- getName() - Method in class org.simpleframework.http.parse.PathParser
-
This will return the full name of the file without the path.
- getName() - Method in class org.simpleframework.http.parse.PrincipalParser
-
Gets the users name from the Authorization header value.
- getName() - Method in interface org.simpleframework.http.Part
-
This method is used to acquire the name of the part.
- getName() - Method in interface org.simpleframework.http.Path
-
This will return the full name of the file without the path.
- getName() - Method in interface org.simpleframework.http.Principal
-
The
getNamemethod is used to retreive the name of the principal. - getName() - Method in interface org.simpleframework.http.resource.Index
-
This allows the name for this object to be acquired.
- getName() - Method in class org.simpleframework.util.thread.Daemon
-
This is used to acquire the name of the thread.
- getName(String) - Method in interface org.simpleframework.http.resource.Context
-
This will parse and return the file name that this request URI references.
- getName(String) - Method in class org.simpleframework.http.resource.FileContext
-
This will parse and return the file name that this request URI references.
- getNames() - Method in interface org.simpleframework.http.RequestHeader
-
This method is used to get a
Listof the names for the headers. - getNames() - Method in class org.simpleframework.http.RequestWrapper
-
This method is used to get a
Listof the names for the headers. - getNames() - Method in interface org.simpleframework.http.ResponseHeader
-
This is used to acquire the names of the of the headers that have been set in the response.
- getNames() - Method in class org.simpleframework.http.ResponseWrapper
-
This is used to acquire the names of the of the headers that have been set in the response.
- getOutputStream() - Method in interface org.simpleframework.http.Response
-
Used to write a message body with the
Response. - getOutputStream() - Method in class org.simpleframework.http.ResponseWrapper
-
Used to write a message body with the
Response. - getOutputStream(int) - Method in interface org.simpleframework.http.Response
-
Used to write a message body with the
Response. - getOutputStream(int) - Method in class org.simpleframework.http.ResponseWrapper
-
Used to write a message body with the
Response. - getParameter(String) - Method in interface org.simpleframework.http.ContentType
-
This is used to retrieve an arbitrary parameter from the MIME type header.
- getParameter(String) - Method in class org.simpleframework.http.parse.ContentParser
-
This is used to retrieve an arbitrary parameter from the MIME type header.
- getParameter(String) - Method in interface org.simpleframework.http.Request
-
This is used to provide quick access to the parameters.
- getParameter(String) - Method in class org.simpleframework.http.RequestWrapper
-
This is used to provide quick access to the parameters.
- getParameters() - Method in interface org.simpleframework.http.Address
-
This extracts the parameter values from the uniform resource identifier represented by this object.
- getParameters() - Method in class org.simpleframework.http.parse.AddressParser
-
This extracts the parameter values from the uniform resource identifier represented by this object.
- getPart(String) - Method in interface org.simpleframework.http.Form
-
This method is used to acquire a
Partfrom the form using a known name for the part. - getPart(String) - Method in interface org.simpleframework.http.Request
-
This method is used to acquire a
Partfrom the form using a known name for the part. - getPart(String) - Method in class org.simpleframework.http.RequestWrapper
-
This method is used to acquire a
Partfrom the form using a known name for the part. - getParts() - Method in interface org.simpleframework.http.Form
-
This method provides all parts for this
Form. - getPassword() - Method in class org.simpleframework.http.parse.PrincipalParser
-
Gets the users password parsed from the Authorization header value.
- getPassword() - Method in interface org.simpleframework.http.Principal
-
The
getPasswordmethod is used to retrieve the password of the principal. - getPath() - Method in interface org.simpleframework.http.Address
-
This is used to retrieve the path of this URI.
- getPath() - Method in class org.simpleframework.http.Cookie
-
This returns the path for this cookie.
- getPath() - Method in class org.simpleframework.http.parse.AddressParser
-
This is used to retrive 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() - Method in interface org.simpleframework.http.resource.Index
-
This is used to acquire the
Pathobject that exposes various parts of the URI path. - 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.
- getPath(String) - Method in interface org.simpleframework.http.resource.Context
-
This is used to translate the HTTP request URI into the
Pathobject that it represents. - getPath(String) - Method in class org.simpleframework.http.resource.FileContext
-
This is used to translate the HTTP request URI into the
Pathobject that it represents. - 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 retrive 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.ContentParser
-
This is used to retrieve the primary type of this MIME type.
- getPrintStream() - Method in interface org.simpleframework.http.Response
-
This method is provided for convenience so that the HTTP content can be written using the
printmethods provided by thePrintStream. - getPrintStream() - Method in class org.simpleframework.http.ResponseWrapper
-
This method is provided for convenience so that the HTTP content can be written using the
printmethods provided by thePrintStream. - getPrintStream(int) - Method in interface org.simpleframework.http.Response
-
This method is provided for convenience so that the HTTP content can be written using the
printmethods provided by thePrintStream. - getPrintStream(int) - Method in class org.simpleframework.http.ResponseWrapper
-
This method is provided for convenience so that the HTTP content can be written using the
printmethods provided by thePrintStream. - getQuery() - Method in interface org.simpleframework.http.Address
-
This is used to retrieve the query of this URI.
- getQuery() - Method in 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.
- getRealPath() - Method in interface org.simpleframework.http.resource.Index
-
This is used to get the path that this object refers to.
- getRealPath(String) - Method in interface org.simpleframework.http.resource.Context
-
This is used to translate the HTTP request URI into the OS specific path that it represents.
- getRealPath(String) - Method in class org.simpleframework.http.resource.FileContext
-
This is used to translate the HTTP request URI into the OS specific path that it represents.
- 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.
- getRequestPath() - Method in interface org.simpleframework.http.resource.Index
-
This is used to acquire the normalized URI style path for the index target.
- getRequestPath(String) - Method in interface org.simpleframework.http.resource.Context
-
This is used to translate the HTTP request URI into the URI path normalized and without query or parameter parts.
- getRequestPath(String) - Method in class org.simpleframework.http.resource.FileContext
-
This is used to translate the HTTP request URI into the URI path normalized and without query or parameter parts.
- 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.
- 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.ContentParser
-
This is used to retrieve the secondary type of this MIME type.
- getSecure() - Method in class org.simpleframework.http.Cookie
-
This determines whether the cookie is secure.
- 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 interface org.simpleframework.http.Request
-
This method is used to acquire a
Sessionfor the request. - getSession() - Method in class org.simpleframework.http.RequestWrapper
-
This method is used to acquire a
Sessionfor the request. - getSession(boolean) - Method in interface org.simpleframework.http.Request
-
This method is used to acquire a
Sessionfor the request. - getSession(boolean) - Method in class org.simpleframework.http.RequestWrapper
-
This method is used to acquire a
Sessionfor the 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.ResponseWrapper
-
This can be used to retrieve the text of a HTTP status line.
- getText() - Method in interface org.simpleframework.http.StatusLine
-
This can be used to retrieve the text of a HTTP status line.
- 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.
- getValue() - Method in class org.simpleframework.http.Cookie
-
This returns the value for this cookie.
- 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.
- getValues() - Method in class org.simpleframework.util.KeyMap
-
This is used to produce a
Listof the values in the map. - 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.
- getVersion() - Method in class org.simpleframework.http.Cookie
-
This returns the version for this cookie.
- GONE - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client that the resource has gone.
H
- handle(Request, Response) - Method in interface org.simpleframework.http.core.Container
-
Used to pass the
RequestandResponseto the container for processing. - handle(Request, Response) - Method in interface org.simpleframework.http.resource.Resource
-
This acts as the main processing method for the resources.
- handle(Request, Response) - Method in class org.simpleframework.http.resource.ResourceContainer
-
This method is where most of the work is done to retrieve the
Resourceand process the HTTP request.
I
- Index - Interface in org.simpleframework.http.resource
-
The
Indexobject is used to represent the properties a URI can contain. - init() - Method in class org.simpleframework.http.parse.AddressParser
-
This will empty each tokens cache.
- init() - Method in class org.simpleframework.http.parse.ContentParser
-
This will initialize the parser when it is ready to parse a new
String. - init() - Method in class org.simpleframework.http.parse.CookieParser
-
Resets the cookie and the buffer variables for this
CookieParser. - init() - Method in class org.simpleframework.http.parse.DateParser
-
This is used to reset the date and the buffer variables for this
DateParser. - init() - Method in class org.simpleframework.http.parse.ListParser
-
Initializes the parser so that tokens can be extracted from the list.
- init() - Method in class org.simpleframework.http.parse.PathParser
-
This will initialize the parser so that it is in a ready state.
- init() - Method in class org.simpleframework.http.parse.PrincipalParser
-
This will initialize the
Parserwhen it is ready to parse a newString. - init() - Method in class org.simpleframework.http.parse.QueryParser
-
This initializes the parser so that it can be used several times.
- init() - Method in class org.simpleframework.util.parse.Parser
-
This will initialize the
Parserwhen it is ready to parse a newString. - INTERNAL_SERVER_ERROR - Enum constant in enum class org.simpleframework.http.Status
-
This is sent when the request has caused an internal server error.
- interrupt() - Method in class org.simpleframework.util.thread.Daemon
-
This is used to interrupt the internal thread.
- isCommitted() - Method in interface org.simpleframework.http.Response
-
This can be used to determine whether the
Responsehas been committed. - isCommitted() - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to determine whether the
Responsehas been committed. - isEmpty() - Method in class org.simpleframework.util.parse.MapParser
-
This method is used to determine whether the parser has any tokens available.
- isFile() - Method in interface org.simpleframework.http.Part
-
This method is used to determine the type of a part.
- isKeepAlive() - Method in interface org.simpleframework.http.Request
-
This is a convenience method that is used to determine whether or not this message has the
Connection: closeheader. - isKeepAlive() - Method in class org.simpleframework.http.RequestWrapper
-
This is a convenience method that is used to determine whether or not this message has the
Connection: closeheader. - isNew() - Method in class org.simpleframework.http.Cookie
-
This is used to determine if the cookie is new.
- isOpen() - Method in interface org.simpleframework.transport.Cursor
-
Determines whether the cursor is still open.
- isOpen() - Method in class org.simpleframework.transport.TransportCursor
-
Determines whether the cursor is still open.
- isReady() - Method in interface org.simpleframework.transport.Cursor
-
Determines whether the cursor is ready for reading.
- isReady() - Method in class org.simpleframework.transport.TransportCursor
-
Determines whether the cursor is ready for reading.
- isSecure() - Method in 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.
- isStarted() - Method in class org.simpleframework.util.thread.Daemon
-
This is used to determine if the daemon has already started.
- iterator() - Method in class org.simpleframework.http.parse.CookieParser
-
This is used to acquire the cookie values from the provided the provided source text.
- iterator() - Method in class org.simpleframework.util.KeyMap
-
This is used to produce an
Iteratorof values that can be used to acquire the contents of the key map within a for each loop.
J
- join() - Method in class org.simpleframework.util.thread.Daemon
-
This is used to join with the internal thread of this daemon.
K
- KeyMap<T> - Class in org.simpleframework.util
-
The
KeyMapobject is used to represent a map of values keyed using a known string. - KeyMap() - Constructor for class org.simpleframework.util.KeyMap
-
Constructor for the
KeyMapobject. - keySet() - Method in class org.simpleframework.util.parse.MapParser
-
This is used to acquire the names for all the tokens that have currently been collected by this parser.
L
- LanguageParser - Class in org.simpleframework.http.parse
-
LanguageParser is used to parse the HTTP
Accept-Languageheader. - LanguageParser() - Constructor for class org.simpleframework.http.parse.LanguageParser
-
This is used to create a
LanguageParserfor theAccept-LanguageHTTP header value. - LanguageParser(String) - Constructor for class org.simpleframework.http.parse.LanguageParser
-
This is used to create a
LanguageParserfor theAccept-LanguageHTTP header value. - LanguageParser(List) - Constructor for class org.simpleframework.http.parse.LanguageParser
-
This is used to create a
LanguageParserfor theAccept-LanguageHTTP header value. - lease(T, long, TimeUnit) - Method in class org.simpleframework.util.lease.LeaseManager
-
This method will issue a
Leaseobject that can be used to manage the release of a keyed resource. - lease(T, long, TimeUnit) - Method in interface org.simpleframework.util.lease.LeaseProvider
-
This method will issue a
Leaseobject that can be used to manage the release of a keyed resource. - Lease<T> - Interface in org.simpleframework.util.lease
-
The
Leaseobject is used to keep a keyed resource active. - LeaseException - Exception Class in org.simpleframework.util.lease
-
The
LeaseExceptionis used to indicate that some operation failed when using the lease after the lease duration has expired. - LeaseException(String, Object...) - Constructor for exception class org.simpleframework.util.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.util.lease
-
The
LeaseManageris used to issue a lease for a named resource. - LeaseManager(Cleaner) - Constructor for class org.simpleframework.util.lease.LeaseManager
-
Constructor for the
LeaseManagerobject. - LeaseMap<T> - Class in org.simpleframework.util.lease
-
The
LeaseMapobject is used to map lease keys to the lease objects managing those objects. - LeaseMap() - Constructor for class org.simpleframework.util.lease.LeaseMap
-
Constructor for the
LeaseMapobject. - LeaseMap(int) - Constructor for class org.simpleframework.util.lease.LeaseMap
-
Constructor for the
LeaseMapobject. - LeaseProvider<T> - Interface in org.simpleframework.util.lease
-
The
LeaseProvideris used to issue a lease for a named resource. - length() - Method in class org.simpleframework.util.parse.ParseBuffer
-
This will return the number of bytes that have been appended to the
ParseBuffer. - LENGTH_REQUIRED - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client that a request length is needed.
- limit - Variable in class org.simpleframework.util.buffer.FilterAllocator
-
This is the maximum number of bytes that can be allocated.
- list() - Method in class org.simpleframework.http.parse.ListParser
-
This will build an ordered list of values extracted from the comma separated header value.
- ListParser<T> - Class in org.simpleframework.http.parse
-
The
ListParseris used to extract a comma separated list of HTTP header values. - ListParser() - Constructor for class org.simpleframework.http.parse.ListParser
-
Constructor for the
ListParser. - ListParser(String) - Constructor for class org.simpleframework.http.parse.ListParser
-
Constructor for the
ListParser. - ListParser(List) - Constructor for class org.simpleframework.http.parse.ListParser
-
Constructor for the
ListParser.
M
- map - Variable in class org.simpleframework.util.parse.MapParser
-
Represents the last value inserted into this map instance.
- MapParser<T> - Class in org.simpleframework.util.parse
-
The
MapParserobject represents a parser for name value pairs. - MapParser() - Constructor for class org.simpleframework.util.parse.MapParser
-
Constructor for the
MapParserobject. - METHOD_NOT_ALLOWED - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client that the method is not allowed.
- MOVED_PERMANENTLY - Enum constant in enum class org.simpleframework.http.Status
-
This is used to represent a target resource that has moved.
- MULTIPLE_CHOICES - Enum constant in enum class org.simpleframework.http.Status
-
This is used to represent a response where there are choices.
N
- NO_CONTENT - Enum constant in enum class org.simpleframework.http.Status
-
This represents a response that contains no response content.
- NOT_ACCEPTABLE - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client the request is not acceptable.
- NOT_FOUND - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client that the resource is not found.
- NOT_IMPLEMENTED - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client the resource is not implemented.
- NOT_MODIFIED - Enum constant in enum class org.simpleframework.http.Status
-
This is used in response to a target that has not been modified.
O
- Observer<T> - Interface in org.simpleframework.http.session
-
The
Observerinterface is used to observe the session activity within the session manager. - off - Variable in class org.simpleframework.util.parse.Parser
-
This represents the current read offset.
- OK - Enum constant in enum class org.simpleframework.http.Status
-
This represents a successful response of a targeted request.
- open(T) - Method in class org.simpleframework.http.session.SessionManager
-
This
openmethod is used to either open an existing session or create a new session if one does not exist. - open(T) - Method in interface org.simpleframework.http.session.SessionProvider
-
This
openmethod is used to either open an existing session or create a new session if one does not exist. - open(T, boolean) - Method in class org.simpleframework.http.session.SessionManager
-
This
openmethod is used to either open an existing session or create a new session if requested. - open(T, boolean) - Method in interface org.simpleframework.http.session.SessionProvider
-
This
openmethod is used to either open an existing session or create a new session if requested. - Operation - Interface in org.simpleframework.transport.reactor
-
The
Operationinterface is used to describe a task that can be executed when the associated channel is ready for some operation. - org.simpleframework.http - package org.simpleframework.http
- org.simpleframework.http.core - package org.simpleframework.http.core
- org.simpleframework.http.parse - package org.simpleframework.http.parse
- org.simpleframework.http.resource - package org.simpleframework.http.resource
- org.simpleframework.http.session - package org.simpleframework.http.session
- 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.util - package org.simpleframework.util
- org.simpleframework.util.buffer - package org.simpleframework.util.buffer
- org.simpleframework.util.lease - package org.simpleframework.util.lease
- org.simpleframework.util.parse - package org.simpleframework.util.parse
- org.simpleframework.util.thread - package org.simpleframework.util.thread
P
- parse() - Method in class org.simpleframework.http.parse.AddressParser
-
This will check to see what type of URI this is if it is an
absoluteURIor arelativeURI. - parse() - Method in class org.simpleframework.http.parse.ContentParser
-
Reads and parses the MIME type from the given
Stringobject. - parse() - Method in class org.simpleframework.http.parse.CookieParser
-
This will extract the next
Cookiefrom the buffer. - parse() - Method in class org.simpleframework.http.parse.DateParser
-
This is used to parse the contents of the
buf. - parse() - Method in class org.simpleframework.http.parse.ListParser
-
This ensures that tokens are taken from the comma separated list as long as there bytes left to be examined within the source text.
- parse() - Method in class org.simpleframework.http.parse.PathParser
-
This will parse the path in such a way that it ensures that at no stage there are trailing back references, using path normalization.
- parse() - Method in class org.simpleframework.http.parse.PrincipalParser
-
Used to parse the actual header data.
- parse() - Method in class org.simpleframework.http.parse.QueryParser
-
This performs the actual parsing of the parameter text.
- parse() - Method in class org.simpleframework.util.parse.Parser
-
This is the method that should be implemented to read the buf.
- 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.util.parse.Parser
-
This is used to parse the
Stringgiven to it. - parse(List) - Method in class org.simpleframework.http.parse.ListParser
-
This allows multiple header values to be represented as one single comma separated list.
- ParseBuffer - Class in org.simpleframework.util.parse
-
This is primarily used to replace the
StringBufferclass, as a way for theParserto store the char's for a specific region within the parse data that constitutes a desired value. - ParseBuffer() - Constructor for class org.simpleframework.util.parse.ParseBuffer
-
Constructor for
ParseBuffer. - ParseBuffer(int) - Constructor for class org.simpleframework.util.parse.ParseBuffer
-
This creates a
ParseBufferwith a specific default size. - Parser - Class in org.simpleframework.util.parse
-
This
Parserobject is to be used as a simple template for parsing uncomplicated expressions. - Parser() - Constructor for class org.simpleframework.util.parse.Parser
-
This is a no argument constructor for the
Parser. - Part - Interface in org.simpleframework.http
-
The
Partobject is used to represent a part within a request message. - PARTIAL_CONTENT - Enum constant in enum class org.simpleframework.http.Status
-
This is used to represent a response that has partial content.
- Path - Interface in org.simpleframework.http
-
The
Pathrepresents the path part of a URI. - PathParser - Class in org.simpleframework.http.parse
-
This is used to parse a path given as part of a URI.
- PathParser() - Constructor for class org.simpleframework.http.parse.PathParser
-
The default constructor will create a
PathParserthat contains no specifics. - PathParser(String) - Constructor for class org.simpleframework.http.parse.PathParser
-
This is primarily a convineance constructor.
- PAYMENT_REQUIRED - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client that payment is required.
- PoolExecutor - Class in org.simpleframework.util.thread
-
The
PoolExecutorobject is used to execute tasks in a thread pool. - PoolExecutor(Class) - Constructor for class org.simpleframework.util.thread.PoolExecutor
-
Constructor for the
PoolExecutorobject. - PoolExecutor(Class, int) - Constructor for class org.simpleframework.util.thread.PoolExecutor
-
Constructor for the
PoolExecutorobject. - PoolExecutor(Class, int, int) - Constructor for class org.simpleframework.util.thread.PoolExecutor
-
Constructor for the
PoolExecutorobject. - PRECONDITION_FAILED - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client that a precondition has failed.
- Principal - Interface in org.simpleframework.http
-
The
Principalinterface is used to describe a user that has a name and password. - PrincipalParser - Class in org.simpleframework.http.parse
-
PrincipalParser is a parser class for the HTTP basic authorization header.
- PrincipalParser() - Constructor for class org.simpleframework.http.parse.PrincipalParser
-
Creates a
Parserfor the basic authorization scheme. - PrincipalParser(String) - Constructor for class org.simpleframework.http.parse.PrincipalParser
-
Creates a
Parserfor the basic authorization scheme. - process(Operation) - Method in class org.simpleframework.transport.reactor.DirectReactor
-
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.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, int) - Method in class org.simpleframework.transport.reactor.DirectReactor
-
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.ExecutorReactor
-
This method is used to execute the provided operation when there is an I/O event that task is interested in.
- process(Operation, int) - Method in interface org.simpleframework.transport.reactor.Reactor
-
This method is used to execute the provided operation when there is an I/O event that task is interested in.
- process(Socket) - Method in class org.simpleframework.http.core.ContainerServer
-
Used to process the
Socketwhich is a full duplex communication link that may contain several HTTP requests. - process(Socket) - Method in class org.simpleframework.transport.ProcessorServer
-
Used to process the
Pipelinewhich is a full duplex communication link that may contain several HTTP requests. - process(Socket) - Method in interface org.simpleframework.transport.Server
-
Used to process the
Socketwhich is a full duplex communication link that may contain several HTTP requests. - process(Transport) - Method in class org.simpleframework.http.core.ContainerProcessor
-
This is used to process the requests from a provided transport and deliver a response to those requests.
- process(Transport) - Method in interface org.simpleframework.transport.Processor
-
This is used to process the requests from a provided transport and deliver a response to those requests.
- Processor - Interface in org.simpleframework.transport
-
This is the
Processorused to process HTTP requests from a connected transport. - ProcessorServer - Class in org.simpleframework.transport
-
The
ProcessorServeris used to convert pipelines to transports. - ProcessorServer(Processor) - Constructor for class org.simpleframework.transport.ProcessorServer
-
Constructor for the
ProcessorServerobject. - ProcessorServer(Processor, int) - Constructor for class org.simpleframework.transport.ProcessorServer
-
Constructor for the
ProcessorServerobject. - ProcessorServer(Processor, int, int) - Constructor for class org.simpleframework.transport.ProcessorServer
-
Constructor for the
ProcessorServerobject. - PROXY_AUTHENTICATION_REQUIRED - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client that authentication is required.
- push(byte[]) - Method in interface org.simpleframework.transport.Cursor
-
Pushes the provided data on to the cursor.
- push(byte[]) - Method in class org.simpleframework.transport.TransportCursor
-
Pushes the provided data on to the cursor.
- push(byte[], int, int) - Method in interface org.simpleframework.transport.Cursor
-
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.util.parse.MapParser
-
The
putmethod is used to insert the name and value provided into the collection of tokens. - putAll(Map) - Method in class org.simpleframework.util.parse.MapParser
-
This method is used to insert a collection of tokens into the parsers map.
Q
- Query - Interface in org.simpleframework.http
-
The
Queryobject is used to represent HTTP query parameters. - QueryParser - Class in org.simpleframework.http.parse
-
The
ParameterParseris used to parse data encoded in theapplication/x-www-form-urlencodedMIME type. - QueryParser() - Constructor for class org.simpleframework.http.parse.QueryParser
-
Constructor for the
ParameterParser. - QueryParser(String) - Constructor for class org.simpleframework.http.parse.QueryParser
-
Constructor for the
ParameterParser.
R
- Reactor - Interface in org.simpleframework.transport.reactor
-
The
Reactorinterface is used to describe an object that is used to schedule asynchronous I/O operations. - read(byte[]) - Method in interface org.simpleframework.transport.Cursor
-
Reads a block of bytes from the underlying stream.
- read(byte[]) - Method in class org.simpleframework.transport.TransportCursor
-
Reads a block of bytes from the underlying stream.
- read(byte[], int, int) - Method in interface org.simpleframework.transport.Cursor
-
Reads a block of bytes from the underlying stream.
- read(byte[], int, int) - Method in class org.simpleframework.transport.TransportCursor
-
Reads a block of bytes from the underlying stream.
- read(ByteBuffer) - Method in interface org.simpleframework.transport.Transport
-
This is used to perform a non-blocking read on the transport.
- ready() - Method in interface org.simpleframework.transport.Cursor
-
Provides the number of bytes that can be read from the stream without blocking.
- ready() - Method in class org.simpleframework.transport.TransportCursor
-
Provides the number of bytes that can be read from the stream without blocking.
- remove(Object) - Method in class org.simpleframework.util.lease.LeaseMap
-
This is used to remove the
Leaseobject that is mapped to the specified key. - remove(Object) - Method in class org.simpleframework.util.parse.MapParser
-
The
removemethod is used to remove the named token pair from the collection of tokens. - remove(String) - Method in interface org.simpleframework.http.ResponseHeader
-
This is used to remove the named header from the response.
- remove(String) - Method in class org.simpleframework.http.ResponseWrapper
-
This is used to remove the named header from the response.
- renew(long, TimeUnit) - Method in interface org.simpleframework.util.lease.Lease
-
This ensures that the leased resource is maintained for the specified number of
TimeUnitseconds. - request - Variable in class org.simpleframework.http.RequestWrapper
-
This is the request instance that is being wrapped.
- Request - Interface in org.simpleframework.http
-
The
Requestis used to provide an interface to the HTTP entity body and message header. - REQUEST_ENTITY_TOO_LARGE - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client that the request body is too big.
- REQUEST_TIMEOUT - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client that the request has timed out.
- REQUEST_URI_TOO_LONG - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client that the request URI is too long.
- REQUESTED_RANGE_NOT_SATISFIABLE - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client that the range is invalid.
- RequestHeader - Interface in org.simpleframework.http
-
This is a
Headerobject that is used to represent a basic form for the HTTP request message. - RequestLine - Interface in org.simpleframework.http
-
The
RequestLineis used to represent a HTTP request line. - RequestWrapper - Class in org.simpleframework.http
-
The
RequestWrapperobject is used so that the originalRequestobject can be wrapped in a filtering proxy object. - RequestWrapper(Request) - Constructor for class org.simpleframework.http.RequestWrapper
-
Constructor for
RequestWrapperobject. - reset() - Method in class org.simpleframework.http.parse.CookieParser
-
This is used so that the collection of
Cookiescan be reiterated. - reset() - Method in interface org.simpleframework.http.Response
-
This can be used to determine whether the
Responsehas been committed. - reset() - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to determine whether the
Responsehas been committed. - reset(int) - Method in interface org.simpleframework.transport.Cursor
-
Moves the cursor backward within the stream.
- reset(int) - Method in class org.simpleframework.transport.TransportCursor
-
Moves the cursor backward within the stream.
- reset(String) - Method in class org.simpleframework.util.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.util.parse.ParseBuffer
-
This will reset the buffer in such a way that the buffer is cleared of all contents and then has the given string appended.
- RESET_CONTENT - Enum constant in enum class org.simpleframework.http.Status
-
This is used to represent a response that resets the content.
- resolve(Address) - Method in interface org.simpleframework.http.resource.ResourceEngine
-
This will look for and retrieve the requested resource.
- Resource - Interface in org.simpleframework.http.resource
-
A
Resourceprovides an abstraction of any given object that can be retrieved using a HTTP request. - ResourceContainer - Class in org.simpleframework.http.resource
-
The
ResourceContaineris an implementation of theContainerinterface for handling an arbitrary set of resources. - ResourceContainer(ResourceEngine) - Constructor for class org.simpleframework.http.resource.ResourceContainer
-
Constructor for the
ResourceContainerobject. - ResourceEngine - Interface in org.simpleframework.http.resource
-
The
ResourceEngineis used to create implementations of theResourceinterface that suit the targeted resource. - response - Variable in class org.simpleframework.http.ResponseWrapper
-
This is the response instance that is being wrapped.
- Response - Interface in org.simpleframework.http
-
This is used to represent the HTTP response.
- ResponseHeader - Interface in org.simpleframework.http
-
The
ResponseHeaderobject is used to manipulate the header information for a given response. - ResponseWrapper - Class in org.simpleframework.http
-
The
ResponseWrapperobject is used so that the originalResponseobject can be wrapped in a filtering proxy object. - ResponseWrapper(Response) - Constructor for class org.simpleframework.http.ResponseWrapper
-
Constructor for
ResponseWrapperobject.
S
- Scheduler - Class in org.simpleframework.util.thread
-
The
Schedulerobject is used to schedule tasks for execution. - Scheduler(int) - Constructor for class org.simpleframework.util.thread.Scheduler
-
Constructor for the
Schedulerobject. - SEE_OTHER - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client to see another HTTP resource.
- Server - Interface in org.simpleframework.transport
-
The
Serverinterface represents a handler that is used to processSocketobjects. - SERVICE_UNAVAILABLE - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client the resource is unavailable.
- Session<T> - Interface in org.simpleframework.http.session
-
The
Sessionobject is a simple leased container for state within a web application. - SessionException - Exception Class in org.simpleframework.http.session
-
The
SessionExceptionis used to indicate that some operation failed when trying to access a session or when trying to perform some operation on an existing session. - SessionException(String, Object...) - Constructor for exception class org.simpleframework.http.session.SessionException
-
This constructor is used if there is a description of the event that caused the exception required.
- SessionManager<T> - Class in org.simpleframework.http.session
-
The
SessionManagerobject is used to create sessions that are active for a given time period. - SessionManager() - Constructor for class org.simpleframework.http.session.SessionManager
-
Constructor for the
SessionManagerobject. - SessionManager(long, TimeUnit) - Constructor for class org.simpleframework.http.session.SessionManager
-
Constructor for the
SessionManagerobject. - SessionManager(Observer) - Constructor for class org.simpleframework.http.session.SessionManager
-
Constructor for the
SessionManagerobject. - SessionManager(Observer, long, TimeUnit) - Constructor for class org.simpleframework.http.session.SessionManager
-
Constructor for the
SessionManagerobject. - SessionProvider<T> - Interface in org.simpleframework.http.session
-
The
SessionProviderobject is used to create sessions that are active for a given time period. - set(String, int) - Method in interface org.simpleframework.http.ResponseHeader
-
This can be used to set a HTTP message header to this object.
- set(String, int) - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to set a HTTP message header to this object.
- set(String, String) - Method in interface org.simpleframework.http.ResponseHeader
-
This can be used to set a HTTP message header to this object.
- set(String, String) - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to set a HTTP message header to this object.
- setCharset(String) - Method in interface org.simpleframework.http.ContentType
-
This will set the
charsetto whatever value the string contains. - setCharset(String) - Method in class org.simpleframework.http.parse.ContentParser
-
This will set the
charsetto whatever value the string contains. - 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.
- setContentLength(int) - Method in interface org.simpleframework.http.Response
-
This should be used when the size of the message body is known.
- setContentLength(int) - Method in class org.simpleframework.http.ResponseWrapper
-
This should be used when the size of the message body is known.
- setCookie(String, String) - Method in interface org.simpleframework.http.ResponseHeader
-
The
setCookiemethod is used to set a cookie value with the cookie name. - setCookie(String, String) - Method in class org.simpleframework.http.ResponseWrapper
-
The
setCookiemethod is used to set a cookie value with the cookie name. - setCookie(Cookie) - Method in interface org.simpleframework.http.ResponseHeader
-
The
setCookiemethod is used to set a cookie value with the cookie name. - setCookie(Cookie) - Method in class org.simpleframework.http.ResponseWrapper
-
The
setCookiemethod is used to set a cookie value with the cookie name. - setDate(String, long) - Method in interface org.simpleframework.http.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.
- setDomain(String) - Method in class org.simpleframework.http.Cookie
-
This enables the domain for this
Cookieto be set. - setDomain(String) - Method in class org.simpleframework.http.parse.AddressParser
-
This will set the domain to whatever value is in the string parameter.
- setExpiry(int) - Method in class org.simpleframework.http.Cookie
-
This allows a lifetime to be specified for the cookie.
- setMajor(int) - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to set the major number from a HTTP version.
- setMajor(int) - Method in interface org.simpleframework.http.StatusLine
-
This can be used to specify the major version.
- setMinor(int) - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to get the minor number from a HTTP version.
- setMinor(int) - Method in interface org.simpleframework.http.StatusLine
-
This can be used to specify the minor version.
- setParameter(String, String) - Method in interface org.simpleframework.http.ContentType
-
This will add a named parameter to the content type header.
- setParameter(String, String) - Method in class org.simpleframework.http.parse.ContentParser
-
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.ContentParser
-
This sets the primary type to whatever value is in the string provided is.
- 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.ContentParser
-
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.
- setText(String) - Method in class org.simpleframework.http.ResponseWrapper
-
This is used to set the text of the HTTP status line.
- setText(String) - Method in interface org.simpleframework.http.StatusLine
-
This is used to set the text of the HTTP status line.
- setValue(String) - Method in class org.simpleframework.http.Cookie
-
This enables the value of the cookie to be changed.
- setVersion(int) - Method in class org.simpleframework.http.Cookie
-
This enables the version of the
Cookieto be set. - size() - Method in class org.simpleframework.util.parse.MapParser
-
This obviously enough provides the number of tokens that have been inserted into the internal map.
- skip(String) - Method in class org.simpleframework.http.parse.CookieParser
-
This is used to skip an arbitrary
Stringwithin thecharbuf. - skip(String) - Method in class org.simpleframework.util.parse.Parser
-
This is used to skip an arbitrary
Stringwithin thecharbuf. - Socket - Interface in org.simpleframework.transport
-
This is a
Socketinterface that is used to represent a socket. - SocketConnection - Class in org.simpleframework.transport.connect
-
The
SocketConnectionis used to manage connections from a server socket. - SocketConnection(Container) - Constructor for class org.simpleframework.transport.connect.SocketConnection
-
Constructor for the
SocketConnectionobject. - SocketConnection(Server) - Constructor for class org.simpleframework.transport.connect.SocketConnection
-
Constructor for the
SocketConnectionobject. - source - Variable in class org.simpleframework.util.buffer.FilterAllocator
-
This is the allocator the underlying buffer is allocated with.
- space(char) - Method in class org.simpleframework.util.parse.Parser
-
This is used to determine if a given ISO-8859-1 character is a space character.
- start() - Method in class org.simpleframework.util.thread.Daemon
-
This is used to start the internal thread.
- Status - Enum Class in org.simpleframework.http
-
The
Statusenumeration is used to specify status codes and the descriptions of those status codes. - StatusLine - Interface in org.simpleframework.http
-
The
StatusLineis used to represent a HTTP status line. - stop() - Method in class org.simpleframework.http.core.ContainerProcessor
-
This method is used to stop the
Processorsuch that it will accept no more pipelines. - stop() - Method in class org.simpleframework.http.core.ContainerServer
-
This method is used to stop the
Processorsuch that it will accept no more pipelines. - stop() - Method in interface org.simpleframework.transport.Processor
-
This method is used to stop the
Processorsuch that it will accept no more pipelines. - stop() - Method in class org.simpleframework.transport.ProcessorServer
-
This method is used to stop the
Processorsuch that it will accept no more pipelines. - stop() - Method in class org.simpleframework.transport.reactor.DirectReactor
-
This is used to stop the reactor so that further requests to execute operations does nothing.
- 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 interface org.simpleframework.transport.Server
-
This method is used to stop the
Serversuch that it will accept no more sockets. - stop() - Method in class org.simpleframework.util.thread.PoolExecutor
-
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.util.thread.Scheduler
-
This is used to stop the executor by interrupting all running tasks and shutting down the threads within the pool.
- Stream - Interface in org.simpleframework.util.buffer
-
The
Streaminterface is used to represent anything that can be streamed.
T
- TEMPORARY_REDIRECT - Enum constant in enum class org.simpleframework.http.Status
-
This is used to redirect the client to a resource that has moved.
- toClientString() - Method in class org.simpleframework.http.Cookie
-
This will give the correct string value of this cookie.
- toLong() - Method in class org.simpleframework.http.parse.DateParser
-
This returns the date in as a
long, given the exact time this will use thejava.util.Dateto parse this date into along. - toLower(char) - Method in class org.simpleframework.util.parse.Parser
-
This takes a unicode character and assumes an encoding of ISO-8859-1.
- toString() - Method in interface org.simpleframework.http.Address
-
This is used to convert this URI object into a
Stringobject. - toString() - Method in interface org.simpleframework.http.ContentType
-
This will return the value of the MIME type as a string.
- toString() - Method in class org.simpleframework.http.Cookie
-
The
toStringmethod converts the cookie to the Set-Cookie value. - toString() - Method in class org.simpleframework.http.parse.AddressParser
-
This is used to convert this URI object into a
Stringobject. - toString() - Method in class org.simpleframework.http.parse.ContentParser
-
This will return the value of the MIME type as a string.
- toString() - Method in class org.simpleframework.http.parse.DateParser
-
This prints the date in the format of a RFC 1123 date.
- toString() - Method in class org.simpleframework.http.parse.PathParser
-
This will return the normalized path.
- toString() - Method in class org.simpleframework.http.parse.QueryParser
-
This
toStringmethod is used to compose an string in theapplication/x-www-form-urlencodedMIME type. - toString() - Method in interface org.simpleframework.http.Path
-
This will return the normalized path.
- toString() - Method in interface org.simpleframework.http.Query
-
This will return all parameters represented using the HTTP URL query format.
- toString() - Method in class org.simpleframework.util.parse.ParseBuffer
-
This will return the characters that have been appended to the
ParseBufferas aStringobject. - toString(Set) - Method in class org.simpleframework.http.parse.QueryParser
-
This
toStringmethod is used to compose an string in theapplication/x-www-form-urlencodedMIME type. - Transport - Interface in org.simpleframework.transport
-
The
Transportinterface represents a low level means to deliver content to the connected client. - TransportCursor - Class in org.simpleframework.transport
-
The
TransportCursorobject represents a cursor that can read and buffer data from an underlying transport. - TransportCursor(Transport) - Constructor for class org.simpleframework.transport.TransportCursor
-
Constructor for the
TransportCursorobject. - TransportCursor(Transport, int) - Constructor for class org.simpleframework.transport.TransportCursor
-
Constructor for the
TransportCursorobject. - TransportException - Exception Class in org.simpleframework.transport
-
The
TransportExceptionobject is thrown when there is a problem with the transport. - TransportException(String) - Constructor for exception class org.simpleframework.transport.TransportException
-
Constructor for the
TransportExceptionobject. - TransportException(String, Throwable) - Constructor for exception class org.simpleframework.transport.TransportException
-
Constructor for the
TransportExceptionobject.
U
- UNAUTHORIZED - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client that authorization is required.
- UNSUPPORTED_MEDIA_TYPE - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client that the content type is invalid.
- USE_PROXY - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client that it should use a proxy.
V
- valueOf(String) - Static method in enum class org.simpleframework.http.Status
-
Returns the enum constant of this class with the specified name.
- ValueParser - Class in org.simpleframework.http.parse
-
The
ValueParseris used to extract a comma separated list of HTTP header values. - ValueParser() - Constructor for class org.simpleframework.http.parse.ValueParser
-
Constructor for the
ValueParser. - ValueParser(String) - Constructor for class org.simpleframework.http.parse.ValueParser
-
Constructor for the
ValueParser. - ValueParser(List) - Constructor for class org.simpleframework.http.parse.ValueParser
-
Constructor for the
ValueParser. - values() - Static method in enum class org.simpleframework.http.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in class org.simpleframework.util.parse.MapParser
-
This method is used to acquire the value for all tokens that have currently been collected by this parser.
- VERSION_NOT_SUPPORTED - Enum constant in enum class org.simpleframework.http.Status
-
This is used to tell the client the request version is invalid.
W
- write(ByteBuffer) - Method in interface org.simpleframework.transport.Transport
-
This method is used to deliver the provided buffer of bytes to the underlying transport.
All Classes and Interfaces|All Packages|Serialized Form