A B C D E F G H I J K L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ACCEPTED - 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
Address
interface is used to represent a generic uniform resource identifier. - AddressParser - Class in org.simpleframework.http.parse
-
This parser is used to parse uniform resource identifiers.
- AddressParser() - Constructor for class org.simpleframework.http.parse.AddressParser
-
Default constructor will create a
AddressParser
that contains no specifics. - AddressParser(String) - Constructor for class org.simpleframework.http.parse.AddressParser
-
This is primarily a convenience constructor.
- 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
Allocator
interface 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
char
to the end of the buffer. - append(char[], int, int) - Method in class org.simpleframework.util.parse.ParseBuffer
-
This will add a
char
to the end of the buffer. - append(String) - Method in class org.simpleframework.util.parse.ParseBuffer
-
This will add a
String
to the end of the buffer. - append(String, int, int) - Method in class org.simpleframework.util.parse.ParseBuffer
-
This will add a
String
to the end of the buffer. - append(ParseBuffer) - Method in class org.simpleframework.util.parse.ParseBuffer
-
This will add a
ParseBuffer
to the end of this. - append(ParseBuffer, int, int) - Method in class org.simpleframework.util.parse.ParseBuffer
-
This will add a
ParseBuffer
to the end of this. - ArrayAllocator - Class in org.simpleframework.util.buffer
-
The
ArrayAllocator
object 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
ArrayAllocator
object. - ArrayAllocator(int) - Constructor for class org.simpleframework.util.buffer.ArrayAllocator
-
Constructor for the
ArrayAllocator
object. - ArrayAllocator(int, int) - Constructor for class org.simpleframework.util.buffer.ArrayAllocator
-
Constructor for the
ArrayAllocator
object. - ArrayBuffer - Class in org.simpleframework.util.buffer
-
The
ArrayBuffer
is intended to be a general purpose byte buffer that stores bytes in an single internal byte array. - ArrayBuffer() - Constructor for class org.simpleframework.util.buffer.ArrayBuffer
-
Constructor for the
ArrayBuffer
object. - ArrayBuffer(int) - Constructor for class org.simpleframework.util.buffer.ArrayBuffer
-
Constructor for the
ArrayBuffer
object. - ArrayBuffer(int, int) - Constructor for class org.simpleframework.util.buffer.ArrayBuffer
-
Constructor for the
ArrayBuffer
object.
B
- BAD_GATEWAY - org.simpleframework.http.Status
-
This is used to tell the client that the gateway is invalid.
- BAD_REQUEST - org.simpleframework.http.Status
-
This is used to tell the client they have send an invalid request.
- 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
Buffer
interface represents a collection of bytes that can be written to and later read. - BufferAllocator - Class in org.simpleframework.util.buffer
-
The
BufferAllocator
object is used to provide a means to allocate buffers using a single underlying buffer. - BufferAllocator(Allocator) - Constructor for class org.simpleframework.util.buffer.BufferAllocator
-
Constructor for the
BufferAllocator
object. - BufferAllocator(Allocator, int) - Constructor for class org.simpleframework.util.buffer.BufferAllocator
-
Constructor for the
BufferAllocator
object. - BufferAllocator(Allocator, int, int) - Constructor for class org.simpleframework.util.buffer.BufferAllocator
-
Constructor for the
BufferAllocator
object. - BufferException - Exception in org.simpleframework.util.buffer
-
The
BufferException
is used to report problems that can occur during the use or allocation of a buffer. - BufferException(String, Object...) - Constructor for exception org.simpleframework.util.buffer.BufferException
-
Constructor for the
BufferException
object.
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<T>) - 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
Cleaner
represents 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
clear
method 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
ParseBuffer
so that thetoString
parameter 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
close
method is used to close the manager and release all resources associated with it. - close() - Method in interface org.simpleframework.http.session.SessionProvider
-
This
close
method 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 - org.simpleframework.http.Status
-
This is used to tell the client that there has been a conflict.
- connect(SocketAddress) - Method in interface org.simpleframework.transport.connect.Connection
-
This creates a new background task that will listen to the specified
ServerAddress
for incoming TCP connect requests. - connect(SocketAddress) - Method in class org.simpleframework.transport.connect.SocketConnection
-
This creates a new background task that will listen to the specified
ServerAddress
for incoming TCP connect requests. - connect(SocketAddress, SSLContext) - Method in interface org.simpleframework.transport.connect.Connection
-
This creates a new background task that will listen to the specified
ServerAddress
for incoming TCP connect requests. - connect(SocketAddress, SSLContext) - Method in class org.simpleframework.transport.connect.SocketConnection
-
This creates a new background task that will listen to the specified
ServerAddress
for incoming TCP connect requests. - Connection - Interface in org.simpleframework.transport.connect
-
The
Connection
object is used to manage connections from a server socket. - Container - Interface in org.simpleframework.http.core
-
The
Container
object is used to process HTTP requests and compose HTTP responses. - ContainerProcessor - Class in org.simpleframework.http.core
-
The
ContainerProcessor
object 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
ContainerProcessor
object. - ContainerProcessor(Container, Allocator, int, int) - Constructor for class org.simpleframework.http.core.ContainerProcessor
-
Constructor for the
ContainerProcessor
object. - ContainerServer - Class in org.simpleframework.http.core
-
The
ContainerServer
object provides a processor that dispatch requests from a connected pipeline. - ContainerServer(Container) - Constructor for class org.simpleframework.http.core.ContainerServer
-
Constructor for the
ContainerServer
object. - ContainerServer(Container, int) - Constructor for class org.simpleframework.http.core.ContainerServer
-
Constructor for the
ContainerServer
object. - ContainerServer(Container, Allocator) - Constructor for class org.simpleframework.http.core.ContainerServer
-
Constructor for the
ContainerServer
object. - ContainerServer(Container, Allocator, int) - Constructor for class org.simpleframework.http.core.ContainerServer
-
Constructor for the
ContainerServer
object. - 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
ContentParser
that 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
Context
interface 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
Cookie
that does not need the name or value to be set. - Cookie(String, String) - Constructor for class org.simpleframework.http.Cookie
-
Constructor of the
Cookie
that uses a default version of 1, which is used by RFC 2109. - Cookie(String, String, boolean) - Constructor for class org.simpleframework.http.Cookie
-
Constructor of the
Cookie
that uses a default version of 1, which is used by RFC 2109. - Cookie(String, String, String) - Constructor for class org.simpleframework.http.Cookie
-
Constructor of the
Cookie
that uses a default version of 1, which is used by RFC 2109. - Cookie(String, String, String, boolean) - Constructor for class org.simpleframework.http.Cookie
-
Constructor of the
Cookie
that uses a default version of 1, which is used by RFC 2109. - CookieParser - Class in org.simpleframework.http.parse
-
CookieParser is used to parse the cookie header.
- CookieParser() - Constructor for class org.simpleframework.http.parse.CookieParser
-
Create a
CookieParser
that contains no cookies. - CookieParser(String) - Constructor for class org.simpleframework.http.parse.CookieParser
-
This is primarily a convineance constructor.
- 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<T>) - Method in interface org.simpleframework.http.session.Observer
-
This method is called after the session has been created but before it is used.
- CREATED - org.simpleframework.http.Status
-
This is used to signify that a resource was created successfully.
- Cursor - Interface in org.simpleframework.transport
-
The
Cursor
object is used to acquire bytes from a given source.
D
- Daemon - Class in org.simpleframework.util.thread
-
The
Daemon
object provides a named daemon thread which will execute therun
method when started. - Daemon() - Constructor for class org.simpleframework.util.thread.Daemon
-
Constructor for the
Daemon
object. - DateParser - Class in org.simpleframework.http.parse
-
This is used to create a
Parser
for the HTTP date format. - DateParser() - Constructor for class org.simpleframework.http.parse.DateParser
-
The default constructor will create a parser that can parse
String
s that contain dates in the form of RFC 1123, RFC 850 or asctime. - DateParser(long) - Constructor for class org.simpleframework.http.parse.DateParser
-
This constructor will conveniently parse the
long
argument in the constructor. - DateParser(String) - Constructor for class org.simpleframework.http.parse.DateParser
-
This constructor will conveniently parse the
String
argument in the constructor. - 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
DirectExecutor
object is used for synchronous execution of tasks. - DirectExecutor() - Constructor for class org.simpleframework.util.thread.DirectExecutor
- DirectReactor - Class in org.simpleframework.transport.reactor
-
The
DirectReactor
object 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
DirectReactor
object. - DirectReactor(boolean) - Constructor for class org.simpleframework.transport.reactor.DirectReactor
-
Constructor for the
DirectReactor
object.
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
Runnable
within the current thread. - execute(Runnable) - Method in class org.simpleframework.util.thread.PoolExecutor
-
The
execute
method 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
ExecutorReactor
is used to schedule operation for execution using anExecutor
implementation. - ExecutorReactor(Executor) - Constructor for class org.simpleframework.transport.reactor.ExecutorReactor
-
Constructor for the
ExecutorReactor
object. - ExecutorReactor(Executor, int) - Constructor for class org.simpleframework.transport.reactor.ExecutorReactor
-
Constructor for the
ExecutorReactor
object. - ExecutorReactor(Executor, int, long) - Constructor for class org.simpleframework.transport.reactor.ExecutorReactor
-
Constructor for the
ExecutorReactor
object. - EXPECTATION_FAILED - 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
FileAllocator
object 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
FileAllocator
object. - FileAllocator(int) - Constructor for class org.simpleframework.util.buffer.FileAllocator
-
Constructor for the
FileAllocator
object. - FileAllocator(String) - Constructor for class org.simpleframework.util.buffer.FileAllocator
-
Constructor for the
FileAllocator
object. - FileAllocator(String, int) - Constructor for class org.simpleframework.util.buffer.FileAllocator
-
Constructor for the
FileAllocator
object. - FileContext - Class in org.simpleframework.http.resource
-
The
FileContext
provides an implementation of theContext
object 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
FilterAllocator
object is used to provide a means to provide a general set of constraints around buffer allocation. - FilterAllocator(Allocator) - Constructor for class org.simpleframework.util.buffer.FilterAllocator
-
Constructor for the
FilterAllocator
object. - FilterAllocator(Allocator, int) - Constructor for class org.simpleframework.util.buffer.FilterAllocator
-
Constructor for the
FilterAllocator
object. - FilterAllocator(Allocator, int, int) - Constructor for class org.simpleframework.util.buffer.FilterAllocator
-
Constructor for the
FilterAllocator
object. - flush() - Method in interface org.simpleframework.transport.Transport
-
This method is used to flush the contents of the buffer to the client.
- FORBIDDEN - org.simpleframework.http.Status
-
This is used to tell the client that the resource is forbidden.
- Form - Interface in org.simpleframework.http
-
The
Form
interface is used to represent the details submitted with a request. - FormatException - Exception in org.simpleframework.util
-
The
FormatException
is used to create exceptions that can use a template string for the message. - FormatException(String, Object...) - Constructor for exception org.simpleframework.util.FormatException
-
Constructor for the
FormatException
this 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 org.simpleframework.util.FormatException
-
Constructor for the
FormatException
this 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 - org.simpleframework.http.Status
-
This is used to represent a resource that has been found.
G
- GATEWAY_TIMEOUT - 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
Lease
object that is mapped to the specified key. - get(Object) - Method in class org.simpleframework.util.parse.MapParser
-
The
get
method 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
List
for 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
List
for 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
Map
of 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
SelectableChannel
which 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
SocketChannel
for the connection. - getCharset() - Method in interface org.simpleframework.http.ContentType
-
This is used to retrieve the
charset
of this MIME type. - getCharset() - Method in class org.simpleframework.http.parse.ContentParser
-
This is used to retrieve the
charset
of 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 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
Index
to 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
Cookie
object stored under the specified name. - getCookie(String) - Method in class org.simpleframework.http.ResponseWrapper
-
This returns the
Cookie
object stored under the specified name. - getCookies() - Method in interface org.simpleframework.http.RequestHeader
-
This is used to acquire all cookies that were sent in the header.
- getCookies() - Method in class org.simpleframework.http.RequestWrapper
-
This is used to acquire all cookies that were sent in the header.
- getCookies() - Method in interface org.simpleframework.http.ResponseHeader
-
This returns all
Cookie
objects stored under the specified name. - getCookies() - Method in class org.simpleframework.http.ResponseWrapper
-
This returns all
Cookie
objects stored under the specified name. - 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 org.simpleframework.http.Status
-
This is used to provide the status description.
- getDescription(int) - Static method in enum org.simpleframework.http.Status
-
This is used to provide the status description.
- getDirectory() - Method in class org.simpleframework.http.parse.PathParser
-
This will return the highest directory that exists within the path.
- getDirectory() - Method in interface org.simpleframework.http.Path
-
This will return the highest directory that exists within the path.
- getDirectory() - Method in interface org.simpleframework.http.resource.Index
-
This is used to acquire the
File
directory 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
File
object 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
File
object 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
File
reference 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
File
object that it represents. - getFile(String) - Method in class org.simpleframework.http.resource.FileContext
-
This is used to translate the HTTP request URI into the
File
object 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
InputStream
for the part. - getInputStream() - Method in interface org.simpleframework.http.Request
-
This is used to read the content body.
- getInputStream() - Method in class org.simpleframework.http.RequestWrapper
-
This is used to read the content body.
- 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
List
of the keys in the map. - getLease() - Method in interface org.simpleframework.http.session.Session
-
This is used to acquire the
Lease
object 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
getName
method 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
List
of the names for the headers. - getNames() - Method in class org.simpleframework.http.RequestWrapper
-
This method is used to get a
List
of the names for the headers. - getNames() - Method in interface org.simpleframework.http.ResponseHeader
-
This is used to acquire the names of the of the headers that have been set in the response.
- getNames() - Method in class org.simpleframework.http.ResponseWrapper
-
This is used to acquire the names of the of the headers that have been set in the response.
- 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
Part
from 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
Part
from 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
Part
from 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
getPassword
method is used to retrieve the password of the principal. - getPath() - Method in interface org.simpleframework.http.Address
-
This is used to retrieve the path of this URI.
- getPath() - Method in class org.simpleframework.http.Cookie
-
This returns the path for this cookie.
- getPath() - Method in class org.simpleframework.http.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
Path
object 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
Path
object that it represents. - getPath(String) - Method in class org.simpleframework.http.resource.FileContext
-
This is used to translate the HTTP request URI into the
Path
object 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
print
methods provided by thePrintStream
. - getPrintStream() - Method in class org.simpleframework.http.ResponseWrapper
-
This method is provided for convenience so that the HTTP content can be written using the
print
methods provided by thePrintStream
. - getPrintStream(int) - Method in interface org.simpleframework.http.Response
-
This method is provided for convenience so that the HTTP content can be written using the
print
methods provided by thePrintStream
. - getPrintStream(int) - Method in class org.simpleframework.http.ResponseWrapper
-
This method is provided for convenience so that the HTTP content can be written using the
print
methods provided by thePrintStream
. - 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
Session
for the request. - getSession() - Method in class org.simpleframework.http.RequestWrapper
-
This method is used to acquire a
Session
for the request. - getSession(boolean) - Method in interface org.simpleframework.http.Request
-
This method is used to acquire a
Session
for the request. - getSession(boolean) - Method in class org.simpleframework.http.RequestWrapper
-
This method is used to acquire a
Session
for 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
List
of 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 - org.simpleframework.http.Status
-
This is used to tell the client that the resource has gone.
H
- handle(Request, Response) - Method in interface org.simpleframework.http.core.Container
-
Used to pass the
Request
andResponse
to the container for processing. - handle(Request, Response) - Method in 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
Resource
and process the HTTP request.
I
- Index - Interface in org.simpleframework.http.resource
-
The
Index
object 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
Parser
when it is ready to parse a newString
. - init() - Method in class org.simpleframework.http.parse.QueryParser
-
This initializes the parser so that it can be used several times.
- init() - Method in class org.simpleframework.util.parse.Parser
-
This will initialize the
Parser
when it is ready to parse a newString
. - INTERNAL_SERVER_ERROR - org.simpleframework.http.Status
-
This is sent when the request has caused an internal server error.
- interrupt() - Method in class org.simpleframework.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
Response
has been committed. - isCommitted() - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to determine whether the
Response
has 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: close
header. - isKeepAlive() - Method in class org.simpleframework.http.RequestWrapper
-
This is a convenience method that is used to determine whether or not this message has the
Connection: close
header. - 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
Iterator
of 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
KeyMap
object is used to represent a map of values keyed using a known string. - KeyMap() - Constructor for class org.simpleframework.util.KeyMap
-
Constructor for the
KeyMap
object. - 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-Language
header. - LanguageParser() - Constructor for class org.simpleframework.http.parse.LanguageParser
-
This is used to create a
LanguageParser
for theAccept-Language
HTTP header value. - LanguageParser(String) - Constructor for class org.simpleframework.http.parse.LanguageParser
-
This is used to create a
LanguageParser
for theAccept-Language
HTTP header value. - LanguageParser(List<String>) - Constructor for class org.simpleframework.http.parse.LanguageParser
-
This is used to create a
LanguageParser
for theAccept-Language
HTTP header value. - lease(T, long, TimeUnit) - Method in class org.simpleframework.util.lease.LeaseManager
-
This method will issue a
Lease
object that can be used to manage the release of a keyed resource. - lease(T, long, TimeUnit) - Method in interface org.simpleframework.util.lease.LeaseProvider
-
This method will issue a
Lease
object that can be used to manage the release of a keyed resource. - Lease<T> - Interface in org.simpleframework.util.lease
-
The
Lease
object is used to keep a keyed resource active. - LeaseException - Exception in org.simpleframework.util.lease
-
The
LeaseException
is used to indicate that some operation failed when using the lease after the lease duration has expired. - LeaseException(String, Object...) - Constructor for exception 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
LeaseManager
is used to issue a lease for a named resource. - LeaseManager(Cleaner<T>) - Constructor for class org.simpleframework.util.lease.LeaseManager
-
Constructor for the
LeaseManager
object. - LeaseMap<T> - Class in org.simpleframework.util.lease
-
The
LeaseMap
object 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
LeaseMap
object. - LeaseMap(int) - Constructor for class org.simpleframework.util.lease.LeaseMap
-
Constructor for the
LeaseMap
object. - LeaseProvider<T> - Interface in org.simpleframework.util.lease
-
The
LeaseProvider
is 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 - 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
ListParser
is used to extract a comma separated list of HTTP header values. - ListParser() - Constructor for class org.simpleframework.http.parse.ListParser
-
Constructor for the
ListParser
. - ListParser(String) - Constructor for class org.simpleframework.http.parse.ListParser
-
Constructor for the
ListParser
. - ListParser(List<String>) - Constructor for class org.simpleframework.http.parse.ListParser
-
Constructor for the
ListParser
.
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
MapParser
object represents a parser for name value pairs. - MapParser() - Constructor for class org.simpleframework.util.parse.MapParser
-
Constructor for the
MapParser
object. - METHOD_NOT_ALLOWED - org.simpleframework.http.Status
-
This is used to tell the client that the method is not allowed.
- MOVED_PERMANENTLY - org.simpleframework.http.Status
-
This is used to represent a target resource that has moved.
- MULTIPLE_CHOICES - org.simpleframework.http.Status
-
This is used to represent a response where there are choices.
N
- NO_CONTENT - org.simpleframework.http.Status
-
This represents a response that contains no response content.
- NOT_ACCEPTABLE - org.simpleframework.http.Status
-
This is used to tell the client the request is not acceptable.
- NOT_FOUND - org.simpleframework.http.Status
-
This is used to tell the client that the resource is not found.
- NOT_IMPLEMENTED - org.simpleframework.http.Status
-
This is used to tell the client the resource is not implemented.
- NOT_MODIFIED - org.simpleframework.http.Status
-
This is used in response to a target that has not been modified.
O
- Observer<T> - Interface in org.simpleframework.http.session
-
The
Observer
interface 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 - org.simpleframework.http.Status
-
This represents a successful response of a targeted request.
- open(T) - Method in class org.simpleframework.http.session.SessionManager
-
This
open
method 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
open
method 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
open
method 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
open
method is used to either open an existing session or create a new session if requested. - Operation - Interface in org.simpleframework.transport.reactor
-
The
Operation
interface is used to describe a task that can be executed when the associated channel is ready for some operation. - 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
absoluteURI
or arelativeURI
. - parse() - Method in class org.simpleframework.http.parse.ContentParser
-
Reads and parses the MIME type from the given
String
object. - parse() - Method in class org.simpleframework.http.parse.CookieParser
-
This will extract the next
Cookie
from the buffer. - parse() - Method in class org.simpleframework.http.parse.DateParser
-
This is used to parse the contents of the
buf
. - parse() - Method in class org.simpleframework.http.parse.ListParser
-
This ensures that tokens are taken from the comma separated list as long as there bytes left to be examined within the source text.
- parse() - Method in class org.simpleframework.http.parse.PathParser
-
This will parse the path in such a way that it ensures that at no stage there are trailing back references, using path normalization.
- parse() - Method in class org.simpleframework.http.parse.PrincipalParser
-
Used to parse the actual header data.
- parse() - Method in class org.simpleframework.http.parse.QueryParser
-
This performs the actual parsing of the parameter text.
- parse() - 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
String
given to it. - parse(List<String>) - Method in class org.simpleframework.http.parse.ListParser
-
This allows multiple header values to be represented as one single comma separated list.
- ParseBuffer - Class in org.simpleframework.util.parse
-
This is primarily used to replace the
StringBuffer
class, as a way for theParser
to store the char's for a specific region within the parse data that constitutes a desired value. - ParseBuffer() - Constructor for class org.simpleframework.util.parse.ParseBuffer
-
Constructor for
ParseBuffer
. - ParseBuffer(int) - Constructor for class org.simpleframework.util.parse.ParseBuffer
-
This creates a
ParseBuffer
with a specific default size. - Parser - Class in org.simpleframework.util.parse
-
This
Parser
object 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
Part
object is used to represent a part within a request message. - PARTIAL_CONTENT - org.simpleframework.http.Status
-
This is used to represent a response that has partial content.
- Path - Interface in org.simpleframework.http
-
The
Path
represents the path part of a URI. - PathParser - Class in org.simpleframework.http.parse
-
This is used to parse a path given as part of a URI.
- PathParser() - Constructor for class org.simpleframework.http.parse.PathParser
-
The default constructor will create a
PathParser
that contains no specifics. - PathParser(String) - Constructor for class org.simpleframework.http.parse.PathParser
-
This is primarily a convineance constructor.
- PAYMENT_REQUIRED - org.simpleframework.http.Status
-
This is used to tell the client that payment is required.
- PoolExecutor - Class in org.simpleframework.util.thread
-
The
PoolExecutor
object is used to execute tasks in a thread pool. - PoolExecutor(Class<? extends Runnable>) - Constructor for class org.simpleframework.util.thread.PoolExecutor
-
Constructor for the
PoolExecutor
object. - PoolExecutor(Class<? extends Runnable>, int) - Constructor for class org.simpleframework.util.thread.PoolExecutor
-
Constructor for the
PoolExecutor
object. - PoolExecutor(Class<? extends Runnable>, int, int) - Constructor for class org.simpleframework.util.thread.PoolExecutor
-
Constructor for the
PoolExecutor
object. - PRECONDITION_FAILED - org.simpleframework.http.Status
-
This is used to tell the client that a precondition has failed.
- Principal - Interface in org.simpleframework.http
-
The
Principal
interface is used to describe a user that has a name and password. - PrincipalParser - Class in org.simpleframework.http.parse
-
PrincipalParser is a parser class for the HTTP basic authorization header.
- PrincipalParser() - Constructor for class org.simpleframework.http.parse.PrincipalParser
-
Creates a
Parser
for the basic authorization scheme. - PrincipalParser(String) - Constructor for class org.simpleframework.http.parse.PrincipalParser
-
Creates a
Parser
for the basic authorization scheme. - 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
Socket
which 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
Pipeline
which 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
Socket
which 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
Processor
used to process HTTP requests from a connected transport. - ProcessorServer - Class in org.simpleframework.transport
-
The
ProcessorServer
is used to convert pipelines to transports. - ProcessorServer(Processor) - Constructor for class org.simpleframework.transport.ProcessorServer
-
Constructor for the
ProcessorServer
object. - ProcessorServer(Processor, int) - Constructor for class org.simpleframework.transport.ProcessorServer
-
Constructor for the
ProcessorServer
object. - ProcessorServer(Processor, int, int) - Constructor for class org.simpleframework.transport.ProcessorServer
-
Constructor for the
ProcessorServer
object. - PROXY_AUTHENTICATION_REQUIRED - 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
put
method is used to insert the name and value provided into the collection of tokens. - putAll(Map<? extends T, ? extends T>) - 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
Query
object is used to represent HTTP query parameters. - QueryParser - Class in org.simpleframework.http.parse
-
The
ParameterParser
is used to parse data encoded in theapplication/x-www-form-urlencoded
MIME type. - QueryParser() - Constructor for class org.simpleframework.http.parse.QueryParser
-
Constructor for the
ParameterParser
. - QueryParser(String) - Constructor for class org.simpleframework.http.parse.QueryParser
-
Constructor for the
ParameterParser
.
R
- Reactor - Interface in org.simpleframework.transport.reactor
-
The
Reactor
interface is used to describe an object that is used to schedule asynchronous I/O operations. - 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
Lease
object that is mapped to the specified key. - remove(Object) - Method in class org.simpleframework.util.parse.MapParser
-
The
remove
method 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
TimeUnit
seconds. - request - Variable in class org.simpleframework.http.RequestWrapper
-
This is the request instance that is being wrapped.
- Request - Interface in org.simpleframework.http
-
The
Request
is used to provide an interface to the HTTP entity body and message header. - REQUEST_ENTITY_TOO_LARGE - org.simpleframework.http.Status
-
This is used to tell the client that the request body is too big.
- REQUEST_TIMEOUT - org.simpleframework.http.Status
-
This is used to tell the client that the request has timed out.
- REQUEST_URI_TOO_LONG - org.simpleframework.http.Status
-
This is used to tell the client that the request URI is too long.
- REQUESTED_RANGE_NOT_SATISFIABLE - 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
Header
object that is used to represent a basic form for the HTTP request message. - RequestLine - Interface in org.simpleframework.http
-
The
RequestLine
is used to represent a HTTP request line. - RequestWrapper - Class in org.simpleframework.http
-
The
RequestWrapper
object is used so that the originalRequest
object can be wrapped in a filtering proxy object. - RequestWrapper(Request) - Constructor for class org.simpleframework.http.RequestWrapper
-
Constructor for
RequestWrapper
object. - reset() - Method in class org.simpleframework.http.parse.CookieParser
-
This is used so that the collection of
Cookies
can be reiterated. - reset() - Method in interface org.simpleframework.http.Response
-
This can be used to determine whether the
Response
has been committed. - reset() - Method in class org.simpleframework.http.ResponseWrapper
-
This can be used to determine whether the
Response
has been committed. - reset(int) - Method in 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 - 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
Resource
provides an abstraction of any given object that can be retrieved using a HTTP request. - ResourceContainer - Class in org.simpleframework.http.resource
-
The
ResourceContainer
is an implementation of theContainer
interface for handling an arbitrary set of resources. - ResourceContainer(ResourceEngine) - Constructor for class org.simpleframework.http.resource.ResourceContainer
-
Constructor for the
ResourceContainer
object. - ResourceEngine - Interface in org.simpleframework.http.resource
-
The
ResourceEngine
is used to create implementations of theResource
interface 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
ResponseHeader
object is used to manipulate the header information for a given response. - ResponseWrapper - Class in org.simpleframework.http
-
The
ResponseWrapper
object is used so that the originalResponse
object can be wrapped in a filtering proxy object. - ResponseWrapper(Response) - Constructor for class org.simpleframework.http.ResponseWrapper
-
Constructor for
ResponseWrapper
object.
S
- Scheduler - Class in org.simpleframework.util.thread
-
The
Scheduler
object is used to schedule tasks for execution. - Scheduler(int) - Constructor for class org.simpleframework.util.thread.Scheduler
-
Constructor for the
Scheduler
object. - SEE_OTHER - org.simpleframework.http.Status
-
This is used to tell the client to see another HTTP resource.
- Server - Interface in org.simpleframework.transport
-
The
Server
interface represents a handler that is used to processSocket
objects. - SERVICE_UNAVAILABLE - org.simpleframework.http.Status
-
This is used to tell the client the resource is unavailable.
- Session<T> - Interface in org.simpleframework.http.session
-
The
Session
object is a simple leased container for state within a web application. - SessionException - Exception in org.simpleframework.http.session
-
The
SessionException
is 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 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
SessionManager
object 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
SessionManager
object. - SessionManager(long, TimeUnit) - Constructor for class org.simpleframework.http.session.SessionManager
-
Constructor for the
SessionManager
object. - SessionManager(Observer<T>) - Constructor for class org.simpleframework.http.session.SessionManager
-
Constructor for the
SessionManager
object. - SessionManager(Observer<T>, long, TimeUnit) - Constructor for class org.simpleframework.http.session.SessionManager
-
Constructor for the
SessionManager
object. - SessionProvider<T> - Interface in org.simpleframework.http.session
-
The
SessionProvider
object 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
charset
to whatever value the string contains. - setCharset(String) - Method in class org.simpleframework.http.parse.ContentParser
-
This will set the
charset
to 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
setCookie
method is used to set a cookie value with the cookie name. - setCookie(String, String) - Method in class org.simpleframework.http.ResponseWrapper
-
The
setCookie
method is used to set a cookie value with the cookie name. - setCookie(Cookie) - Method in interface org.simpleframework.http.ResponseHeader
-
The
setCookie
method is used to set a cookie value with the cookie name. - setCookie(Cookie) - Method in class org.simpleframework.http.ResponseWrapper
-
The
setCookie
method is used to set a cookie value with the cookie name. - setDate(String, long) - Method in interface org.simpleframework.http.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
Cookie
to be set. - setDomain(String) - Method in class org.simpleframework.http.parse.AddressParser
-
This will set the domain to whatever value is in the string parameter.
- setExpiry(int) - Method in class org.simpleframework.http.Cookie
-
This allows a lifetime to be specified for the cookie.
- 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
Cookie
to 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
String
within thechar
buf. - skip(String) - Method in class org.simpleframework.util.parse.Parser
-
This is used to skip an arbitrary
String
within thechar
buf. - Socket - Interface in org.simpleframework.transport
-
This is a
Socket
interface that is used to represent a socket. - SocketConnection - Class in org.simpleframework.transport.connect
-
The
SocketConnection
is used to manage connections from a server socket. - SocketConnection(Container) - Constructor for class org.simpleframework.transport.connect.SocketConnection
-
Constructor for the
SocketConnection
object. - SocketConnection(Server) - Constructor for class org.simpleframework.transport.connect.SocketConnection
-
Constructor for the
SocketConnection
object. - 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 in org.simpleframework.http
-
The
Status
enumeration is used to specify status codes and the descriptions of those status codes. - StatusLine - Interface in org.simpleframework.http
-
The
StatusLine
is used to represent a HTTP status line. - stop() - Method in class org.simpleframework.http.core.ContainerProcessor
-
This method is used to stop the
Processor
such that it will accept no more pipelines. - stop() - Method in class org.simpleframework.http.core.ContainerServer
-
This method is used to stop the
Processor
such that it will accept no more pipelines. - stop() - Method in interface org.simpleframework.transport.Processor
-
This method is used to stop the
Processor
such that it will accept no more pipelines. - stop() - Method in class org.simpleframework.transport.ProcessorServer
-
This method is used to stop the
Processor
such 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
Server
such 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
Stream
interface is used to represent anything that can be streamed.
T
- TEMPORARY_REDIRECT - 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.Date
to 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
String
object. - toString() - Method in interface org.simpleframework.http.ContentType
-
This will return the value of the MIME type as a string.
- toString() - Method in class org.simpleframework.http.Cookie
-
The
toString
method converts the cookie to the Set-Cookie value. - toString() - Method in class org.simpleframework.http.parse.AddressParser
-
This is used to convert this URI object into a
String
object. - 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
toString
method is used to compose an string in theapplication/x-www-form-urlencoded
MIME type. - toString() - Method in interface org.simpleframework.http.Path
-
This will return the normalized path.
- toString() - Method in interface org.simpleframework.http.Query
-
This will return all parameters represented using the HTTP URL query format.
- toString() - Method in class org.simpleframework.util.parse.ParseBuffer
-
This will return the characters that have been appended to the
ParseBuffer
as aString
object. - toString(Set) - Method in class org.simpleframework.http.parse.QueryParser
-
This
toString
method is used to compose an string in theapplication/x-www-form-urlencoded
MIME type. - Transport - Interface in org.simpleframework.transport
-
The
Transport
interface represents a low level means to deliver content to the connected client. - TransportCursor - Class in org.simpleframework.transport
-
The
TransportCursor
object represents a cursor that can read and buffer data from an underlying transport. - TransportCursor(Transport) - Constructor for class org.simpleframework.transport.TransportCursor
-
Constructor for the
TransportCursor
object. - TransportCursor(Transport, int) - Constructor for class org.simpleframework.transport.TransportCursor
-
Constructor for the
TransportCursor
object. - TransportException - Exception in org.simpleframework.transport
-
The
TransportException
object is thrown when there is a problem with the transport. - TransportException(String) - Constructor for exception org.simpleframework.transport.TransportException
-
Constructor for the
TransportException
object. - TransportException(String, Throwable) - Constructor for exception org.simpleframework.transport.TransportException
-
Constructor for the
TransportException
object.
U
- UNAUTHORIZED - org.simpleframework.http.Status
-
This is used to tell the client that authorization is required.
- UNSUPPORTED_MEDIA_TYPE - org.simpleframework.http.Status
-
This is used to tell the client that the content type is invalid.
- USE_PROXY - org.simpleframework.http.Status
-
This is used to tell the client that it should use a proxy.
V
- valueOf(String) - Static method in enum org.simpleframework.http.Status
-
Returns the enum constant of this type with the specified name.
- ValueParser - Class in org.simpleframework.http.parse
-
The
ValueParser
is used to extract a comma separated list of HTTP header values. - ValueParser() - Constructor for class org.simpleframework.http.parse.ValueParser
-
Constructor for the
ValueParser
. - ValueParser(String) - Constructor for class org.simpleframework.http.parse.ValueParser
-
Constructor for the
ValueParser
. - ValueParser(List<String>) - Constructor for class org.simpleframework.http.parse.ValueParser
-
Constructor for the
ValueParser
. - values() - Static method in enum org.simpleframework.http.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - 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 - 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 All Packages