- callReadNextFilter(Object) - Method in interface org.apache.mina.filterchain.ReadFilterChainController
-
- callReadNextFilter(Object) - Method in class org.apache.mina.session.AbstractIoSession
- callWriteNextFilter(WriteRequest) - Method in interface org.apache.mina.filterchain.WriteFilterChainController
-
- callWriteNextFilter(WriteRequest) - Method in class org.apache.mina.session.AbstractIoSession
-
process session message received event using the filter chain.
- cancel(boolean) - Method in class org.apache.mina.util.AbstractIoFuture
- cancelOwner(boolean) - Method in class org.apache.mina.session.DefaultWriteFuture
-
- cancelOwner(boolean) - Method in class org.apache.mina.transport.ConnectFuture
-
- cancelOwner(boolean) - Method in class org.apache.mina.util.AbstractIoFuture
-
Notify the owner of this future that a client is attempting to cancel.
- cannotConnect(Exception) - Method in class org.apache.mina.transport.ConnectFuture
-
Can't connect
- capacity() - Method in class org.apache.mina.codec.IoBuffer
-
- changeState(IoSession.SessionState) - Method in interface org.apache.mina.api.IoSession
-
Changes the session's state from the current state to a new state.
- changeState(IoSession.SessionState) - Method in class org.apache.mina.session.AbstractIoSession
-
Changes the session's state from the current state to a new state.
- channel - Variable in class org.apache.mina.transport.nio.AbstractNioSession
-
the NIO channel for this session
- channelClose() - Method in class org.apache.mina.transport.nio.AbstractNioSession
-
Close the inner socket channel
- channelClose() - Method in class org.apache.mina.transport.nio.NioTcpSession
-
Close the inner socket channel
- channelClose() - Method in class org.apache.mina.transport.nio.NioUdpSession
-
Close the inner socket channel
- clear() - Method in class org.apache.mina.codec.IoBuffer
-
- close(boolean) - Method in interface org.apache.mina.api.IoSession
-
Closes this session immediately or after all queued write requests are flushed.
- close(boolean) - Method in class org.apache.mina.transport.bio.BioUdpSession
-
Closes this session immediately or after all queued write requests are flushed.
- close(boolean) - Method in class org.apache.mina.transport.nio.AbstractNioSession
-
Closes this session immediately or after all queued write requests are flushed.
- CloseEvent - Class in org.apache.mina.service.executor
-
A session was closed event.
- CloseEvent(IoSession) - Constructor for class org.apache.mina.service.executor.CloseEvent
-
- CoapClient - Class in org.apache.mina.examples.coap
-
A CoAP client, accepting "piggy-backed" request and behaving like a server too.
- CoapClient() - Constructor for class org.apache.mina.examples.coap.CoapClient
-
- CoapCode - Enum in org.apache.mina.coap
-
Extract of the CoAP RFC :
| 1 | GET | [RFCXXXX] |
| 2 | POST | [RFCXXXX] |
| 3 | PUT | [RFCXXXX] |
| 4 | DELETE | [RFCXXXX] |
| 65 | 2.01 Created | [RFCXXXX] |
| 66 | 2.02 Deleted | [RFCXXXX] |
| 67 | 2.03 Valid | [RFCXXXX] |
| 68 | 2.04 Changed | [RFCXXXX] |
| 69 | 2.05 Content | [RFCXXXX] |
| 128 | 4.00 Bad Request | [RFCXXXX] |
| 129 | 4.01 Unauthorized | [RFCXXXX] |
| 130 | 4.02 Bad Option | [RFCXXXX] |
| 131 | 4.03 Forbidden | [RFCXXXX] |
| 132 | 4.04 Not Found | [RFCXXXX] |
| 133 | 4.05 Method Not Allowed | [RFCXXXX] |
| 134 | 4.06 Not Acceptable | [RFCXXXX] |
| 140 | 4.12 Precondition Failed | [RFCXXXX] |
| 141 | 4.13 Request Entity Too Large | [RFCXXXX] |
| 143 | 4.15 Unsupported Content-Format | [RFCXXXX] |
| 160 | 5.00 Internal Server Error | [RFCXXXX] |
| 161 | 5.01 Not Implemented | [RFCXXXX] |
| 162 | 5.02 Bad Gateway | [RFCXXXX] |
| 163 | 5.03 Service Unavailable | [RFCXXXX] |
| 164 | 5.04 Gateway Timeout | [RFCXXXX] |
| 165 | 5.05 Proxying Not Supported | [RFCXXXX] |
- CoapDecoder - Class in org.apache.mina.coap.codec
-
Decoder CoAP messages from the ByteBuffer of a received UDP Datagram.
- CoapDecoder() - Constructor for class org.apache.mina.coap.codec.CoapDecoder
-
- CoapEncoder - Class in org.apache.mina.coap.codec
-
Encode a CoAP message following the RFC.
- CoapEncoder() - Constructor for class org.apache.mina.coap.codec.CoapEncoder
-
- CoapMessage - Class in org.apache.mina.coap
-
A representation of CoAP message following the CoAP RFC.
- CoapMessage(int, MessageType, int, int, byte[], CoapOption[], byte[]) - Constructor for class org.apache.mina.coap.CoapMessage
-
Create a CoAP message
- CoapOption - Class in org.apache.mina.coap
-
A CoAP message option.
- CoapOption(CoapOptionType, byte[]) - Constructor for class org.apache.mina.coap.CoapOption
-
Create a CoAP option
- CoapOptionType - Enum in org.apache.mina.coap
-
A type of CoAP option following the CoAP RFC list.
- CoapResponse - Class in org.apache.mina.coap.resource
-
Response to a coap request.
- CoapResponse(int, byte[], CoapOption...) - Constructor for class org.apache.mina.coap.resource.CoapResponse
-
Create the CoAP response for a resource request.
- CoapServer - Class in org.apache.mina.examples.coap
-
A CoAP UDP server serving some resources.
- CoapServer() - Constructor for class org.apache.mina.examples.coap.CoapServer
-
- code() - Method in enum org.apache.mina.http.api.HttpStatus
-
Retrieve the status code for this instance.
- compact() - Method in class org.apache.mina.codec.IoBuffer
-
- complete() - Method in class org.apache.mina.session.DefaultWriteFuture
-
complete this future
- complete(IoSession) - Method in class org.apache.mina.transport.ConnectFuture
-
session connected
- completed(V) - Method in interface org.apache.mina.api.IoFutureListener
-
Called when the task has completed.
- config - Variable in class org.apache.mina.service.AbstractIoService
-
the default session configuration
- config - Variable in class org.apache.mina.session.AbstractIoSession
-
The session config
- ConfigurationException - Exception in org.apache.mina.api
-
- ConfigurationException() - Constructor for exception org.apache.mina.api.ConfigurationException
-
- ConfigurationException(String, Throwable) - Constructor for exception org.apache.mina.api.ConfigurationException
-
- ConfigurationException(String) - Constructor for exception org.apache.mina.api.ConfigurationException
-
- ConfigurationException(Throwable) - Constructor for exception org.apache.mina.api.ConfigurationException
-
- connect(SocketAddress) - Method in interface org.apache.mina.api.IoClient
-
Connects to the specified remote address.
- connect(SocketAddress) - Method in class org.apache.mina.transport.bio.BioUdpServer
-
- connect(SocketAddress) - Method in class org.apache.mina.transport.nio.NioTcpClient
-
Connects to the specified remote address.
- connect(SocketAddress) - Method in class org.apache.mina.transport.nio.NioUdpClient
-
Connects to the specified remote address.
- connect(SocketAddress, SocketAddress) - Method in class org.apache.mina.transport.nio.NioUdpClient
-
Connects to the specified remote address binding to the specified local address.
- connect(SocketAddress) - Method in class org.apache.mina.transport.nio.NioUdpServer
-
- connect(SocketAddress, SocketAddress) - Method in class org.apache.mina.transport.udp.AbstractUdpClient
-
Connects to the specified remote address binding to the specified local address.
- ConnectFuture - Class in org.apache.mina.transport
-
Future
for waiting session connection.
- ConnectFuture() - Constructor for class org.apache.mina.transport.ConnectFuture
-
- containsHeader(String) - Method in class org.apache.mina.http.api.DefaultHttpResponse
-
Returns true if the HTTP header with the specified name exists in this request.
- containsHeader(String) - Method in interface org.apache.mina.http.api.HttpMessage
-
Returns true if the HTTP header with the specified name exists in this request.
- containsHeader(String) - Method in class org.apache.mina.http.HttpRequestImpl
-
Returns true if the HTTP header with the specified name exists in this request.
- containsParameter(String) - Method in interface org.apache.mina.http.api.HttpRequest
-
Determines whether this request contains at least one parameter with the specified name
- containsParameter(String) - Method in class org.apache.mina.http.HttpRequestImpl
-
Determines whether this request contains at least one parameter with the specified name
- convertToDirectBuffer(WriteRequest, boolean) - Method in class org.apache.mina.transport.nio.AbstractNioSession
-
Copy the HeapBuffer into a DirectBuffer, if needed.
- convertToDirectBuffer(WriteRequest, boolean) - Method in class org.apache.mina.transport.nio.NioTcpSession
-
Copy the HeapBuffer into a DirectBuffer, if needed.
- convertToDirectBuffer(WriteRequest, boolean) - Method in class org.apache.mina.transport.nio.NioUdpSession
-
Copy the HeapBuffer into a DirectBuffer, if needed.
- COOKIE_SEPARATOR_PATTERN - Static variable in class org.apache.mina.http.HttpServerDecoder
-
Regex to split cookie header following RFC6265 Section 5.4
- createDecoderState() - Method in class org.apache.mina.coap.codec.CoapDecoder
-
Create a new session context for this decoder
- createDecoderState() - Method in class org.apache.mina.codec.delimited.IoBufferDecoder
-
Being stateless, this method is left empty
- createDecoderState() - Method in class org.apache.mina.codec.delimited.SizePrefixedDecoder
-
- createDecoderState() - Method in interface org.apache.mina.codec.ProtocolDecoder
-
Create a new session context for this decoder
- createDecoderState() - Method in class org.apache.mina.codec.textline.TextLineDecoder
-
- createDecoderState() - Method in class org.apache.mina.http.HttpServerDecoder
-
Create a new session context for this decoder
- createEncoderState() - Method in class org.apache.mina.coap.codec.CoapEncoder
-
Create a new session context for this decoder
- createEncoderState() - Method in class org.apache.mina.codec.delimited.ByteBufferEncoder
-
Being stateless, this method is left empty
- createEncoderState() - Method in class org.apache.mina.codec.delimited.SizePrefixedEncoder
-
- createEncoderState() - Method in interface org.apache.mina.codec.ProtocolEncoder
-
Create a new session context for this decoder
- createEncoderState() - Method in class org.apache.mina.codec.textline.TextLineEncoder
-
- createEncoderState() - Method in class org.apache.mina.http.HttpServerEncoder
-
Create a new session context for this decoder
- createKey(Class<T>, String) - Static method in class org.apache.mina.session.AttributeKey
-
- CRLF - Static variable in class org.apache.mina.codec.textline.LineDelimiter
-
The CRLF line delimiter constant ("\r\n")
- get(String, boolean) - Static method in class org.apache.mina.coap.CoapMessage
-
- get(Class<L>, ExtensionRegistryLite) - Method in class org.apache.mina.codec.delimited.serialization.ProtobufDynamicMessageDecoder.ProtobufSerializedMessage
-
- get(Class<L>) - Method in class org.apache.mina.codec.delimited.serialization.ProtobufDynamicMessageDecoder.ProtobufSerializedMessage
-
- get(Class<L>) - Method in class org.apache.mina.codec.delimited.serialization.ThriftDynamicMessageDecoder.ThriftSerializedMessage
-
- get() - Method in class org.apache.mina.codec.IoBuffer
-
- get(byte[]) - Method in class org.apache.mina.codec.IoBuffer
-
- get(byte[], int, int) - Method in class org.apache.mina.codec.IoBuffer
-
- get(int) - Method in class org.apache.mina.codec.IoBuffer
-
- get() - Method in class org.apache.mina.util.AbstractIoFuture
- get(long, TimeUnit) - Method in class org.apache.mina.util.AbstractIoFuture
- getAccept() - Method in class org.apache.mina.coap.CoapMessage
-
- getAcceptKey() - Method in class org.apache.mina.transport.nio.NioTcpServer
-
- getAttribute(AttributeKey<T>, T) - Method in interface org.apache.mina.api.IoSession
-
Returns the value of the user-defined attribute for the given key
.If the there is no attribute with
the specified key the defaultValue will be returned.
- getAttribute(AttributeKey<T>) - Method in interface org.apache.mina.api.IoSession
-
Returns the value of the user-defined attribute for the given key
.If the there is no attribute with
the specified key null
will be returned.
- getAttribute(AttributeKey<T>, T) - Method in class org.apache.mina.session.AbstractIoSession
-
Returns the value of the user-defined attribute for the given key
.If the there is no attribute with
the specified key the defaultValue will be returned.
- getAttribute(AttributeKey<T>) - Method in class org.apache.mina.session.AbstractIoSession
-
Returns the value of the user-defined attribute for the given key
.If the there is no attribute with
the specified key null
will be returned.
- getAttributeKeys() - Method in interface org.apache.mina.api.IoSession
-
- getAttributeKeys() - Method in class org.apache.mina.session.AbstractIoSession
-
- getBoundAddress() - Method in interface org.apache.mina.api.IoServer
-
Returns the local addresses which are bound currently.
- getBoundAddress() - Method in class org.apache.mina.transport.bio.BioUdpServer
-
- getBoundAddress() - Method in class org.apache.mina.transport.nio.NioTcpServer
-
Returns the local addresses which are bound currently.
- getBoundAddress() - Method in class org.apache.mina.transport.nio.NioUdpServer
-
Returns the local addresses which are bound currently.
- getBuffer() - Method in class org.apache.mina.codec.textline.TextLineDecoder.Context
-
- getBufferLength() - Method in class org.apache.mina.codec.textline.TextLineDecoder
-
Returns the allowed buffer size used to store the decoded line in the Context instance.
- getByteBuffer() - Method in class org.apache.mina.util.ByteBufferOutputStream
-
- getChar() - Method in class org.apache.mina.codec.IoBuffer
-
- getChar(int) - Method in class org.apache.mina.codec.IoBuffer
-
- getCode() - Method in enum org.apache.mina.coap.CoapCode
-
- getCode() - Method in class org.apache.mina.coap.CoapMessage
-
- getCode() - Method in enum org.apache.mina.coap.CoapOptionType
-
- getCode() - Method in enum org.apache.mina.coap.MessageType
-
- getCode() - Method in class org.apache.mina.coap.resource.CoapResponse
-
- getConfig() - Method in interface org.apache.mina.api.IoSession
-
Gets the session configuration, it where the idle timeout are set and other transport specific configuration.
- getConfig() - Method in class org.apache.mina.transport.bio.BioUdpSession
-
Gets the session configuration, it where the idle timeout are set and other transport specific configuration.
- getConfig() - Method in class org.apache.mina.transport.nio.NioTcpSession
-
Gets the session configuration, it where the idle timeout are set and other transport specific configuration.
- getConfig() - Method in class org.apache.mina.transport.nio.NioUdpSession
-
Gets the session configuration, it where the idle timeout are set and other transport specific configuration.
- getConnectTimeoutMillis() - Method in class org.apache.mina.transport.tcp.AbstractTcpClient
-
Returns the connect timeout in milliseconds.
- getContent() - Method in class org.apache.mina.coap.resource.CoapResponse
-
- getContent() - Method in class org.apache.mina.http.api.HttpContentChunk
-
The content of the chunk.
- getContentFormat() - Method in class org.apache.mina.coap.CoapMessage
-
- getContentType() - Method in class org.apache.mina.http.api.DefaultHttpResponse
-
Gets the Content-Type header of the message.
- getContentType() - Method in interface org.apache.mina.http.api.HttpMessage
-
Gets the Content-Type header of the message.
- getContentType() - Method in class org.apache.mina.http.HttpRequestImpl
-
Gets the Content-Type header of the message.
- getCreationTime() - Method in interface org.apache.mina.api.IoSession
-
The session's creation time.
- getCreationTime() - Method in class org.apache.mina.session.AbstractIoSession
-
The session's creation time.
- getCurrentAsString() - Static method in class org.apache.mina.http.DateUtil
-
Returns the current date as String
- getData() - Method in class org.apache.mina.coap.CoapOption
-
- getDatagramChannel() - Method in class org.apache.mina.transport.bio.BioUdpServer
-
- getDatagramChannel() - Method in class org.apache.mina.transport.nio.NioUdpServer
-
Get the inner datagram channel for read and write operations.
- getDateAsString(Date) - Static method in class org.apache.mina.http.DateUtil
-
Convert a given Date
object to a RFC 1123
formatted String
.
- getDecoder() - Method in interface org.apache.mina.codec.delimited.ints.IntTranscoder
-
- getDecoder() - Method in class org.apache.mina.codec.delimited.ints.RawInt32
-
- getDecoder() - Method in class org.apache.mina.codec.delimited.ints.VarInt
-
- getDecoder() - Method in class org.apache.mina.codec.textline.TextLineDecoder.Context
-
- getDouble() - Method in class org.apache.mina.codec.IoBuffer
-
- getDouble(int) - Method in class org.apache.mina.codec.IoBuffer
-
- getEncodedSize(INPUT) - Method in class org.apache.mina.codec.delimited.ByteBufferEncoder
-
Computes the size of the serialized form of a message in bytes.
- getEncodedSize(OUT) - Method in class org.apache.mina.codec.delimited.serialization.JavaNativeMessageEncoder
-
- getEncodedSize(OUT) - Method in class org.apache.mina.codec.delimited.serialization.ProtobufMessageEncoder
-
- getEncodedSize(INPUT) - Method in class org.apache.mina.codec.delimited.serialization.ThriftMessageEncoder
-
Computes the size of the serialized form of a message in bytes.
- getEncoder() - Method in interface org.apache.mina.codec.delimited.ints.IntTranscoder
-
- getEncoder() - Method in class org.apache.mina.codec.delimited.ints.RawInt32
-
- getEncoder() - Method in class org.apache.mina.codec.delimited.ints.VarInt
-
- getFilters() - Method in interface org.apache.mina.api.IoService
-
Get the list of filters installed on this service
- getFilters() - Method in class org.apache.mina.service.AbstractIoService
-
Get the list of filters installed on this service
- getFloat() - Method in class org.apache.mina.codec.IoBuffer
-
- getFloat(int) - Method in class org.apache.mina.codec.IoBuffer
-
- getFuture() - Method in class org.apache.mina.session.DefaultWriteRequest
-
The future to be completed on a write success
- getFuture() - Method in interface org.apache.mina.session.WriteRequest
-
The future to be completed on a write success
- getHeader(String) - Method in class org.apache.mina.http.api.DefaultHttpResponse
-
Returns the value of the HTTP header with the specified name.
- getHeader(String) - Method in interface org.apache.mina.http.api.HttpMessage
-
Returns the value of the HTTP header with the specified name.
- getHeader(String) - Method in class org.apache.mina.http.HttpRequestImpl
-
Returns the value of the HTTP header with the specified name.
- getHeaders() - Method in class org.apache.mina.http.api.DefaultHttpResponse
-
Returns a read-only
Map
of HTTP headers whose key is a
String
and whose value is a
String
s.
- getHeaders() - Method in interface org.apache.mina.http.api.HttpMessage
-
Returns a read-only
Map
of HTTP headers whose key is a
String
and whose value is a
String
s.
- getHeaders() - Method in class org.apache.mina.http.HttpRequestImpl
-
Returns a read-only
Map
of HTTP headers whose key is a
String
and whose value is a
String
s.
- getId() - Method in interface org.apache.mina.api.IoSession
-
The unique identifier of this session.
- getId() - Method in class org.apache.mina.coap.CoapMessage
-
- getId() - Method in class org.apache.mina.session.AbstractIoSession
-
The unique identifier of this session.
- getIdleStatus() - Method in class org.apache.mina.service.executor.IdleEvent
-
- getIdleTimeInMillis(IdleStatus) - Method in interface org.apache.mina.api.IoSessionConfig
-
Returns idle time for the specified type of idleness in milli-seconds.
- getIdleTimeInMillis(IdleStatus) - Method in class org.apache.mina.session.AbstractIoSessionConfig
-
Returns idle time for the specified type of idleness in milli-seconds.
- getIdleTimeInMillis(IdleStatus) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
-
Returns idle time for the specified type of idleness in milli-seconds.
- getInstance(boolean) - Static method in class org.apache.mina.examples.http.BogusSslContextFactory
-
Get SSLContext singleton.
- getInt() - Method in class org.apache.mina.codec.IoBuffer
-
- getInt(int) - Method in class org.apache.mina.codec.IoBuffer
-
- getInterface() - Method in class org.apache.mina.coap.resource.AbstractResourceHandler
-
Interface name of this resource (or null
), can be an URL to a WADL file.
- getInterface() - Method in interface org.apache.mina.coap.resource.ResourceHandler
-
Interface name of this resource (or null
), can be an URL to a WADL file.
- getIoHandler() - Method in interface org.apache.mina.api.IoService
-
Get the
IoHandler
in charge of your business logic for this service.
- getIoHandler() - Method in class org.apache.mina.service.AbstractIoService
-
Get the
IoHandler
in charge of your business logic for this service.
- getIoHandlerExecutor() - Method in interface org.apache.mina.api.IoService
-
- getIoHandlerExecutor() - Method in class org.apache.mina.service.AbstractIoService
-
- getLastIoTime() - Method in interface org.apache.mina.api.IoSession
-
Returns the time in millisecond when I/O occurred lastly (either read or write).
- getLastIoTime() - Method in class org.apache.mina.session.AbstractIoSession
-
Returns the time in millisecond when I/O occurred lastly (either read or write).
- getLastReadTime() - Method in interface org.apache.mina.api.IoSession
-
Returns the time in millisecond when the last I/O read occurred.
- getLastReadTime() - Method in class org.apache.mina.session.AbstractIoSession
-
Returns the time in millisecond when the last I/O read occurred.
- getLastWriteTime() - Method in interface org.apache.mina.api.IoSession
-
Returns the time in millisecond when the last I/O write occurred.
- getLastWriteTime() - Method in class org.apache.mina.session.AbstractIoSession
-
Returns the time in millisecond when the last I/O write occurred.
- getLevel() - Method in enum org.apache.mina.filter.logging.LogLevel
-
- getLocalAddress() - Method in interface org.apache.mina.api.IoSession
-
Gets the local address of the local peer.
- getLocalAddress() - Method in class org.apache.mina.transport.bio.BioUdpSession
-
Gets the local address of the local peer.
- getLocalAddress() - Method in class org.apache.mina.transport.nio.NioTcpSession
-
Gets the local address of the local peer.
- getLocalAddress() - Method in class org.apache.mina.transport.nio.NioUdpSession
-
Gets the local address of the local peer.
- getLocationPath() - Method in class org.apache.mina.coap.CoapMessage
-
- getLocationQuery() - Method in class org.apache.mina.coap.CoapMessage
-
- getLong() - Method in class org.apache.mina.codec.IoBuffer
-
- getLong(int) - Method in class org.apache.mina.codec.IoBuffer
-
- getManagedSessions() - Method in interface org.apache.mina.api.IoService
-
Returns the map of all sessions which are currently managed by this service.
- getManagedSessions() - Method in class org.apache.mina.service.AbstractIoService
-
Returns the map of all sessions which are currently managed by this service.
- getMatchCount() - Method in class org.apache.mina.codec.textline.TextLineDecoder.Context
-
- getMaxAge() - Method in class org.apache.mina.coap.CoapMessage
-
- getMaxLineLength() - Method in class org.apache.mina.codec.textline.TextLineDecoder
-
Returns the allowed maximum size of the line to be decoded.
- getMaxLineLength() - Method in class org.apache.mina.codec.textline.TextLineEncoder
-
Returns the allowed maximum size of the encoded line.
- getMessage() - Method in class org.apache.mina.service.executor.ReceiveEvent
-
- getMessage() - Method in class org.apache.mina.service.executor.SentEvent
-
- getMessage() - Method in class org.apache.mina.session.DefaultWriteRequest
-
Get the message stored for this request.
- getMessage() - Method in interface org.apache.mina.session.WriteRequest
-
Get the message stored for this request.
- getMessageReceivedLogLevel() - Method in class org.apache.mina.filter.logging.LoggingFilter
-
Get the LogLevel for the MessageReceived event.
- getMessageSentLevel() - Method in class org.apache.mina.filter.logging.LoggingFilter
-
Get the LogLevel for the messageSent event.
- getMessageWritingLogLevel() - Method in class org.apache.mina.filter.logging.LoggingFilter
-
Get the LogLevel for the MessageWriting event.
- getMethod() - Method in interface org.apache.mina.http.api.HttpRequest
-
Return the HTTP method used for this message
HttpMethod
- getMethod() - Method in class org.apache.mina.http.HttpRequestImpl
-
Return the HTTP method used for this message
HttpMethod
- getName() - Method in class org.apache.mina.session.AttributeKey
-
Returns the name of this key.
- getOptions() - Method in class org.apache.mina.coap.CoapMessage
-
- getOptions() - Method in class org.apache.mina.coap.resource.CoapResponse
-
- getOriginalMessage() - Method in class org.apache.mina.session.DefaultWriteRequest
-
Gets the original message, as written by the handler, before passing through the filter chain.
- getOriginalMessage() - Method in interface org.apache.mina.session.WriteRequest
-
Gets the original message, as written by the handler, before passing through the filter chain.
- getOverflowLength() - Method in class org.apache.mina.codec.textline.TextLineDecoder.Context
-
- getParameter(String) - Method in interface org.apache.mina.http.api.HttpRequest
-
Returns the value of a request parameter as a String, or null if the parameter does not exist.
- getParameter(String) - Method in class org.apache.mina.http.HttpRequestImpl
-
Returns the value of a request parameter as a String, or null if the parameter does not exist.
- getParameters() - Method in interface org.apache.mina.http.api.HttpRequest
-
Returns a read only
Map
of query parameters whose key is a
String
and whose value is a
List
of
String
s.
- getParameters() - Method in class org.apache.mina.http.HttpRequestImpl
-
Returns a read only
Map
of query parameters whose key is a
String
and whose value is a
List
of
String
s.
- getPartial() - Method in class org.apache.mina.http.HttpDecoderState
-
- getPath() - Method in interface org.apache.mina.coap.resource.ResourceHandler
-
The path served by this resource handler.
- getPayload() - Method in class org.apache.mina.coap.CoapMessage
-
- getProtocolVersion() - Method in class org.apache.mina.http.api.DefaultHttpResponse
-
The HTTP version of the message
- getProtocolVersion() - Method in interface org.apache.mina.http.api.HttpMessage
-
The HTTP version of the message
- getProtocolVersion() - Method in class org.apache.mina.http.HttpRequestImpl
-
The HTTP version of the message
- getProxyScheme() - Method in class org.apache.mina.coap.CoapMessage
-
- getProxyUri() - Method in class org.apache.mina.coap.CoapMessage
-
return the absolute URI used to make a request to a forward-proxy
- getReadBufferSize() - Method in interface org.apache.mina.api.IoSessionConfig
-
Returns the size of the read buffer that I/O processor allocates
per each read.
- getReadBufferSize() - Method in class org.apache.mina.session.AbstractIoSessionConfig
-
Returns the size of the read buffer that I/O processor allocates
per each read.
- getReadBufferSize() - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
-
Returns the size of the read buffer that I/O processor allocates
per each read.
- getReadBytes() - Method in interface org.apache.mina.api.IoSession
-
Gets the total number of bytes read for this session since it was created.
- getReadBytes() - Method in class org.apache.mina.session.AbstractIoSession
-
Gets the total number of bytes read for this session since it was created.
- getReadKey() - Method in class org.apache.mina.transport.nio.NioUdpServer
-
- getRemainingBytes() - Method in class org.apache.mina.http.HttpDecoderState
-
- getRemoteAddress() - Method in interface org.apache.mina.api.IoSession
-
Returns the socket address of remote peer.
- getRemoteAddress() - Method in class org.apache.mina.transport.bio.BioUdpSession
-
Returns the socket address of remote peer.
- getRemoteAddress() - Method in class org.apache.mina.transport.nio.NioTcpSession
-
Returns the socket address of remote peer.
- getRemoteAddress() - Method in class org.apache.mina.transport.nio.NioUdpSession
-
Returns the socket address of remote peer.
- getResourceType() - Method in class org.apache.mina.coap.resource.AbstractResourceHandler
-
Resource type (or null
).
- getResourceType() - Method in interface org.apache.mina.coap.resource.ResourceHandler
-
Resource type (or null
).
- getSelectorLoop() - Method in class org.apache.mina.transport.nio.FixedSelectorLoopPool
-
- getSelectorLoop() - Method in interface org.apache.mina.transport.nio.SelectorLoopPool
-
- getSendBufferSize() - Method in interface org.apache.mina.api.IoSessionConfig
-
- getSendBufferSize() - Method in class org.apache.mina.session.AbstractIoSessionConfig
- getSendBufferSize() - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
- getServerSocketChannel() - Method in class org.apache.mina.transport.nio.NioTcpServer
-
Get the inner Server socket for accepting new client connections
- getService() - Method in interface org.apache.mina.api.IoSession
-
Gets the service this session is attached to.
- getService() - Method in class org.apache.mina.session.AbstractIoSession
-
Gets the service this session is attached to.
- getSession() - Method in class org.apache.mina.service.executor.CloseEvent
-
The session of this event.
- getSession() - Method in interface org.apache.mina.service.executor.Event
-
The session of this event.
- getSession() - Method in class org.apache.mina.service.executor.IdleEvent
-
The session of this event.
- getSession() - Method in class org.apache.mina.service.executor.OpenEvent
-
The session of this event.
- getSession() - Method in class org.apache.mina.service.executor.ReceiveEvent
-
The session of this event.
- getSession() - Method in class org.apache.mina.service.executor.SentEvent
-
The session of this event.
- getSessionClosedLogLevel() - Method in class org.apache.mina.filter.logging.LoggingFilter
-
Get the LogLevel for the SessionClosed event.
- getSessionConfig() - Method in interface org.apache.mina.api.IoService
-
Returns the default configuration of the new
IoSession
s created by this service.
- getSessionConfig() - Method in class org.apache.mina.service.server.AbstractIoServer
-
Returns the default configuration of the new
IoSession
s created by this service.
- getSessionConfig() - Method in class org.apache.mina.transport.tcp.AbstractTcpClient
-
Returns the default configuration of the new
IoSession
s created by this service.
- getSessionConfig() - Method in class org.apache.mina.transport.tcp.AbstractTcpServer
-
Returns the default configuration of the new
IoSession
s created by this service.
- getSessionConfig() - Method in class org.apache.mina.transport.udp.AbstractUdpClient
-
Returns the default configuration of the new
IoSession
s created by this service.
- getSessionConfig() - Method in class org.apache.mina.transport.udp.AbstractUdpServer
-
Returns the default configuration of the new
IoSession
s created by this service.
- getSessionIdleLogLevel() - Method in class org.apache.mina.filter.logging.LoggingFilter
-
Get the LogLevel for the SessionIdle event.
- getSessionOpenedLogLevel() - Method in class org.apache.mina.filter.logging.LoggingFilter
-
Get the LogLevel for the SessionOpened event.
- getShort() - Method in class org.apache.mina.codec.IoBuffer
-
- getShort(int) - Method in class org.apache.mina.codec.IoBuffer
-
- getSoLinger() - Method in class org.apache.mina.transport.tcp.DefaultTcpSessionConfig
-
Please note that enabling SO_LINGER in Java NIO can result
in platform-dependent behavior and unexpected blocking of I/O thread.
- getSoLinger() - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
-
Please note that enabling SO_LINGER in Java NIO can result
in platform-dependent behavior and unexpected blocking of I/O thread.
- getSoLinger() - Method in interface org.apache.mina.transport.tcp.TcpSessionConfig
-
Please note that enabling SO_LINGER in Java NIO can result
in platform-dependent behavior and unexpected blocking of I/O thread.
- getSslContext() - Method in class org.apache.mina.transport.tcp.DefaultTcpSessionConfig
- getSslContext() - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
-
- getSslContext() - Method in interface org.apache.mina.transport.tcp.TcpSessionConfig
-
- getState() - Method in class org.apache.mina.http.HttpDecoderState
-
- getStatus() - Method in class org.apache.mina.http.api.DefaultHttpResponse
-
The HTTP status code for the HTTP response (e.g. 200 for OK, 404 for not found, etc..)
- getStatus() - Method in interface org.apache.mina.http.api.HttpResponse
-
The HTTP status code for the HTTP response (e.g. 200 for OK, 404 for not found, etc..)
- getStatusCode() - Method in exception org.apache.mina.http.HttpException
-
- getText() - Method in enum org.apache.mina.coap.CoapCode
-
- getTimeout() - Method in interface org.apache.mina.api.IoSessionConfig
-
Get the SO_TIMEOUT set for this socket
- getTimeout() - Method in class org.apache.mina.session.AbstractIoSessionConfig
-
Get the SO_TIMEOUT set for this socket
- getTimeout() - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
-
Get the SO_TIMEOUT set for this socket
- getTittle() - Method in class org.apache.mina.coap.resource.AbstractResourceHandler
-
Detailed title for this path (or null
).
- getTittle() - Method in interface org.apache.mina.coap.resource.ResourceHandler
-
Detailed title for this path (or null
).
- getToken() - Method in class org.apache.mina.coap.CoapMessage
-
- getTrafficClass() - Method in interface org.apache.mina.api.IoSessionConfig
-
- getTrafficClass() - Method in class org.apache.mina.session.AbstractIoSessionConfig
- getTrafficClass() - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
- getType() - Method in class org.apache.mina.coap.CoapMessage
-
- getType() - Method in class org.apache.mina.coap.CoapOption
-
- getType() - Method in class org.apache.mina.session.AttributeKey
-
Returns the type of this key.
- getUriHost() - Method in class org.apache.mina.coap.CoapMessage
-
- getUriPath() - Method in class org.apache.mina.coap.CoapMessage
-
- getUriPort() - Method in class org.apache.mina.coap.CoapMessage
-
- getUriQuery() - Method in class org.apache.mina.coap.CoapMessage
-
- getValue() - Method in class org.apache.mina.codec.delimited.SizePrefixedDecoder.MutableInt
-
Gets the value as a Integer instance.
- getValue() - Method in class org.apache.mina.codec.textline.LineDelimiter
-
Return the delimiter string.
- getValue() - Method in enum org.apache.mina.session.TrafficClassEnum
-
- getVersion() - Method in class org.apache.mina.coap.CoapMessage
-
- getWriteQueue() - Method in class org.apache.mina.transport.nio.AbstractNioSession
-
Get the
Queue
of this session.
- getWrittenBytes() - Method in interface org.apache.mina.api.IoSession
-
Gets the total number of bytes written for this session since it was created.
- getWrittenBytes() - Method in class org.apache.mina.session.AbstractIoSession
-
Gets the total number of bytes written for this session since it was created.
- IdleChecker - Interface in org.apache.mina.service.idlechecker
-
Utility for checking detecting idle sessions.
- idleChecker - Variable in class org.apache.mina.session.AbstractIoSession
-
the
IdleChecker
in charge of detecting idle event for this session
- IdleEvent - Class in org.apache.mina.service.executor
-
An
IoSession
is idle (no sent or receive events)
- IdleEvent(IoSession, IdleStatus) - Constructor for class org.apache.mina.service.executor.IdleEvent
-
- IdleStatus - Enum in org.apache.mina.api
-
Represents the type of idleness of
IoSession
.
- incrementWrittenBytes(int) - Method in class org.apache.mina.session.AbstractIoSession
-
To be called by the internal plumber when some bytes are written on the socket
- IndexedIdleChecker - Class in org.apache.mina.service.idlechecker
-
An session idle detector using an index in place of polling every session every seconds.
- IndexedIdleChecker() - Constructor for class org.apache.mina.service.idlechecker.IndexedIdleChecker
-
- init() - Method in class org.apache.mina.transport.nio.SslHelper
-
Initialize the SSL handshake.
- initSecure(SSLContext) - Method in interface org.apache.mina.api.IoSession
-
Initializes the SSL/TLS environment for this session.
- initSecure(SSLContext) - Method in class org.apache.mina.session.AbstractIoSession
-
Initializes the SSL/TLS environment for this session.
- initSecured(IoSession) - Method in class org.apache.mina.transport.udp.AbstractUdpServer
- initState() - Method in class org.apache.mina.service.AbstractIoService
-
Initialize the IoService state
- IntTranscoder - Interface in org.apache.mina.codec.delimited.ints
-
- IoBuffer - Class in org.apache.mina.codec
-
A proxy class used to manage ByteBuffers as if they were just a big ByteBuffer.
- IoBufferDecoder<INPUT> - Class in org.apache.mina.codec.delimited
-
Abstract class providing both encoding and decoding methods between a given
type and ByteBuffers.
- IoBufferDecoder() - Constructor for class org.apache.mina.codec.delimited.IoBufferDecoder
-
- IoClient - Interface in org.apache.mina.api
-
Connects to several end-points, communicates with the server, and fires events to
org.apache.mina.service.IoHandler
s.
- IoFilter - Interface in org.apache.mina.api
-
Filter are interceptors/processors for incoming data received/sent.
- IoFuture<V> - Interface in org.apache.mina.api
-
A simple extension that allows listeners to register and receive results
asynchronously via registered listeners.
- IoFutureListener<V> - Interface in org.apache.mina.api
-
A listener that asynchronously receives the result of a future computation.
- IoHandler - Interface in org.apache.mina.api
-
Handle all the I/O events generated by a
IoService
.
- ioHandlerExecutor - Variable in class org.apache.mina.service.AbstractIoService
-
used for executing IoHandler event in another pool of thread (not in the low level I/O one)
- IoHandlerExecutor - Interface in org.apache.mina.service.executor
-
A class in charge of executing
IoHandler
related events.
- IoServer - Interface in org.apache.mina.api
-
A network server bound to a local address.
- IoService - Interface in org.apache.mina.api
-
- IoSession - Interface in org.apache.mina.api
-
A handle which represents a connection between two end-points regardless of transport types.
- IoSession.SessionState - Enum in org.apache.mina.api
-
- IoSessionConfig - Interface in org.apache.mina.api
-
- isActive() - Method in class org.apache.mina.service.AbstractIoService
-
- isBroadcast() - Method in class org.apache.mina.transport.udp.DefaultUdpSessionConfig
- isBroadcast() - Method in interface org.apache.mina.transport.udp.UdpSessionConfig
-
- isCancelled() - Method in class org.apache.mina.util.AbstractIoFuture
- isClosed() - Method in interface org.apache.mina.api.IoSession
-
Tells if the session is currently closed.
- isClosed() - Method in class org.apache.mina.session.AbstractIoSession
-
Tells if the session is currently closed.
- isClosing() - Method in interface org.apache.mina.api.IoSession
-
Tells if the session is being closed.
- isClosing() - Method in class org.apache.mina.session.AbstractIoSession
-
Tells if the session is being closed.
- isConnected() - Method in interface org.apache.mina.api.IoSession
-
Tells if the session is currently connected and able to process incoming requests and to send outgoing responses.
- isConnected() - Method in class org.apache.mina.session.AbstractIoSession
-
Tells if the session is currently connected and able to process incoming requests and to send outgoing responses.
- isConnectedSecured() - Method in interface org.apache.mina.api.IoSession
-
Tells if the session is using SSL/TLS.
- isConnectedSecured() - Method in class org.apache.mina.session.AbstractIoSession
-
Tells if the session is using SSL/TLS.
- isCreated() - Method in interface org.apache.mina.api.IoSession
-
Tells if the session is created.
- isCreated() - Method in class org.apache.mina.service.AbstractIoService
-
- isCreated() - Method in class org.apache.mina.session.AbstractIoSession
-
Tells if the session is created.
- isDefined() - Method in class org.apache.mina.codec.delimited.SizePrefixedDecoder.MutableInt
-
Returns the existence (or not) of an integer in this mutable.
- isDirect() - Method in class org.apache.mina.codec.IoBuffer
-
- isDisposed() - Method in class org.apache.mina.service.AbstractIoService
-
- isDisposing() - Method in class org.apache.mina.service.AbstractIoService
-
- isDone() - Method in class org.apache.mina.util.AbstractIoFuture
- isElastic() - Method in class org.apache.mina.util.ByteBufferOutputStream
-
- isKeepAlive() - Method in class org.apache.mina.http.api.DefaultHttpResponse
-
Returns true if this message enables keep-alive connection.
- isKeepAlive() - Method in interface org.apache.mina.http.api.HttpMessage
-
Returns true if this message enables keep-alive connection.
- isKeepAlive() - Method in class org.apache.mina.http.HttpRequestImpl
-
Returns true if this message enables keep-alive connection.
- isKeepAlive() - Method in class org.apache.mina.transport.tcp.DefaultTcpSessionConfig
- isKeepAlive() - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
- isKeepAlive() - Method in interface org.apache.mina.transport.tcp.TcpSessionConfig
-
- isOobInline() - Method in class org.apache.mina.transport.tcp.DefaultTcpSessionConfig
- isOobInline() - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
- isOobInline() - Method in interface org.apache.mina.transport.tcp.TcpSessionConfig
-
- isReadOnly() - Method in class org.apache.mina.codec.IoBuffer
-
- isReadSuspended() - Method in interface org.apache.mina.api.IoSession
-
Is read operation is suspended for this session.
- isReadSuspended() - Method in class org.apache.mina.transport.bio.BioUdpSession
-
Is read operation is suspended for this session.
- isReadSuspended() - Method in class org.apache.mina.transport.nio.NioTcpSession
-
Is read operation is suspended for this session.
- isReadSuspended() - Method in class org.apache.mina.transport.nio.NioUdpSession
-
Is read operation is suspended for this session.
- isRegisteredForWrite() - Method in class org.apache.mina.transport.nio.AbstractNioSession
-
- isReuseAddress() - Method in interface org.apache.mina.api.IoSessionConfig
-
- isReuseAddress() - Method in class org.apache.mina.service.server.AbstractIoServer
-
Is the reuse address enabled for this server.
- isReuseAddress() - Method in class org.apache.mina.session.AbstractIoSessionConfig
- isReuseAddress() - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
- isSecured() - Method in interface org.apache.mina.api.IoSession
-
Tells if the session is belonging to a secured connection.
- isSecured() - Method in class org.apache.mina.session.AbstractIoSession
-
Tells if the session is belonging to a secured connection.
- isSecured() - Method in class org.apache.mina.transport.tcp.DefaultTcpSessionConfig
-
Tells if the session provides some encryption (SSL/TLS)
- isSecured() - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
-
Tells if the session provides some encryption (SSL/TLS)
- isSecured() - Method in interface org.apache.mina.transport.tcp.TcpSessionConfig
-
Tells if the session provides some encryption (SSL/TLS)
- isSecuring() - Method in interface org.apache.mina.api.IoSession
-
Tells if the session is processing a SSL/TLS handshake.
- isSecuring() - Method in class org.apache.mina.session.AbstractIoSession
-
Tells if the session is processing a SSL/TLS handshake.
- isSuspended() - Method in class org.apache.mina.service.AbstractIoService
-
- isTcpNoDelay() - Method in class org.apache.mina.transport.tcp.DefaultTcpSessionConfig
- isTcpNoDelay() - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
- isTcpNoDelay() - Method in interface org.apache.mina.transport.tcp.TcpSessionConfig
-
- isWriteSuspended() - Method in interface org.apache.mina.api.IoSession
-
Is write operation is suspended for this session.
- isWriteSuspended() - Method in class org.apache.mina.transport.bio.BioUdpSession
-
Is write operation is suspended for this session.
- isWriteSuspended() - Method in class org.apache.mina.transport.nio.NioTcpSession
-
Is write operation is suspended for this session.
- isWriteSuspended() - Method in class org.apache.mina.transport.nio.NioUdpSession
-
Is write operation is suspended for this session.
- scheduleException(IoFutureListener<V>, Throwable) - Method in class org.apache.mina.util.AbstractIoFuture
-
- scheduleResult(IoFutureListener<V>, V) - Method in class org.apache.mina.util.AbstractIoFuture
-
- secured - Variable in class org.apache.mina.session.AbstractIoSession
-
Tells if the session is secured or not
- SelectorListener - Interface in org.apache.mina.transport.nio
-
Listen for selector events.
- SelectorLoop - Interface in org.apache.mina.transport.nio
-
- SelectorLoopPool - Interface in org.apache.mina.transport.nio
-
- SentEvent - Class in org.apache.mina.service.executor
-
- SentEvent(IoSession, Object) - Constructor for class org.apache.mina.service.executor.SentEvent
-
- serviceActivated(IoService) - Method in class org.apache.mina.api.AbstractIoHandler
-
Invoked when a new service is activated by an
IoService
.
- serviceActivated(IoService) - Method in interface org.apache.mina.api.IoHandler
-
Invoked when a new service is activated by an
IoService
.
- serviceInactivated(IoService) - Method in class org.apache.mina.api.AbstractIoHandler
-
Invoked when a service is inactivated by an
IoService
.
- serviceInactivated(IoService) - Method in interface org.apache.mina.api.IoHandler
-
Invoked when a service is inactivated by an
IoService
.
- sessionClosed(IoSession) - Method in class org.apache.mina.api.AbstractIoFilter
-
Invoked when a connection is closed.
- sessionClosed(IoSession) - Method in class org.apache.mina.api.AbstractIoHandler
-
Invoked when a connection is closed.
- sessionClosed(IoSession) - Method in interface org.apache.mina.api.IoFilter
-
Invoked when a connection is closed.
- sessionClosed(IoSession) - Method in interface org.apache.mina.api.IoHandler
-
Invoked when a connection is closed.
- sessionClosed(IoSession) - Method in class org.apache.mina.filter.codec.ProtocolCodecFilter
-
Invoked when a connection is closed.
- sessionClosed(IoSession) - Method in class org.apache.mina.filter.logging.LoggingFilter
-
Invoked when a connection is closed.
- sessionClosed(IoSession) - Method in class org.apache.mina.filter.query.RequestFilter
-
Invoked when a connection is closed.
- sessionIdle(IoSession, IdleStatus) - Method in class org.apache.mina.api.AbstractIoFilter
-
Invoked with the related
IdleStatus
when a connection becomes idle.
- sessionIdle(IoSession, IdleStatus) - Method in class org.apache.mina.api.AbstractIoHandler
-
Invoked with the related
IdleStatus
when a connection becomes idle.
- sessionIdle(IoSession, IdleStatus) - Method in interface org.apache.mina.api.IoFilter
-
Invoked with the related
IdleStatus
when a connection becomes idle.
- sessionIdle(IoSession, IdleStatus) - Method in interface org.apache.mina.api.IoHandler
-
Invoked with the related
IdleStatus
when a connection becomes idle.
- sessionIdle(IoSession, IdleStatus) - Method in class org.apache.mina.filter.logging.LoggingFilter
-
Invoked with the related
IdleStatus
when a connection becomes idle.
- sessionOpened(IoSession) - Method in class org.apache.mina.api.AbstractIoFilter
-
Invoked when a connection has been opened.
- sessionOpened(IoSession) - Method in class org.apache.mina.api.AbstractIoHandler
-
Invoked when a connection has been opened.
- sessionOpened(IoSession) - Method in interface org.apache.mina.api.IoFilter
-
Invoked when a connection has been opened.
- sessionOpened(IoSession) - Method in interface org.apache.mina.api.IoHandler
-
Invoked when a connection has been opened.
- sessionOpened(IoSession) - Method in class org.apache.mina.filter.codec.ProtocolCodecFilter
-
Invoked when a connection has been opened.
- sessionOpened(IoSession) - Method in class org.apache.mina.filter.logging.LoggingFilter
-
Invoked when a connection has been opened.
- sessionOpened(IoSession) - Method in class org.apache.mina.filter.query.RequestFilter
-
- sessionRead(AbstractIoSession, long) - Method in interface org.apache.mina.service.idlechecker.IdleChecker
-
Inform the IdleCheker a session have a read event
- sessionRead(AbstractIoSession, long) - Method in class org.apache.mina.service.idlechecker.IndexedIdleChecker
-
Inform the IdleCheker a session have a read event
- sessionWritten(AbstractIoSession, long) - Method in interface org.apache.mina.service.idlechecker.IdleChecker
-
Inform the IdleCheker a session have a write event
- sessionWritten(AbstractIoSession, long) - Method in class org.apache.mina.service.idlechecker.IndexedIdleChecker
-
Inform the IdleCheker a session have a write event
- setAcceptKey(SelectionKey) - Method in class org.apache.mina.transport.nio.NioTcpServer
-
- setActive() - Method in class org.apache.mina.service.AbstractIoService
-
Sets the IoService state to ACTIVE.
- setAttribute(AttributeKey<? extends T>, T) - Method in interface org.apache.mina.api.IoSession
-
Sets a user-defined attribute.
- setAttribute(AttributeKey<? extends T>, T) - Method in class org.apache.mina.session.AbstractIoSession
-
Sets a user-defined attribute.
- setBroadcast(boolean) - Method in class org.apache.mina.transport.udp.DefaultUdpSessionConfig
- setBroadcast(boolean) - Method in interface org.apache.mina.transport.udp.UdpSessionConfig
-
- setBufferLength(int) - Method in class org.apache.mina.codec.textline.TextLineDecoder
-
Sets the default buffer size.
- setCode(int) - Method in class org.apache.mina.coap.CoapMessage
-
- setCode(int) - Method in class org.apache.mina.coap.resource.CoapResponse
-
- setConnectTimeoutMillis(int) - Method in class org.apache.mina.transport.tcp.AbstractTcpClient
-
Sets the connect timeout in milliseconds.
- setContent(byte[]) - Method in class org.apache.mina.coap.resource.CoapResponse
-
- setCreated() - Method in class org.apache.mina.service.AbstractIoService
-
Sets the IoService state to CREATED.
- setDisposed() - Method in class org.apache.mina.service.AbstractIoService
-
Sets the IoService state to DISPOSED.
- setDisposing() - Method in class org.apache.mina.service.AbstractIoService
-
Sets the IoService state to DISPOSING.
- setElastic(boolean) - Method in class org.apache.mina.util.ByteBufferOutputStream
-
- setException(Throwable) - Method in class org.apache.mina.util.AbstractIoFuture
-
Set the future result as a
Throwable
, indicating that a throwable was thrown while executing the task.
- setFilters(IoFilter...) - Method in interface org.apache.mina.api.IoService
-
Set the list of filters for this service.
- setFilters(IoFilter...) - Method in class org.apache.mina.service.AbstractIoService
-
Set the list of filters for this service.
- setFuture(IoFuture<Void>) - Method in class org.apache.mina.session.DefaultWriteRequest
-
Store the future into the request
- setFuture(IoFuture<Void>) - Method in interface org.apache.mina.session.WriteRequest
-
Store the future into the request
- setId(int) - Method in class org.apache.mina.coap.CoapMessage
-
- setIdleTimeInMillis(IdleStatus, long) - Method in interface org.apache.mina.api.IoSessionConfig
-
Set the delay before an
IoSession
is considered idle for a given
operation type (read/write/both) @see IdleStatus
- setIdleTimeInMillis(IdleStatus, long) - Method in class org.apache.mina.session.AbstractIoSessionConfig
-
Set the delay before an
IoSession
is considered idle for a given
operation type (read/write/both) @see IdleStatus
- setIdleTimeInMillis(IdleStatus, long) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
-
Set the delay before an
IoSession
is considered idle for a given
operation type (read/write/both) @see IdleStatus
- setIoHandler(IoHandler) - Method in interface org.apache.mina.api.IoService
-
Set the
IoHandler
in charge of your business logic for this service.
- setIoHandler(IoHandler) - Method in class org.apache.mina.service.AbstractIoService
-
Set the
IoHandler
in charge of your business logic for this service.
- setKeepAlive(boolean) - Method in class org.apache.mina.transport.tcp.DefaultTcpSessionConfig
- setKeepAlive(boolean) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
- setKeepAlive(boolean) - Method in interface org.apache.mina.transport.tcp.TcpSessionConfig
-
- setMatchCount(int) - Method in class org.apache.mina.codec.textline.TextLineDecoder.Context
-
- setMaxLineLength(int) - Method in class org.apache.mina.codec.textline.TextLineDecoder
-
Sets the allowed maximum size of the line to be decoded.
- setMaxLineLength(int) - Method in class org.apache.mina.codec.textline.TextLineEncoder
-
Sets the allowed maximum size of the encoded line.
- setMessage(Object) - Method in class org.apache.mina.session.DefaultWriteRequest
-
Store the encoded message
- setMessage(Object) - Method in interface org.apache.mina.session.WriteRequest
-
Store the encoded message
- setMessageReceivedLogLevel(LogLevel) - Method in class org.apache.mina.filter.logging.LoggingFilter
-
Set the LogLevel for the MessageReceived event.
- setMessageSentLevel(LogLevel) - Method in class org.apache.mina.filter.logging.LoggingFilter
-
Set the LogLevel for the messageSent event.
- setMessageWritingLogLevel(LogLevel) - Method in class org.apache.mina.filter.logging.LoggingFilter
-
Set the LogLevel for the MessageWriting event.
- setNotRegisteredForWrite() - Method in class org.apache.mina.transport.nio.AbstractNioSession
-
- setOobInline(boolean) - Method in class org.apache.mina.transport.tcp.DefaultTcpSessionConfig
- setOobInline(boolean) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
- setOobInline(boolean) - Method in interface org.apache.mina.transport.tcp.TcpSessionConfig
-
- setOptions(CoapOption[]) - Method in class org.apache.mina.coap.CoapMessage
-
- setOptions(CoapOption[]) - Method in class org.apache.mina.coap.resource.CoapResponse
-
- setPartial(ByteBuffer) - Method in class org.apache.mina.http.HttpDecoderState
-
- setPayload(byte[]) - Method in class org.apache.mina.coap.CoapMessage
-
- setReadBufferSize(int) - Method in interface org.apache.mina.api.IoSessionConfig
-
Sets the size of the read buffer that I/O processor allocates
per each read.
- setReadBufferSize(int) - Method in class org.apache.mina.session.AbstractIoSessionConfig
-
Sets the size of the read buffer that I/O processor allocates
per each read.
- setReadBufferSize(int) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
-
Sets the size of the read buffer that I/O processor allocates
per each read.
- setReadKey(SelectionKey) - Method in class org.apache.mina.transport.nio.NioUdpServer
-
- setRemainingBytes(int) - Method in class org.apache.mina.http.HttpDecoderState
-
- setResult(V) - Method in class org.apache.mina.util.AbstractIoFuture
-
Set the future result of the executing task.
- setReuseAddress(boolean) - Method in interface org.apache.mina.api.IoSessionConfig
-
- setReuseAddress(boolean) - Method in class org.apache.mina.service.server.AbstractIoServer
-
Set the reuse address flag on the server socket
- setReuseAddress(boolean) - Method in class org.apache.mina.session.AbstractIoSessionConfig
- setReuseAddress(boolean) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
- setSecured(boolean) - Method in class org.apache.mina.session.AbstractIoSession
- setSendBufferSize(int) - Method in interface org.apache.mina.api.IoSessionConfig
-
Sets the size of the buffer that I/O processor allocates
per each write.
- setSendBufferSize(int) - Method in class org.apache.mina.session.AbstractIoSessionConfig
-
Sets the size of the buffer that I/O processor allocates
per each write.
- setSendBufferSize(int) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
-
Sets the size of the buffer that I/O processor allocates
per each write.
- setServerSocketChannel(ServerSocketChannel) - Method in class org.apache.mina.transport.nio.NioTcpServer
-
- setSessionClosedLogLevel(LogLevel) - Method in class org.apache.mina.filter.logging.LoggingFilter
-
Set the LogLevel for the SessionClosed event.
- setSessionConfig(IoSessionConfig) - Method in class org.apache.mina.service.server.AbstractIoServer
-
Set the default configuration for created TCP sessions
- setSessionConfig(TcpSessionConfig) - Method in class org.apache.mina.transport.tcp.AbstractTcpClient
-
Set the default configuration for created TCP sessions
- setSessionConfig(TcpSessionConfig) - Method in class org.apache.mina.transport.tcp.AbstractTcpServer
-
Set the default configuration for created TCP sessions
- setSessionConfig(UdpSessionConfig) - Method in class org.apache.mina.transport.udp.AbstractUdpServer
- setSessionIdleLogLevel(LogLevel) - Method in class org.apache.mina.filter.logging.LoggingFilter
-
Set the LogLevel for the SessionIdle event.
- setSessionOpenedLogLevel(LogLevel) - Method in class org.apache.mina.filter.logging.LoggingFilter
-
Set the LogLevel for the SessionOpened event.
- setSoLinger(int) - Method in class org.apache.mina.transport.tcp.DefaultTcpSessionConfig
-
Please note that enabling SO_LINGER in Java NIO can result
in platform-dependent behavior and unexpected blocking of I/O thread.
- setSoLinger(int) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
-
Please note that enabling SO_LINGER in Java NIO can result
in platform-dependent behavior and unexpected blocking of I/O thread.
- setSoLinger(int) - Method in interface org.apache.mina.transport.tcp.TcpSessionConfig
-
Please note that enabling SO_LINGER in Java NIO can result
in platform-dependent behavior and unexpected blocking of I/O thread.
- setSslContext(SSLContext) - Method in class org.apache.mina.transport.tcp.DefaultTcpSessionConfig
-
Inject a SSLContex
valid for the session.
- setSslContext(SSLContext) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
-
- setSslContext(SSLContext) - Method in interface org.apache.mina.transport.tcp.TcpSessionConfig
-
- setState(DecoderState) - Method in class org.apache.mina.http.HttpDecoderState
-
- setSuspended() - Method in class org.apache.mina.service.AbstractIoService
-
Sets the IoService state to SUSPENDED.
- setTcpNoDelay(boolean) - Method in class org.apache.mina.transport.tcp.DefaultTcpSessionConfig
- setTcpNoDelay(boolean) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
- setTcpNoDelay(boolean) - Method in interface org.apache.mina.transport.tcp.TcpSessionConfig
-
- setTimeout(int) - Method in interface org.apache.mina.api.IoSessionConfig
-
Sets the SO_TIMEOUT option for this socket
- setTimeout(int) - Method in class org.apache.mina.session.AbstractIoSessionConfig
-
Sets the SO_TIMEOUT option for this socket
- setTimeout(int) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
-
Sets the SO_TIMEOUT option for this socket
- setToken(byte[]) - Method in class org.apache.mina.coap.CoapMessage
-
- setTrafficClass(TrafficClassEnum) - Method in interface org.apache.mina.api.IoSessionConfig
-
Set the ToS flag for this session
- setTrafficClass(int) - Method in interface org.apache.mina.api.IoSessionConfig
-
Set the ToS flag for this session
- setTrafficClass(TrafficClassEnum) - Method in class org.apache.mina.session.AbstractIoSessionConfig
-
Set the ToS flag for this session
- setTrafficClass(int) - Method in class org.apache.mina.session.AbstractIoSessionConfig
-
Set the ToS flag for this session
- setTrafficClass(int) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
-
Set the ToS flag for this session
- setTrafficClass(TrafficClassEnum) - Method in class org.apache.mina.transport.tcp.ProxyTcpSessionConfig
-
Set the ToS flag for this session
- setType(MessageType) - Method in class org.apache.mina.coap.CoapMessage
-
- setValue(Integer) - Method in class org.apache.mina.codec.delimited.SizePrefixedDecoder.MutableInt
-
Set the value.
- setVersion(int) - Method in class org.apache.mina.coap.CoapMessage
-
- SizePrefixedDecoder<OUT> - Class in org.apache.mina.codec.delimited
-
- SizePrefixedDecoder(IoBufferDecoder<Integer>, IoBufferDecoder<OUT>) - Constructor for class org.apache.mina.codec.delimited.SizePrefixedDecoder
-
- SizePrefixedDecoder.MutableInt - Class in org.apache.mina.codec.delimited
-
- SizePrefixedEncoder<IN> - Class in org.apache.mina.codec.delimited
-
- SizePrefixedEncoder(ByteBufferEncoder<Integer>, ByteBufferEncoder<IN>) - Constructor for class org.apache.mina.codec.delimited.SizePrefixedEncoder
-
- skip(long) - Method in class org.apache.mina.util.ByteBufferInputStream
-
- slice() - Method in class org.apache.mina.codec.IoBuffer
-
- SSL_HELPER - Static variable in interface org.apache.mina.api.IoSession
-
The SslHelper instance name, stored in the session's attributes
- SslHelper - Class in org.apache.mina.transport.nio
-
An helper class used to manage everything related to SSL/TLS establishment and management.
- SslHelper(IoSession, SSLContext) - Constructor for class org.apache.mina.transport.nio.SslHelper
-
Create a new SSL Handler.
- start() - Method in interface org.apache.mina.service.idlechecker.IdleChecker
-
Start the idle checker inner threads
- start() - Method in class org.apache.mina.service.idlechecker.IndexedIdleChecker
-
Start the idle checker inner threads
- state - Variable in class org.apache.mina.session.AbstractIoSession
-
The session's state : one of CREATED, CONNECTED, CLOSING, CLOSED, SECURING, CONNECTED_SECURED
- StatelessProtocolDecoder<INPUT,OUTPUT> - Interface in org.apache.mina.codec
-
A state less
ProtocolDecoder
: no context stored for the different sessions.
- StatelessProtocolEncoder<INPUT,OUTPUT> - Interface in org.apache.mina.codec
-
A state less
ProtocolEncoder
: no context stored for the different sessions.
- suspendRead() - Method in interface org.apache.mina.api.IoSession
-
Suspends read operations for this session.
- suspendRead() - Method in class org.apache.mina.transport.bio.BioUdpSession
-
Suspends read operations for this session.
- suspendRead() - Method in class org.apache.mina.transport.nio.NioTcpSession
-
Suspends read operations for this session.
- suspendRead() - Method in class org.apache.mina.transport.nio.NioUdpSession
-
Suspends read operations for this session.
- suspendWrite() - Method in interface org.apache.mina.api.IoSession
-
Suspends write operations for this session.
- suspendWrite() - Method in class org.apache.mina.transport.bio.BioUdpSession
-
Suspends write operations for this session.
- suspendWrite() - Method in class org.apache.mina.transport.nio.NioTcpSession
-
Suspends write operations for this session.
- suspendWrite() - Method in class org.apache.mina.transport.nio.NioUdpSession
-
Suspends write operations for this session.
- valueOf(String) - Static method in enum org.apache.mina.api.IdleStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.mina.api.IoSession.SessionState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.mina.coap.CoapCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.mina.coap.CoapOptionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.mina.coap.MessageType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.mina.filter.logging.LogLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.mina.http.api.HttpMethod
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.mina.http.api.HttpStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.mina.http.api.HttpVerb
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.mina.http.api.HttpVersion
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.mina.http.DecoderState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.mina.service.AbstractIoService.ServiceState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.mina.session.TrafficClassEnum
-
Returns the enum constant of this type with the specified name.
- valueOf(int) - Static method in enum org.apache.mina.session.TrafficClassEnum
-
Get back the Enum value fro the integer value
- values() - Static method in enum org.apache.mina.api.IdleStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.mina.api.IoSession.SessionState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.mina.coap.CoapCode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.mina.coap.CoapOptionType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.mina.coap.MessageType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.mina.filter.logging.LogLevel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.mina.http.api.HttpMethod
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.mina.http.api.HttpStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.mina.http.api.HttpVerb
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.mina.http.api.HttpVersion
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.mina.http.DecoderState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.mina.service.AbstractIoService.ServiceState
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.mina.session.TrafficClassEnum
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VarInt - Class in org.apache.mina.codec.delimited.ints
-
Class providing a variable length representation of integers.
- VarInt() - Constructor for class org.apache.mina.codec.delimited.ints.VarInt
-
- visit(HttpRequest) - Method in interface org.apache.mina.http.api.HttpPduEncodingVisitor
-
- visit(HttpResponse) - Method in interface org.apache.mina.http.api.HttpPduEncodingVisitor
-
- visit(HttpContentChunk) - Method in interface org.apache.mina.http.api.HttpPduEncodingVisitor
-
- visit(HttpEndOfContent) - Method in interface org.apache.mina.http.api.HttpPduEncodingVisitor
-
- visit(EventVisitor) - Method in class org.apache.mina.service.executor.CloseEvent
-
- visit(EventVisitor) - Method in interface org.apache.mina.service.executor.Event
-
Call the visitor method for this kind of event.
- visit(OpenEvent) - Method in interface org.apache.mina.service.executor.EventVisitor
-
- visit(CloseEvent) - Method in interface org.apache.mina.service.executor.EventVisitor
-
- visit(ReceiveEvent) - Method in interface org.apache.mina.service.executor.EventVisitor
-
- visit(SentEvent) - Method in interface org.apache.mina.service.executor.EventVisitor
-
- visit(IdleEvent) - Method in interface org.apache.mina.service.executor.EventVisitor
-
- visit(EventVisitor) - Method in class org.apache.mina.service.executor.IdleEvent
-
- visit(EventVisitor) - Method in class org.apache.mina.service.executor.OpenEvent
-
- visit(EventVisitor) - Method in class org.apache.mina.service.executor.ReceiveEvent
-
- visit(EventVisitor) - Method in class org.apache.mina.service.executor.SentEvent
-