- get() - Method in class org.apache.mina.common.ByteBuffer
-
- get(int) - Method in class org.apache.mina.common.ByteBuffer
-
- get(byte[], int, int) - Method in class org.apache.mina.common.ByteBuffer
-
- get(byte[]) - Method in class org.apache.mina.common.ByteBuffer
-
- get() - Method in class org.apache.mina.common.ByteBufferProxy
-
- get(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- get(byte[], int, int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- get(byte[]) - Method in class org.apache.mina.common.ByteBufferProxy
-
- get(String) - Method in class org.apache.mina.common.DefaultIoFilterChainBuilder
-
- get(String) - Method in interface org.apache.mina.common.IoFilterChain
-
Returns the
IoFilter
with the specified
name in this chain.
- get(String) - Method in class org.apache.mina.handler.chain.IoHandlerChain
-
- get(int) - Method in class org.apache.mina.util.BlockingQueue
-
- get(Object) - Method in class org.apache.mina.util.ExpiringMap
-
- get(int) - Method in class org.apache.mina.util.Queue
-
- getAddress() - Method in class org.apache.mina.integration.spring.Binding
-
Returns the address the handler of this object will be bound to.
- getAll() - Method in class org.apache.mina.common.DefaultIoFilterChainBuilder
-
- getAll() - Method in interface org.apache.mina.common.IoFilterChain
-
- getAll() - Method in class org.apache.mina.handler.chain.IoHandlerChain
-
- getAllocator() - Static method in class org.apache.mina.common.ByteBuffer
-
Returns the current allocator which manages the allocated buffers.
- getAllReversed() - Method in class org.apache.mina.common.DefaultIoFilterChainBuilder
-
- getAllReversed() - Method in interface org.apache.mina.common.IoFilterChain
-
- getAllReversed() - Method in class org.apache.mina.handler.chain.IoHandlerChain
-
- getAttachment() - Method in interface org.apache.mina.common.IoSession
-
Returns an attachment of this session.
- getAttribute(String) - Method in interface org.apache.mina.common.IoSession
-
Returns the value of user-defined attribute of this session.
- getAttributeKeys() - Method in interface org.apache.mina.common.IoSession
-
Returns the set of keys of all user-defined attributes.
- getAvailablePorts() - Static method in class org.apache.mina.util.AvailablePortFinder
-
Returns the Set
of currently available port numbers
(Integer
).
- getAvailablePorts(int, int) - Static method in class org.apache.mina.util.AvailablePortFinder
-
Returns the Set
of currently avaliable port numbers (Integer
)
between the specified port range.
- getAverageByteReadThroughput() - Method in class org.apache.mina.integration.jmx.IoServiceManager
-
- getAverageByteReadThroughput() - Method in interface org.apache.mina.integration.jmx.IoServiceManagerMBean
-
average bytes read per seconds for all the managed sessions, be carefull
doesn't make sense for sateless servers
- getAverageByteWrittenThroughput() - Method in class org.apache.mina.integration.jmx.IoServiceManager
-
- getAverageByteWrittenThroughput() - Method in interface org.apache.mina.integration.jmx.IoServiceManagerMBean
-
average bytes written per seconds for all the managed sessions, be carefull
doesn't make sense for sateless servers
- getAverageMessageReadThroughput() - Method in class org.apache.mina.integration.jmx.IoServiceManager
-
- getAverageMessageReadThroughput() - Method in interface org.apache.mina.integration.jmx.IoServiceManagerMBean
-
average messages read per seconds for all the managed sessions, be carefull
doesn't make sense for sateless servers
- getAverageMessageWrittenThroughput() - Method in class org.apache.mina.integration.jmx.IoServiceManager
-
- getAverageMessageWrittenThroughput() - Method in interface org.apache.mina.integration.jmx.IoServiceManagerMBean
-
average messages written per seconds for all the managed sessions, be carefull
doesn't make sense for sateless servers
- getBacklog() - Method in class org.apache.mina.transport.socket.nio.SocketAcceptorConfig
-
- getBothIdleTime() - Method in class org.apache.mina.integration.jmx.IoSessionManager
-
- getBothIdleTime() - Method in interface org.apache.mina.integration.jmx.IoSessionManagerMBean
-
read and write IDLE time
- getByteReadThroughput() - Method in class org.apache.mina.management.IoSessionStat
-
Bytes read per second
- getByteReadThroughtput() - Method in class org.apache.mina.integration.jmx.IoSessionManager
-
- getByteReadThroughtput() - Method in interface org.apache.mina.integration.jmx.IoSessionManagerMBean
-
get the read bytes per second throughput
works only if a stat collector is inspecting this session,
- getBytesReadThroughput() - Method in class org.apache.mina.management.StatCollector
-
- getBytesWrittenThroughput() - Method in class org.apache.mina.management.StatCollector
-
- getByteWrittenThroughput() - Method in class org.apache.mina.management.IoSessionStat
-
Bytes written per second
- getByteWrittenThroughtput() - Method in class org.apache.mina.integration.jmx.IoSessionManager
-
- getByteWrittenThroughtput() - Method in interface org.apache.mina.integration.jmx.IoSessionManagerMBean
-
get the written bytes per second throughput
works only if a stat collector is inspecting this session,
- getChain() - Method in class org.apache.mina.handler.chain.ChainedIoHandler
-
Returns the
IoHandlerCommand
this handler will use to
handle
messageReceived events.
- getChar() - Method in class org.apache.mina.common.ByteBuffer
-
- getChar(int) - Method in class org.apache.mina.common.ByteBuffer
-
- getChar() - Method in class org.apache.mina.common.ByteBufferProxy
-
- getChar(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getCloseFuture() - Method in interface org.apache.mina.common.IoSession
-
- getCommand() - Method in class org.apache.mina.handler.chain.IoHandlerChain.Entry
-
Returns the command.
- getConfig() - Method in interface org.apache.mina.common.IoSession
-
Returns the configuration of this session.
- getConnectTimeout() - Method in interface org.apache.mina.common.IoConnectorConfig
-
Returns the connect timeout in seconds.
- getConnectTimeoutMillis() - Method in interface org.apache.mina.common.IoConnectorConfig
-
Returns the connect timeout in milliseconds.
- getCreationTime() - Method in interface org.apache.mina.common.IoSession
-
Returns the time in millis when this session is created.
- getCreationTime() - Method in class org.apache.mina.integration.jmx.IoSessionManager
-
- getCreationTime() - Method in interface org.apache.mina.integration.jmx.IoSessionManagerMBean
-
when the session was created
- getData() - Method in class org.apache.mina.filter.executor.ExecutorFilter.Event
-
- getDecoder() - Method in class org.apache.mina.filter.codec.demux.DemuxingProtocolCodecFactory
-
- getDecoder() - Method in interface org.apache.mina.filter.codec.demux.MessageDecoderFactory
-
Creates a new message decoder.
- getDecoder() - Method in interface org.apache.mina.filter.codec.ProtocolCodecFactory
-
Returns a new (or reusable) instance of
ProtocolDecoder
which
decodes binary or protocol-specific data into message objects.
- getDecoder() - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationCodecFactory
-
- getDecoder() - Method in class org.apache.mina.filter.codec.SynchronizedProtocolDecoder
-
Returns the decoder this decoder is decorating.
- getDecoder() - Method in class org.apache.mina.filter.codec.textline.TextLineCodecFactory
-
- getDecoderMaxLineLength() - Method in class org.apache.mina.filter.codec.textline.TextLineCodecFactory
-
Returns the allowed maximum size of the line to be decoded.
- getDecoderMaxObjectSize() - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationCodecFactory
-
Returns the allowed maximum size of the object to be decoded.
- getDefaultCharset() - Static method in class org.apache.mina.util.CharsetUtil
-
- getDefaultCharsetName() - Static method in class org.apache.mina.util.CharsetUtil
-
- getDefaultConfig() - Method in interface org.apache.mina.common.IoService
-
Returns the default configuration which is used when you didn't specify
any configuration.
- getDefaultConfig() - Method in class org.apache.mina.transport.socket.nio.SocketAcceptor
-
- getDefaultConfig() - Method in class org.apache.mina.transport.socket.nio.SocketConnector
-
- getDefaultConfig() - Method in class org.apache.mina.transport.vmpipe.VmPipeAcceptor
-
- getDefaultConfig() - Method in class org.apache.mina.transport.vmpipe.VmPipeConnector
-
- getDestination() - Method in class org.apache.mina.common.IoFilter.WriteRequest
-
Returne the destination of this write request.
- getDouble() - Method in class org.apache.mina.common.ByteBuffer
-
- getDouble(int) - Method in class org.apache.mina.common.ByteBuffer
-
- getDouble() - Method in class org.apache.mina.common.ByteBufferProxy
-
- getDouble(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getEnabledCipherSuites() - Method in class org.apache.mina.filter.SSLFilter
-
Returns the list of cipher suites to be enabled when SSLEngine
is initialized.
- getEnabledProtocols() - Method in class org.apache.mina.filter.SSLFilter
-
Returns the list of protocols to be enabled when SSLEngine
is initialized.
- getEncoder() - Method in class org.apache.mina.filter.codec.demux.DemuxingProtocolCodecFactory
-
- getEncoder() - Method in interface org.apache.mina.filter.codec.demux.MessageEncoderFactory
-
Creates a new message encoder.
- getEncoder() - Method in interface org.apache.mina.filter.codec.ProtocolCodecFactory
-
Returns a new (or reusable) instance of
ProtocolEncoder
which
encodes message objects into binary or protocol-specific data.
- getEncoder() - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationCodecFactory
-
- getEncoder() - Method in class org.apache.mina.filter.codec.SynchronizedProtocolEncoder
-
Returns the encoder this encoder is decorating.
- getEncoder() - Method in class org.apache.mina.filter.codec.textline.TextLineCodecFactory
-
- getEncoderMaxLineLength() - Method in class org.apache.mina.filter.codec.textline.TextLineCodecFactory
-
Returns the allowed maximum size of the encoded line.
- getEncoderMaxObjectSize() - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationCodecFactory
-
Returns the allowed maximum size of the encoded object.
- getEntry(String) - Method in class org.apache.mina.common.DefaultIoFilterChainBuilder
-
- getEntry(String) - Method in interface org.apache.mina.common.IoFilterChain
-
- getEntry(String) - Method in class org.apache.mina.handler.chain.IoHandlerChain
-
- getEnvelopeType() - Method in class org.apache.mina.common.TransportType
-
- getExecutor() - Method in class org.apache.mina.common.ExecutorThreadModel
-
Returns the underlying Executor
of this model.
- getExecutor() - Method in class org.apache.mina.filter.executor.ExecutorExecutor
-
Returns the underlying executor this thread pool wraps.
- getExecutor() - Method in class org.apache.mina.filter.executor.ExecutorFilter
-
Returns the underlying Executor
instance this filter uses.
- getExpirationInterval() - Method in class org.apache.mina.common.ExpiringSessionRecycler
-
- getExpirationInterval() - Method in class org.apache.mina.util.ExpiringMap.Expirer
-
- getExpirationInterval() - Method in class org.apache.mina.util.ExpiringMap
-
- getExpirer() - Method in class org.apache.mina.util.ExpiringMap
-
- getFilter() - Method in interface org.apache.mina.common.IoFilterChain.Entry
-
Returns the filter.
- getFilter() - Method in class org.apache.mina.integration.spring.IoFilterMapping
-
Returns the filter of this mapping.
- getFilterChain() - Method in interface org.apache.mina.common.IoService
-
- getFilterChain() - Method in interface org.apache.mina.common.IoServiceConfig
-
- getFilterChain() - Method in interface org.apache.mina.common.IoSession
-
Returns the filter chain that only affects this session.
- getFilterChainBuilder() - Method in interface org.apache.mina.common.IoService
-
- getFilterChainBuilder() - Method in interface org.apache.mina.common.IoServiceConfig
-
- getFloat() - Method in class org.apache.mina.common.ByteBuffer
-
- getFloat(int) - Method in class org.apache.mina.common.ByteBuffer
-
- getFloat() - Method in class org.apache.mina.common.ByteBufferProxy
-
- getFloat(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getFuture() - Method in class org.apache.mina.common.IoFilter.WriteRequest
-
Returns
WriteFuture
that is associated with this write request.
- getHandler() - Method in interface org.apache.mina.common.IoSession
-
Returns the
IoHandler
which handles this session.
- getHandler(IoSession) - Method in interface org.apache.mina.handler.multiton.SingleSessionIoHandlerFactory
-
- getHandler() - Method in class org.apache.mina.integration.spring.Binding
-
Returns the handler of this binding object.
- getHexDump() - Method in class org.apache.mina.common.ByteBuffer
-
Returns hexdump of this buffer.
- getHexDump() - Method in class org.apache.mina.common.ByteBufferProxy
-
- getHexdump() - Method in exception org.apache.mina.filter.codec.ProtocolDecoderException
-
Returns the hexdump of the unknown message part.
- getIdleCount(IdleStatus) - Method in interface org.apache.mina.common.IoSession
-
Returns the number of the fired continuous
sessionIdle events
for the specified
IdleStatus
.
- getIdleTime(IdleStatus) - Method in interface org.apache.mina.common.IoSession
-
Returns idle time for the specified type of idleness in seconds.
- getIdleTimeInMillis(IdleStatus) - Method in interface org.apache.mina.common.IoSession
-
Returns idle time for the specified type of idleness in milliseconds.
- getInstalledFilters() - Method in class org.apache.mina.integration.jmx.IoSessionManager
-
- getInstalledFilters() - Method in interface org.apache.mina.integration.jmx.IoSessionManagerMBean
-
get the list of filters installed in the filter chain
- getInstance() - Static method in class org.apache.mina.common.ExceptionMonitor
-
Returns the current exception monitor.
- getInstance(String) - Static method in class org.apache.mina.common.ExecutorThreadModel
-
- getInstance(int) - Static method in class org.apache.mina.common.TrafficMask
-
Returns an appropriate
TrafficMask
instance from the
specified
interestOps.
- getInstance(String) - Static method in class org.apache.mina.common.TransportType
-
Returns the transport type of the specified name.
- getInt() - Method in class org.apache.mina.common.ByteBuffer
-
- getInt(int) - Method in class org.apache.mina.common.ByteBuffer
-
- getInt() - Method in class org.apache.mina.common.ByteBufferProxy
-
- getInt(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getInterestOps() - Method in class org.apache.mina.common.TrafficMask
-
Returns an interestOps of SelectionKey
for this mask.
- getKeepAliveTime() - Method in interface org.apache.mina.filter.executor.ExecutorFilterMBean
-
- getLastIdleTime(IdleStatus) - Method in interface org.apache.mina.common.IoSession
-
Returns the time in millis when the last
sessionIdle event
is fired for the specified
IdleStatus
.
- getLastIoTime() - Method in interface org.apache.mina.common.IoSession
-
Returns the time in millis when I/O occurred lastly.
- getLastIoTime() - Method in class org.apache.mina.integration.jmx.IoSessionManager
-
- getLastIoTime() - Method in interface org.apache.mina.integration.jmx.IoSessionManagerMBean
-
last time the session processed an IO
- getLastReadTime() - Method in interface org.apache.mina.common.IoSession
-
Returns the time in millis when read operation occurred lastly.
- getLastReadTime() - Method in class org.apache.mina.integration.jmx.IoSessionManager
-
- getLastReadTime() - Method in interface org.apache.mina.integration.jmx.IoSessionManagerMBean
-
last time the session processed an read
- getLastWriteTime() - Method in interface org.apache.mina.common.IoSession
-
Returns the time in millis when write operation occurred lastly.
- getLastWriteTime() - Method in class org.apache.mina.integration.jmx.IoSessionManager
-
- getLastWriteTime() - Method in interface org.apache.mina.integration.jmx.IoSessionManagerMBean
-
last time the session processed a write
- getLocalAddress() - Method in interface org.apache.mina.common.IoSession
-
Returns the socket address of local machine which is associated with this
session.
- getLock() - Method in interface org.apache.mina.common.IoFuture
-
Returns the lock object this future acquires.
- getLong() - Method in class org.apache.mina.common.ByteBuffer
-
- getLong(int) - Method in class org.apache.mina.common.ByteBuffer
-
- getLong() - Method in class org.apache.mina.common.ByteBufferProxy
-
- getLong(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getManagedServiceAddresses() - Method in interface org.apache.mina.common.IoService
-
Returns all SocketAddress
es this service is managing.
- getManagedSessionCount() - Method in class org.apache.mina.integration.jmx.IoServiceManager
-
- getManagedSessionCount() - Method in interface org.apache.mina.integration.jmx.IoServiceManagerMBean
-
amount of session currently managed
- getManagedSessions(SocketAddress) - Method in interface org.apache.mina.common.IoService
-
Returns all sessions with the specified remote or local address,
which are currently managed by this service.
- getMaximumPoolSize() - Method in interface org.apache.mina.filter.executor.ExecutorFilterMBean
-
- getMaxLineLength() - Method in class org.apache.mina.filter.codec.textline.TextLineDecoder
-
Returns the allowed maximum size of the line to be decoded.
- getMaxLineLength() - Method in class org.apache.mina.filter.codec.textline.TextLineEncoder
-
Returns the allowed maximum size of the encoded line.
- getMaxObjectSize() - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationDecoder
-
Returns the allowed maximum size of the object to be decoded.
- getMaxObjectSize() - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationEncoder
-
Returns the allowed maximum size of the encoded object.
- getMaxObjectSize() - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationInputStream
-
Returns the allowed maximum size of the object to be decoded.
- getMaxObjectSize() - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationOutputStream
-
Returns the allowed maximum size of the encoded object.
- getMessage() - Method in class org.apache.mina.common.IoFilter.WriteRequest
-
Returns a message object to be written.
- getMessage() - Method in exception org.apache.mina.filter.codec.ProtocolDecoderException
-
Returns the message and the hexdump of the unknown part.
- getMessageHandler(Class) - Method in class org.apache.mina.handler.demux.DemuxingIoHandler
-
Returns the
MessageHandler
which is registered to process
the specified
type
.
- getMessageHandlerMap() - Method in class org.apache.mina.handler.demux.DemuxingIoHandler
-
Returns the
Map
which contains all messageType-
MessageHandler
pairs registered to this handler.
- getMessageReadThroughput() - Method in class org.apache.mina.management.IoSessionStat
-
Messages read per second
- getMessageReadThroughtput() - Method in class org.apache.mina.integration.jmx.IoSessionManager
-
- getMessageReadThroughtput() - Method in interface org.apache.mina.integration.jmx.IoSessionManagerMBean
-
get the read messages per second throughput
works only if a stat collector is inspecting this session, and only if a ProtocolDecoderFilter is used
- getMessageTypes() - Method in interface org.apache.mina.filter.codec.demux.MessageEncoder
-
Returns the set of message classes this encoder can encode.
- getMessageWrittenThroughput() - Method in class org.apache.mina.management.IoSessionStat
-
Messages written per second
- getMessageWrittenThroughtput() - Method in class org.apache.mina.integration.jmx.IoSessionManager
-
- getMessageWrittenThroughtput() - Method in interface org.apache.mina.integration.jmx.IoSessionManagerMBean
-
get the written messages per second throughput
works only if a stat collector is inspecting this session, and only if a ProtocolDecoderFilter is used
- getMsgReadThroughput() - Method in class org.apache.mina.management.StatCollector
-
- getMsgWrittenThroughput() - Method in class org.apache.mina.management.StatCollector
-
- getName() - Method in interface org.apache.mina.common.IoFilterChain.Entry
-
Returns the name of the filter.
- getName() - Method in class org.apache.mina.common.TrafficMask
-
Returns the name of this mask.
- getName() - Method in class org.apache.mina.handler.chain.IoHandlerChain.Entry
-
Returns the name of the command.
- getName() - Method in class org.apache.mina.integration.spring.IoFilterMapping
-
Returns the name associated with the filter.
- getNames() - Method in class org.apache.mina.common.TransportType
-
Returns the known names of this transport type.
- getNextAvailable() - Static method in class org.apache.mina.util.AvailablePortFinder
-
Gets the next available port starting at the lowest port number.
- getNextAvailable(int) - Static method in class org.apache.mina.util.AvailablePortFinder
-
Gets the next available port starting at a port.
- getNextCommand() - Method in class org.apache.mina.handler.chain.IoHandlerChain.Entry
-
- getNextCommand(String) - Method in class org.apache.mina.handler.chain.IoHandlerChain
-
- getNextFilter() - Method in interface org.apache.mina.common.IoFilterChain.Entry
-
- getNextFilter(String) - Method in interface org.apache.mina.common.IoFilterChain
-
- getNextFilter() - Method in class org.apache.mina.filter.executor.ExecutorFilter.Event
-
- getObject() - Method in class org.apache.mina.common.ByteBuffer
-
Reads a Java object from the buffer using the context ClassLoader
of the current thread.
- getObject(ClassLoader) - Method in class org.apache.mina.common.ByteBuffer
-
Reads a Java object from the buffer using the specified classLoader.
- getObject() - Method in class org.apache.mina.common.ByteBufferProxy
-
- getObject(ClassLoader) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getObject() - Method in class org.apache.mina.integration.spring.ExecutorThreadModelFactoryBean
-
- getObject() - Method in class org.apache.mina.integration.spring.IoAcceptorFactoryBean
-
- getObjectType() - Method in class org.apache.mina.integration.spring.DefaultIoFilterChainBuilderFactoryBean
-
- getObjectType() - Method in class org.apache.mina.integration.spring.ExecutorThreadModelFactoryBean
-
- getObjectType() - Method in class org.apache.mina.integration.spring.IoAcceptorFactoryBean
-
- getObjectType() - Method in class org.apache.mina.integration.spring.ssl.KeyStoreFactoryBean
-
- getObjectType() - Method in class org.apache.mina.integration.spring.ssl.SSLContextFactoryBean
-
- getObjectType() - Method in class org.apache.mina.integration.spring.ThreadPoolExecutorFactoryBean
-
- getPoolSize() - Method in interface org.apache.mina.filter.executor.ExecutorFilterMBean
-
- getPort() - Method in class org.apache.mina.transport.vmpipe.VmPipeAddress
-
Returns the port number.
- getPrefixedString(CharsetDecoder) - Method in class org.apache.mina.common.ByteBuffer
-
Reads a string which has a 16-bit length field before the actual
encoded string, using the specified decoder
and returns it.
- getPrefixedString(int, CharsetDecoder) - Method in class org.apache.mina.common.ByteBuffer
-
Reads a string which has a length field before the actual
encoded string, using the specified decoder
and returns it.
- getPrefixedString(CharsetDecoder) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getPrefixedString(int, CharsetDecoder) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getReadBytes() - Method in interface org.apache.mina.common.IoSession
-
Returns the total number of bytes which were read from this session.
- getReadBytes() - Method in class org.apache.mina.integration.jmx.IoSessionManager
-
- getReadBytes() - Method in interface org.apache.mina.integration.jmx.IoSessionManagerMBean
-
bytes read from the beginning
- getReadIdleTime() - Method in class org.apache.mina.integration.jmx.IoSessionManager
-
- getReadIdleTime() - Method in interface org.apache.mina.integration.jmx.IoSessionManagerMBean
-
read IDLE time
- getReadMessages() - Method in interface org.apache.mina.common.IoSession
-
Returns the total number of messages which were read and decoded from this session.
- getReadMessages() - Method in class org.apache.mina.integration.jmx.IoSessionManager
-
- getReadMessages() - Method in interface org.apache.mina.integration.jmx.IoSessionManagerMBean
-
PDU decoded from the beginning.
- getReadTimeout() - Method in class org.apache.mina.handler.StreamIoHandler
-
Returns read timeout in seconds.
- getReceiveBufferSize() - Method in interface org.apache.mina.transport.socket.nio.DatagramSessionConfig
-
- getReceiveBufferSize() - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
- getReceiveBufferSize() - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- getRemoteAddress() - Method in interface org.apache.mina.common.IoSession
-
Returns the socket address of remote peer.
- getScheduledWriteBytes() - Method in interface org.apache.mina.common.IoSession
-
Returns the number of bytes which are scheduled to be written to this
session.
- getScheduledWriteRequests() - Method in interface org.apache.mina.common.IoSession
-
Returns the number of write requests which are scheduled to be written
to this session.
- getSendBufferSize() - Method in interface org.apache.mina.transport.socket.nio.DatagramSessionConfig
-
- getSendBufferSize() - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
- getSendBufferSize() - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- getService() - Method in interface org.apache.mina.common.IoSession
-
Returns the
IoService
which provides I/O service to this session.
- getServiceAddress() - Method in interface org.apache.mina.common.IoSession
-
Returns the socket address of the
IoService
listens to to manage
this session.
- getServiceConfig() - Method in interface org.apache.mina.common.IoSession
-
- getServiceConfig() - Method in class org.apache.mina.integration.spring.Binding
-
- getSession() - Method in interface org.apache.mina.common.ConnectFuture
-
Returns
IoSession
which is the result of connect operation.
- getSession() - Method in interface org.apache.mina.common.IoFilterChain
-
- getSession() - Method in interface org.apache.mina.common.IoFuture
-
Returns the
IoSession
which is associated with this future.
- getSession() - Method in class org.apache.mina.handler.multiton.SingleSessionIoHandlerAdapter
-
Retrieves the session to which this handler is assigned.
- getSessionConfig() - Method in interface org.apache.mina.common.IoServiceConfig
-
Resturns the default configuration of the new
IoSession
s.
- getSessionConfig() - Method in class org.apache.mina.transport.socket.nio.DatagramAcceptorConfig
-
- getSessionConfig() - Method in class org.apache.mina.transport.socket.nio.DatagramConnectorConfig
-
- getSessionConfig() - Method in class org.apache.mina.transport.socket.nio.SocketAcceptorConfig
-
- getSessionConfig() - Method in class org.apache.mina.transport.socket.nio.SocketConnectorConfig
-
- getSessionCount() - Method in class org.apache.mina.management.StatCollector
-
- getSessionRecycler() - Method in class org.apache.mina.transport.socket.nio.DatagramAcceptorConfig
-
- getSessionRecycler() - Method in class org.apache.mina.transport.socket.nio.DatagramConnectorConfig
-
- getSessionRecycler() - Method in interface org.apache.mina.transport.socket.nio.DatagramServiceConfig
-
- getShort() - Method in class org.apache.mina.common.ByteBuffer
-
- getShort(int) - Method in class org.apache.mina.common.ByteBuffer
-
- getShort() - Method in class org.apache.mina.common.ByteBufferProxy
-
- getShort(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getSoLinger() - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
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.socket.nio.SocketSessionConfigImpl
-
- getSSLSession(IoSession) - Method in class org.apache.mina.filter.SSLFilter
-
Returns the underlying SSLSession
for the specified session.
- getString(CharsetDecoder) - Method in class org.apache.mina.common.ByteBuffer
-
Reads a NUL
-terminated string from this buffer using the
specified decoder
and returns it.
- getString(int, CharsetDecoder) - Method in class org.apache.mina.common.ByteBuffer
-
Reads a NUL
-terminated string from this buffer using the
specified decoder
and returns it.
- getString(int, CharsetDecoder) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getString(CharsetDecoder) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getThreadModel() - Method in interface org.apache.mina.common.IoServiceConfig
-
- getThreadNamePrefix() - Method in interface org.apache.mina.filter.executor.ExecutorFilterMBean
-
- getTimeout() - Method in class org.apache.mina.common.PooledByteBufferAllocator
-
Returns the timeout value of this allocator in seconds.
- getTimeoutMillis() - Method in class org.apache.mina.common.PooledByteBufferAllocator
-
Returns the timeout value of this allocator in milliseconds.
- getTimeToLive() - Method in class org.apache.mina.common.ExpiringSessionRecycler
-
- getTimeToLive() - Method in class org.apache.mina.util.ExpiringMap.Expirer
-
- getTimeToLive() - Method in class org.apache.mina.util.ExpiringMap
-
- getTotalByteReadThroughput() - Method in class org.apache.mina.integration.jmx.IoServiceManager
-
- getTotalByteReadThroughput() - Method in interface org.apache.mina.integration.jmx.IoServiceManagerMBean
-
bytes read per seconds sum of all the managed sessions
- getTotalByteWrittenThroughput() - Method in class org.apache.mina.integration.jmx.IoServiceManager
-
- getTotalByteWrittenThroughput() - Method in interface org.apache.mina.integration.jmx.IoServiceManagerMBean
-
bytes written per seconds sum for all the managed sessions
- getTotalMessageReadThroughput() - Method in class org.apache.mina.integration.jmx.IoServiceManager
-
- getTotalMessageReadThroughput() - Method in interface org.apache.mina.integration.jmx.IoServiceManagerMBean
-
messages read per seconds sum of all the managed sessions
- getTotalMessageWrittenThroughput() - Method in class org.apache.mina.integration.jmx.IoServiceManager
-
- getTotalMessageWrittenThroughput() - Method in interface org.apache.mina.integration.jmx.IoServiceManagerMBean
-
messages written per seconds sum for all the managed sessions
- getTotalProcessedSessions() - Method in class org.apache.mina.management.StatCollector
-
total number of sessions processed by the stat collector
- getTrafficClass() - Method in interface org.apache.mina.transport.socket.nio.DatagramSessionConfig
-
- getTrafficClass() - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
- getTrafficClass() - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- getTrafficMask() - Method in interface org.apache.mina.common.IoSession
-
- getTransportType() - Method in interface org.apache.mina.common.IoSession
-
Returns transport type of this session.
- getType() - Method in class org.apache.mina.filter.executor.ExecutorFilter.Event
-
- getUnsigned() - Method in class org.apache.mina.common.ByteBuffer
-
Reads one unsigned byte as a short integer.
- getUnsigned(int) - Method in class org.apache.mina.common.ByteBuffer
-
Reads one byte as an unsigned short integer.
- getUnsigned() - Method in class org.apache.mina.common.ByteBufferProxy
-
- getUnsigned(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getUnsignedInt() - Method in class org.apache.mina.common.ByteBuffer
-
Reads four bytes unsigned integer.
- getUnsignedInt(int) - Method in class org.apache.mina.common.ByteBuffer
-
Reads four bytes unsigned integer.
- getUnsignedInt() - Method in class org.apache.mina.common.ByteBufferProxy
-
- getUnsignedInt(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getUnsignedShort() - Method in class org.apache.mina.common.ByteBuffer
-
Reads two bytes unsigned integer.
- getUnsignedShort(int) - Method in class org.apache.mina.common.ByteBuffer
-
Reads two bytes unsigned integer.
- getUnsignedShort() - Method in class org.apache.mina.common.ByteBufferProxy
-
- getUnsignedShort(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- getValue() - Method in class org.apache.mina.filter.codec.textline.LineDelimiter
-
Return the delimiter string.
- getWorkerTimeout() - Method in class org.apache.mina.transport.socket.nio.SocketConnector
-
How many seconds to keep the connection thread alive between connection requests
- getWriteBufferSize() - Method in class org.apache.mina.filter.StreamWriteFilter
-
Returns the size of the write buffer in bytes.
- getWriteIdleTime() - Method in class org.apache.mina.integration.jmx.IoSessionManager
-
- getWriteIdleTime() - Method in interface org.apache.mina.integration.jmx.IoSessionManagerMBean
-
write IDLE time
- getWriteTimeout() - Method in interface org.apache.mina.common.IoSession
-
Returns write timeout in seconds.
- getWriteTimeout() - Method in class org.apache.mina.handler.StreamIoHandler
-
Returns write timeout in seconds.
- getWriteTimeoutInMillis() - Method in interface org.apache.mina.common.IoSession
-
Returns write timeout in milliseconds.
- getWrittenBytes() - Method in interface org.apache.mina.common.IoSession
-
Returns the total number of bytes which were written to this session.
- getWrittenBytes() - Method in class org.apache.mina.integration.jmx.IoSessionManager
-
- getWrittenBytes() - Method in interface org.apache.mina.integration.jmx.IoSessionManagerMBean
-
bytes written from the beginning
- getWrittenMessages() - Method in interface org.apache.mina.common.IoSession
-
Returns the total number of messages which were written and encoded by this session.
- getWrittenMessages() - Method in class org.apache.mina.integration.jmx.IoSessionManager
-
- getWrittenMessages() - Method in interface org.apache.mina.integration.jmx.IoSessionManagerMBean
-
PDU encoded from the beginning.
- getWrittenWriteRequests() - Method in interface org.apache.mina.common.IoSession
-
Returns the total number of write requests which were written to this session.
- IdentityHashSet - Class in org.apache.mina.util
-
An IdentityHashMap
-backed Set
.
- IdentityHashSet() - Constructor for class org.apache.mina.util.IdentityHashSet
-
- IdentityHashSet(Collection) - Constructor for class org.apache.mina.util.IdentityHashSet
-
- IDLE - Static variable in class org.apache.mina.filter.executor.ExecutorFilter.EventType
-
- IdleStatus - Class in org.apache.mina.common
-
- indexOf(Object) - Method in class org.apache.mina.util.BlockingQueue
-
- InetAddressEditor - Class in org.apache.mina.integration.spring
-
Java Bean PropertyEditor
which converts Strings into
InetAddress
objects.
- InetAddressEditor() - Constructor for class org.apache.mina.integration.spring.InetAddressEditor
-
- InetSocketAddressEditor - Class in org.apache.mina.integration.spring
-
Java Bean PropertyEditor
which converts Strings into
InetSocketAddress
objects.
- InetSocketAddressEditor() - Constructor for class org.apache.mina.integration.spring.InetSocketAddressEditor
-
- info(IoSession, String) - Static method in class org.apache.mina.util.SessionLog
-
- info(IoSession, String, Throwable) - Static method in class org.apache.mina.util.SessionLog
-
- init() - Method in interface org.apache.mina.common.IoFilter
-
- init() - Method in class org.apache.mina.common.IoFilterAdapter
-
- init() - Method in class org.apache.mina.filter.ReferenceCountingIoFilter
-
- INITIAL_WRITE_FUTURE - Static variable in class org.apache.mina.filter.StreamWriteFilter
-
- initialize(IoSession) - Static method in class org.apache.mina.util.SessionUtil
-
- IoAcceptor - Interface in org.apache.mina.common
-
Accepts incoming connection, communicates with clients, and fires events to
IoHandler
s.
- IoAcceptorConfig - Interface in org.apache.mina.common
-
A configuration which is used to configure
IoAcceptor
.
- IoAcceptorFactoryBean - Class in org.apache.mina.integration.spring
-
Spring
FactoryBean
which enables the bindings of an
IoAcceptor
to be configured using Spring.
- IoAcceptorFactoryBean() - Constructor for class org.apache.mina.integration.spring.IoAcceptorFactoryBean
-
- IoConnector - Interface in org.apache.mina.common
-
Connects to endpoint, communicates with the server, and fires events to
IoHandler
s.
- IoConnectorConfig - Interface in org.apache.mina.common
-
A configuration which is used to configure
IoConnector
.
- IoFilter - Interface in org.apache.mina.common
-
A filter which intercepts
IoHandler
events like Servlet
filters.
- IoFilter.NextFilter - Interface in org.apache.mina.common
-
- IoFilter.WriteRequest - Class in org.apache.mina.common
-
- IoFilterAdapter - Class in org.apache.mina.common
-
- IoFilterAdapter() - Constructor for class org.apache.mina.common.IoFilterAdapter
-
- IoFilterChain - Interface in org.apache.mina.common
-
- IoFilterChain.Entry - Interface in org.apache.mina.common
-
- IoFilterChainBuilder - Interface in org.apache.mina.common
-
- IoFilterLifeCycleException - Exception in org.apache.mina.common
-
- IoFilterLifeCycleException() - Constructor for exception org.apache.mina.common.IoFilterLifeCycleException
-
- IoFilterLifeCycleException(String) - Constructor for exception org.apache.mina.common.IoFilterLifeCycleException
-
- IoFilterLifeCycleException(String, Throwable) - Constructor for exception org.apache.mina.common.IoFilterLifeCycleException
-
- IoFilterLifeCycleException(Throwable) - Constructor for exception org.apache.mina.common.IoFilterLifeCycleException
-
- IoFilterMapping - Class in org.apache.mina.integration.spring
-
- IoFilterMapping() - Constructor for class org.apache.mina.integration.spring.IoFilterMapping
-
Creates a new empty instance.
- IoFilterMapping(String, IoFilter) - Constructor for class org.apache.mina.integration.spring.IoFilterMapping
-
Creates a new instance using the specified name and filter.
- IoFuture - Interface in org.apache.mina.common
-
Represents the result of an ashynchronous I/O operation.
- IoFutureListener - Interface in org.apache.mina.common
-
Something interested in being notified when the result
of an
IoFuture
becomes available.
- IoHandler - Interface in org.apache.mina.common
-
Handles all protocol events fired by MINA.
- IoHandlerAdapter - Class in org.apache.mina.common
-
- IoHandlerAdapter() - Constructor for class org.apache.mina.common.IoHandlerAdapter
-
- IoHandlerChain - Class in org.apache.mina.handler.chain
-
- IoHandlerChain() - Constructor for class org.apache.mina.handler.chain.IoHandlerChain
-
- IoHandlerChain.Entry - Class in org.apache.mina.handler.chain
-
- IoHandlerCommand - Interface in org.apache.mina.handler.chain
-
A
IoHandlerCommand
encapsulates a unit of processing work to be
performed, whose purpose is to examine and/or modify the state of a
transaction that is represented by custom attributes provided by
IoSession
.
- IoHandlerCommand.NextCommand - Interface in org.apache.mina.handler.chain
-
- IoService - Interface in org.apache.mina.common
-
- IoServiceConfig - Interface in org.apache.mina.common
-
A configuration which is used to configure
IoService
.
- IoServiceListener - Interface in org.apache.mina.common
-
Something interested in being notified when the result
of an
IoFuture
becomes available.
- IoServiceManager - Class in org.apache.mina.integration.jmx
-
- IoServiceManager(IoService) - Constructor for class org.apache.mina.integration.jmx.IoServiceManager
-
- IoServiceManagerMBean - Interface in org.apache.mina.integration.jmx
-
- IoSession - Interface in org.apache.mina.common
-
A handle which represents connection between two endpoints regardless of
transport types.
- IoSessionConfig - Interface in org.apache.mina.common
-
- IoSessionManager - Class in org.apache.mina.integration.jmx
-
- IoSessionManager(IoSession) - Constructor for class org.apache.mina.integration.jmx.IoSessionManager
-
create the session manager
- IoSessionManagerMBean - Interface in org.apache.mina.integration.jmx
-
MBean interface for the session manager, it's used for instrumenting IoSession
- IoSessionRecycler - Interface in org.apache.mina.common
-
A connectionless transport can recycle existing sessions by assigning an
IoSessionRecyler to its
IoServiceConfig
.
- IoSessionStat - Class in org.apache.mina.management
-
The collected stats for a session.
- IoSessionStat() - Constructor for class org.apache.mina.management.IoSessionStat
-
- isAutoExpand() - Method in class org.apache.mina.common.ByteBuffer
-
Returns true if and only if autoExpand is turned on.
- isAutoExpand() - Method in class org.apache.mina.common.ByteBufferProxy
-
- isBroadcast() - Method in interface org.apache.mina.transport.socket.nio.DatagramSessionConfig
-
- isClosed() - Method in interface org.apache.mina.common.CloseFuture
-
Returns true if the close request is finished and the session is closed.
- isClosing() - Method in interface org.apache.mina.common.IoSession
-
Returns true if and only if this session is being closed
(but not disconnected yet) or is closed.
- isCompressInbound() - Method in class org.apache.mina.filter.CompressionFilter
-
Returns true if incoming data is being compressed.
- isCompressOutbound() - Method in class org.apache.mina.filter.CompressionFilter
-
Returns true if the filter is compressing data being written.
- isConnected() - Method in interface org.apache.mina.common.ConnectFuture
-
Returns true if the connect operation is finished successfully.
- isConnected() - Method in interface org.apache.mina.common.IoSession
-
Returns true
if this session is connected with remote peer.
- isConnected() - Method in class org.apache.mina.integration.jmx.IoSessionManager
-
- isConnected() - Method in interface org.apache.mina.integration.jmx.IoSessionManagerMBean
-
is the session is connected
- isConnectionless() - Method in class org.apache.mina.common.TransportType
-
Returns true
if the session of this transport type is
connectionless.
- isDebugEnabled(IoSession) - Static method in class org.apache.mina.util.SessionLog
-
- isDirect() - Method in class org.apache.mina.common.ByteBuffer
-
- isDirect() - Method in class org.apache.mina.common.ByteBufferProxy
-
- isDisconnectOnUnbind() - Method in interface org.apache.mina.common.IoAcceptorConfig
-
Returns true if and only if all clients are disconnected
when this acceptor unbinds the related local address.
- isEmpty() - Method in class org.apache.mina.util.BlockingQueue
-
- isEmpty() - Method in class org.apache.mina.util.ExpiringMap
-
- isEmpty() - Method in class org.apache.mina.util.ExpiringStack
-
Returns true
if the stack is empty.
- isEmpty() - Method in class org.apache.mina.util.Queue
-
Returns true
if the queue is empty.
- isEmpty() - Method in class org.apache.mina.util.Stack
-
Returns true
if the stack is empty.
- isErrorEnabled(IoSession) - Static method in class org.apache.mina.util.SessionLog
-
- isGetTrafficClassAvailable() - Static method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- isIdle(IdleStatus) - Method in interface org.apache.mina.common.IoSession
-
Returns
true
if this session is idle for the specified
IdleStatus
.
- isInfoEnabled(IoSession) - Static method in class org.apache.mina.util.SessionLog
-
- isKeepAlive() - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
- isKeepAlive() - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- isManaged(SocketAddress) - Method in interface org.apache.mina.common.IoService
-
Returns true if this service is managing the specified serviceAddress.
- isNeedClientAuth() - Method in class org.apache.mina.filter.SSLFilter
-
Returns true if the engine will require client authentication.
- isOobInline() - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
- isOobInline() - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- isPooled() - Method in class org.apache.mina.common.ByteBuffer
-
Returns true if and only if this buffer is returned back
to the buffer pool when released.
- isPooled() - Method in class org.apache.mina.common.ByteBufferProxy
-
- isReadable() - Method in class org.apache.mina.common.TrafficMask
-
Returns true if this mask allows a read operation.
- isReadOnly() - Method in class org.apache.mina.common.ByteBuffer
-
- isReadOnly() - Method in class org.apache.mina.common.ByteBufferProxy
-
- isReady() - Method in interface org.apache.mina.common.IoFuture
-
Returns if the asynchronous operation is finished.
- isReuseAddress() - Method in interface org.apache.mina.transport.socket.nio.DatagramSessionConfig
-
- isReuseAddress() - Method in class org.apache.mina.transport.socket.nio.SocketAcceptorConfig
-
- isReuseAddress() - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
- isReuseAddress() - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- isRunning() - Method in class org.apache.mina.management.StatCollector
-
- isRunning() - Method in class org.apache.mina.util.ExpiringMap.Expirer
-
- isSetReceiveBufferSizeAvailable() - Static method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- isSetSendBufferSizeAvailable() - Static method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- isSetTrafficClassAvailable() - Static method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- isSingleton() - Method in class org.apache.mina.integration.spring.ExecutorThreadModelFactoryBean
-
- isSingleton() - Method in class org.apache.mina.integration.spring.IoAcceptorFactoryBean
-
- isSSLStarted(IoSession) - Method in class org.apache.mina.filter.SSLFilter
-
Returns true if and only if the specified session is
encrypted/decrypted over SSL/TLS currently.
- isTcpNoDelay() - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
- isTcpNoDelay() - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- isUseClientMode() - Method in class org.apache.mina.filter.SSLFilter
-
Returns true if the engine is set to use client mode
when handshaking.
- isUseDirectBuffers() - Static method in class org.apache.mina.common.ByteBuffer
-
- isWantClientAuth() - Method in class org.apache.mina.filter.SSLFilter
-
Returns true if the engine will request client authentication.
- isWarnEnabled(IoSession) - Static method in class org.apache.mina.util.SessionLog
-
- isWritable() - Method in class org.apache.mina.common.TrafficMask
-
Returns true if this mask allows a write operation.
- isWritten() - Method in interface org.apache.mina.common.WriteFuture
-
Returns true if the write operation is finished successfully.
- iterator() - Method in class org.apache.mina.util.BlockingQueue
-
- iterator() - Method in class org.apache.mina.util.IdentityHashSet
-
- peek() - Method in class org.apache.mina.util.BlockingQueue
-
- peek() - Method in class org.apache.mina.util.Queue
-
- poll() - Method in class org.apache.mina.util.BlockingQueue
-
- poll() - Method in class org.apache.mina.util.Queue
-
- PooledByteBufferAllocator - Class in org.apache.mina.common
-
- PooledByteBufferAllocator() - Constructor for class org.apache.mina.common.PooledByteBufferAllocator
-
Creates a new instance with the default timeout.
- PooledByteBufferAllocator(int) - Constructor for class org.apache.mina.common.PooledByteBufferAllocator
-
Creates a new instance with the specified timeout.
- pop() - Method in class org.apache.mina.util.BlockingQueue
-
- pop() - Method in class org.apache.mina.util.ExpiringStack
-
Pops from this stack.
- pop() - Method in class org.apache.mina.util.Queue
-
Dequeues from this queue.
- pop() - Method in class org.apache.mina.util.Stack
-
Pops from this stack.
- position() - Method in class org.apache.mina.common.ByteBuffer
-
- position(int) - Method in class org.apache.mina.common.ByteBuffer
-
- position() - Method in class org.apache.mina.common.ByteBufferProxy
-
- position(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- PREFIX - Static variable in class org.apache.mina.filter.LoggingFilter
-
Session attribute key: prefix string
- PREFIX - Static variable in class org.apache.mina.util.SessionLog
-
Session attribute key: prefix string
- prefixedDataAvailable(int) - Method in class org.apache.mina.common.ByteBuffer
-
Returns true if this buffer contains a data which has a data
length as a prefix and the buffer has remaining data as enough as
specified in the data length field.
- prefixedDataAvailable(int, int) - Method in class org.apache.mina.common.ByteBuffer
-
Returns true if this buffer contains a data which has a data
length as a prefix and the buffer has remaining data as enough as
specified in the data length field.
- processEvent(IoFilter.NextFilter, IoSession, ExecutorFilter.EventType, Object) - Method in class org.apache.mina.filter.executor.ExecutorFilter
-
- processStreamIo(IoSession, InputStream, OutputStream) - Method in class org.apache.mina.handler.StreamIoHandler
-
Implement this method to execute your stream I/O logic;
please note that you must forward the process request to other
thread or thread pool.
- ProtocolCodecException - Exception in org.apache.mina.filter.codec
-
- ProtocolCodecException() - Constructor for exception org.apache.mina.filter.codec.ProtocolCodecException
-
Constructs a new instance.
- ProtocolCodecException(String) - Constructor for exception org.apache.mina.filter.codec.ProtocolCodecException
-
Constructs a new instance with the specified message.
- ProtocolCodecException(Throwable) - Constructor for exception org.apache.mina.filter.codec.ProtocolCodecException
-
Constructs a new instance with the specified cause.
- ProtocolCodecException(String, Throwable) - Constructor for exception org.apache.mina.filter.codec.ProtocolCodecException
-
Constructs a new instance with the specified message and the specified
cause.
- ProtocolCodecFactory - Interface in org.apache.mina.filter.codec
-
- ProtocolCodecFilter - Class in org.apache.mina.filter.codec
-
- ProtocolCodecFilter(ProtocolCodecFactory) - Constructor for class org.apache.mina.filter.codec.ProtocolCodecFilter
-
- ProtocolCodecFilter(ProtocolEncoder, ProtocolDecoder) - Constructor for class org.apache.mina.filter.codec.ProtocolCodecFilter
-
- ProtocolCodecFilter(Class, Class) - Constructor for class org.apache.mina.filter.codec.ProtocolCodecFilter
-
- ProtocolDecoder - Interface in org.apache.mina.filter.codec
-
Decodes binary or protocol-specific data into higher-level message objects.
- ProtocolDecoderAdapter - Class in org.apache.mina.filter.codec
-
- ProtocolDecoderAdapter() - Constructor for class org.apache.mina.filter.codec.ProtocolDecoderAdapter
-
- ProtocolDecoderException - Exception in org.apache.mina.filter.codec
-
- ProtocolDecoderException() - Constructor for exception org.apache.mina.filter.codec.ProtocolDecoderException
-
Constructs a new instance.
- ProtocolDecoderException(String) - Constructor for exception org.apache.mina.filter.codec.ProtocolDecoderException
-
Constructs a new instance with the specified message.
- ProtocolDecoderException(Throwable) - Constructor for exception org.apache.mina.filter.codec.ProtocolDecoderException
-
Constructs a new instance with the specified cause.
- ProtocolDecoderException(String, Throwable) - Constructor for exception org.apache.mina.filter.codec.ProtocolDecoderException
-
Constructs a new instance with the specified message and the specified
cause.
- ProtocolDecoderOutput - Interface in org.apache.mina.filter.codec
-
- ProtocolEncoder - Interface in org.apache.mina.filter.codec
-
Encodes higher-level message objects into binary or protocol-specific data.
- ProtocolEncoderAdapter - Class in org.apache.mina.filter.codec
-
An abstract
ProtocolEncoder
implementation for those who don't have any
resources to dispose.
- ProtocolEncoderAdapter() - Constructor for class org.apache.mina.filter.codec.ProtocolEncoderAdapter
-
- ProtocolEncoderException - Exception in org.apache.mina.filter.codec
-
An exception that is thrown when
ProtocolEncoder
cannot understand or failed to validate the specified message object.
- ProtocolEncoderException() - Constructor for exception org.apache.mina.filter.codec.ProtocolEncoderException
-
Constructs a new instance.
- ProtocolEncoderException(String) - Constructor for exception org.apache.mina.filter.codec.ProtocolEncoderException
-
Constructs a new instance with the specified message.
- ProtocolEncoderException(Throwable) - Constructor for exception org.apache.mina.filter.codec.ProtocolEncoderException
-
Constructs a new instance with the specified cause.
- ProtocolEncoderException(String, Throwable) - Constructor for exception org.apache.mina.filter.codec.ProtocolEncoderException
-
Constructs a new instance with the specified message and the specified
cause.
- ProtocolEncoderOutput - Interface in org.apache.mina.filter.codec
-
- push(Object) - Method in class org.apache.mina.util.BlockingQueue
-
- push(Object) - Method in class org.apache.mina.util.ExpiringStack
-
Push into this stack.
- push(Object) - Method in class org.apache.mina.util.Queue
-
Enqueue into this queue.
- push(Object) - Method in class org.apache.mina.util.Stack
-
Push into this stack.
- put(byte) - Method in class org.apache.mina.common.ByteBuffer
-
- put(int, byte) - Method in class org.apache.mina.common.ByteBuffer
-
- put(ByteBuffer) - Method in class org.apache.mina.common.ByteBuffer
-
Writes the content of the specified src into this buffer.
- put(ByteBuffer) - Method in class org.apache.mina.common.ByteBuffer
-
Writes the content of the specified src into this buffer.
- put(byte[], int, int) - Method in class org.apache.mina.common.ByteBuffer
-
- put(byte[]) - Method in class org.apache.mina.common.ByteBuffer
-
- put(byte) - Method in class org.apache.mina.common.ByteBufferProxy
-
- put(int, byte) - Method in class org.apache.mina.common.ByteBufferProxy
-
- put(ByteBuffer) - Method in class org.apache.mina.common.ByteBufferProxy
-
- put(ByteBuffer) - Method in class org.apache.mina.common.ByteBufferProxy
-
- put(byte[], int, int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- put(byte[]) - Method in class org.apache.mina.common.ByteBufferProxy
-
- put(IoSession) - Method in class org.apache.mina.common.ExpiringSessionRecycler
-
- put(IoSession) - Method in interface org.apache.mina.common.IoSessionRecycler
-
Called when the underlying transport creates or writes a new
IoSession
.
- put(Object, Object) - Method in class org.apache.mina.util.ExpiringMap
-
- putAll(Map) - Method in class org.apache.mina.util.ExpiringMap
-
- putChar(char) - Method in class org.apache.mina.common.ByteBuffer
-
- putChar(int, char) - Method in class org.apache.mina.common.ByteBuffer
-
- putChar(char) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putChar(int, char) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putDouble(double) - Method in class org.apache.mina.common.ByteBuffer
-
- putDouble(int, double) - Method in class org.apache.mina.common.ByteBuffer
-
- putDouble(double) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putDouble(int, double) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putFloat(float) - Method in class org.apache.mina.common.ByteBuffer
-
- putFloat(int, float) - Method in class org.apache.mina.common.ByteBuffer
-
- putFloat(float) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putFloat(int, float) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putInt(int) - Method in class org.apache.mina.common.ByteBuffer
-
- putInt(int, int) - Method in class org.apache.mina.common.ByteBuffer
-
- putInt(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putInt(int, int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putLong(long) - Method in class org.apache.mina.common.ByteBuffer
-
- putLong(int, long) - Method in class org.apache.mina.common.ByteBuffer
-
- putLong(long) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putLong(int, long) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putObject(Object) - Method in class org.apache.mina.common.ByteBuffer
-
Writes the specified Java object to the buffer.
- putObject(Object) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putPrefixedString(CharSequence, CharsetEncoder) - Method in class org.apache.mina.common.ByteBuffer
-
Writes the content of in
into this buffer as a
string which has a 16-bit length field before the actual
encoded string, using the specified encoder
.
- putPrefixedString(CharSequence, int, CharsetEncoder) - Method in class org.apache.mina.common.ByteBuffer
-
Writes the content of in
into this buffer as a
string which has a 16-bit length field before the actual
encoded string, using the specified encoder
.
- putPrefixedString(CharSequence, int, int, CharsetEncoder) - Method in class org.apache.mina.common.ByteBuffer
-
Writes the content of in
into this buffer as a
string which has a 16-bit length field before the actual
encoded string, using the specified encoder
.
- putPrefixedString(CharSequence, int, int, byte, CharsetEncoder) - Method in class org.apache.mina.common.ByteBuffer
-
Writes the content of in
into this buffer as a
string which has a 16-bit length field before the actual
encoded string, using the specified encoder
.
- putPrefixedString(CharSequence, CharsetEncoder) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putPrefixedString(CharSequence, int, CharsetEncoder) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putPrefixedString(CharSequence, int, int, CharsetEncoder) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putPrefixedString(CharSequence, int, int, byte, CharsetEncoder) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putShort(short) - Method in class org.apache.mina.common.ByteBuffer
-
- putShort(int, short) - Method in class org.apache.mina.common.ByteBuffer
-
- putShort(short) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putShort(int, short) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putString(CharSequence, CharsetEncoder) - Method in class org.apache.mina.common.ByteBuffer
-
Writes the content of in
into this buffer using the
specified encoder
.
- putString(CharSequence, int, CharsetEncoder) - Method in class org.apache.mina.common.ByteBuffer
-
Writes the content of in
into this buffer as a
NUL
-terminated string using the specified
encoder
.
- putString(CharSequence, int, CharsetEncoder) - Method in class org.apache.mina.common.ByteBufferProxy
-
- putString(CharSequence, CharsetEncoder) - Method in class org.apache.mina.common.ByteBufferProxy
-
- SENT - Static variable in class org.apache.mina.filter.executor.ExecutorFilter.EventType
-
- serviceActivated(IoService, SocketAddress, IoHandler, IoServiceConfig) - Method in interface org.apache.mina.common.IoServiceListener
-
Invoked when a new service is activated by an
IoService
.
- serviceDeactivated(IoService, SocketAddress, IoHandler, IoServiceConfig) - Method in interface org.apache.mina.common.IoServiceListener
-
Invoked when a service is deactivated by an
IoService
.
- SESSION_SECURED - Static variable in class org.apache.mina.filter.SSLFilter
-
- SESSION_UNSECURED - Static variable in class org.apache.mina.filter.SSLFilter
-
- sessionClosed(IoSession) - Method in interface org.apache.mina.common.IoFilter.NextFilter
-
Forwards sessionClosed event to next filter.
- sessionClosed(IoFilter.NextFilter, IoSession) - Method in interface org.apache.mina.common.IoFilter
-
- sessionClosed(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.common.IoFilterAdapter
-
- sessionClosed(IoSession) - Method in interface org.apache.mina.common.IoHandler
-
Invoked when the connection is closed.
- sessionClosed(IoSession) - Method in class org.apache.mina.common.IoHandlerAdapter
-
- sessionClosed(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.BlacklistFilter
-
- sessionClosed(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.codec.ProtocolCodecFilter
-
- sessionClosed(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.executor.ExecutorFilter
-
- sessionClosed(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.LoggingFilter
-
- sessionClosed(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.ReferenceCountingIoFilter
-
- sessionClosed(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.SSLFilter
-
- sessionClosed() - Method in interface org.apache.mina.handler.multiton.SingleSessionIoHandler
-
Invoked when the connection is closed.
- sessionClosed() - Method in class org.apache.mina.handler.multiton.SingleSessionIoHandlerAdapter
-
- sessionClosed(IoSession) - Method in class org.apache.mina.handler.multiton.SingleSessionIoHandlerDelegate
-
- sessionClosed(IoSession) - Method in class org.apache.mina.handler.StreamIoHandler
-
Closes streams
- sessionCreated(IoSession) - Method in interface org.apache.mina.common.IoFilter.NextFilter
-
Forwards sessionCreated event to next filter.
- sessionCreated(IoFilter.NextFilter, IoSession) - Method in interface org.apache.mina.common.IoFilter
-
- sessionCreated(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.common.IoFilterAdapter
-
- sessionCreated(IoSession) - Method in interface org.apache.mina.common.IoHandler
-
Invoked when the session is created.
- sessionCreated(IoSession) - Method in class org.apache.mina.common.IoHandlerAdapter
-
- sessionCreated(IoSession) - Method in interface org.apache.mina.common.IoServiceListener
-
Invoked when a new session is created by an
IoService
.
- sessionCreated(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.BlacklistFilter
-
- sessionCreated(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.executor.ExecutorFilter
-
- sessionCreated(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.LoggingFilter
-
- sessionCreated(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.ReferenceCountingIoFilter
-
- sessionCreated() - Method in interface org.apache.mina.handler.multiton.SingleSessionIoHandler
-
Invoked when the session is created.
- sessionCreated() - Method in class org.apache.mina.handler.multiton.SingleSessionIoHandlerAdapter
-
- sessionCreated(IoSession) - Method in class org.apache.mina.handler.multiton.SingleSessionIoHandlerDelegate
-
Creates a new instance with the factory passed to the constructor of
this class.
- sessionDestroyed(IoSession) - Method in interface org.apache.mina.common.IoServiceListener
-
Invoked when a session is being destroyed by an
IoService
.
- sessionIdle(IoSession, IdleStatus) - Method in interface org.apache.mina.common.IoFilter.NextFilter
-
Forwards sessionIdle event to next filter.
- sessionIdle(IoFilter.NextFilter, IoSession, IdleStatus) - Method in interface org.apache.mina.common.IoFilter
-
- sessionIdle(IoFilter.NextFilter, IoSession, IdleStatus) - Method in class org.apache.mina.common.IoFilterAdapter
-
- sessionIdle(IoSession, IdleStatus) - Method in interface org.apache.mina.common.IoHandler
-
Invoked when the connection is idle.
- sessionIdle(IoSession, IdleStatus) - Method in class org.apache.mina.common.IoHandlerAdapter
-
- sessionIdle(IoFilter.NextFilter, IoSession, IdleStatus) - Method in class org.apache.mina.filter.BlacklistFilter
-
- sessionIdle(IoFilter.NextFilter, IoSession, IdleStatus) - Method in class org.apache.mina.filter.executor.ExecutorFilter
-
- sessionIdle(IoFilter.NextFilter, IoSession, IdleStatus) - Method in class org.apache.mina.filter.LoggingFilter
-
- sessionIdle(IoFilter.NextFilter, IoSession, IdleStatus) - Method in class org.apache.mina.filter.ReferenceCountingIoFilter
-
- sessionIdle(IdleStatus) - Method in interface org.apache.mina.handler.multiton.SingleSessionIoHandler
-
Invoked when the connection is idle.
- sessionIdle(IdleStatus) - Method in class org.apache.mina.handler.multiton.SingleSessionIoHandlerAdapter
-
- sessionIdle(IoSession, IdleStatus) - Method in class org.apache.mina.handler.multiton.SingleSessionIoHandlerDelegate
-
- sessionIdle(IoSession, IdleStatus) - Method in class org.apache.mina.handler.StreamIoHandler
-
Handles read timeout.
- SessionLog - Class in org.apache.mina.util
-
Provides utility methods to log protocol-specific messages.
- SessionLog() - Constructor for class org.apache.mina.util.SessionLog
-
- sessionOpened(IoSession) - Method in interface org.apache.mina.common.IoFilter.NextFilter
-
Forwards sessionOpened event to next filter.
- sessionOpened(IoFilter.NextFilter, IoSession) - Method in interface org.apache.mina.common.IoFilter
-
- sessionOpened(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.common.IoFilterAdapter
-
- sessionOpened(IoSession) - Method in interface org.apache.mina.common.IoHandler
-
Invoked when the connection is opened.
- sessionOpened(IoSession) - Method in class org.apache.mina.common.IoHandlerAdapter
-
- sessionOpened(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.BlacklistFilter
-
- sessionOpened(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.executor.ExecutorFilter
-
- sessionOpened(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.LoggingFilter
-
- sessionOpened(IoFilter.NextFilter, IoSession) - Method in class org.apache.mina.filter.ReferenceCountingIoFilter
-
- sessionOpened() - Method in interface org.apache.mina.handler.multiton.SingleSessionIoHandler
-
Invoked when the connection is opened.
- sessionOpened() - Method in class org.apache.mina.handler.multiton.SingleSessionIoHandlerAdapter
-
- sessionOpened(IoSession) - Method in class org.apache.mina.handler.multiton.SingleSessionIoHandlerDelegate
-
- sessionOpened(IoSession) - Method in class org.apache.mina.handler.StreamIoHandler
-
Initializes streams and timeout settings.
- SessionUtil - Class in org.apache.mina.util
-
A session utility
- set(int, Object) - Method in class org.apache.mina.util.BlockingQueue
-
- set(int, Object) - Method in class org.apache.mina.util.Queue
-
- setAddress(SocketAddress) - Method in class org.apache.mina.integration.spring.Binding
-
Sets the address the handler of this object will be bound to.
- setAllocator(ByteBufferAllocator) - Static method in class org.apache.mina.common.ByteBuffer
-
Changes the current allocator with the specified one to manage
the allocated buffers from now.
- setAsText(String) - Method in class org.apache.mina.integration.spring.InetAddressEditor
-
- setAsText(String) - Method in class org.apache.mina.integration.spring.InetSocketAddressEditor
-
- setAsText(String) - Method in class org.apache.mina.integration.spring.VmPipeAddressEditor
-
- setAttachment(Object) - Method in interface org.apache.mina.common.IoSession
-
Sets an attachment of this session.
- setAttribute(String, Object) - Method in interface org.apache.mina.common.IoSession
-
Sets a user-defined attribute.
- setAttribute(String) - Method in interface org.apache.mina.common.IoSession
-
Sets a user defined attribute without a value.
- setAutoExpand(boolean) - Method in class org.apache.mina.common.ByteBuffer
-
Turns on or off autoExpand.
- setAutoExpand(boolean) - Method in class org.apache.mina.common.ByteBufferProxy
-
- setBacklog(int) - Method in class org.apache.mina.transport.socket.nio.SocketAcceptorConfig
-
- setBindings(Binding[]) - Method in class org.apache.mina.integration.spring.IoAcceptorFactoryBean
-
Sets the bindings to be used by the
IoAcceptor
configured by this
factory bean.
- setBlacklist(InetAddress[]) - Method in class org.apache.mina.filter.BlacklistFilter
-
Sets the addresses to be blacklisted.
- setBlacklist(Collection) - Method in class org.apache.mina.filter.BlacklistFilter
-
Sets the addresses to be blacklisted.
- setBroadcast(boolean) - Method in interface org.apache.mina.transport.socket.nio.DatagramSessionConfig
-
- setClosed() - Method in interface org.apache.mina.common.CloseFuture
-
Marks this future as closed and notifies all threads waiting for this
future.
- setCompressInbound(boolean) - Method in class org.apache.mina.filter.CompressionFilter
-
Sets if incoming data has to be compressed.
- setCompressOutbound(boolean) - Method in class org.apache.mina.filter.CompressionFilter
-
Set if outgoing data has to be compressed.
- setConnectTimeout(int) - Method in interface org.apache.mina.common.IoConnectorConfig
-
Sets the connect timeout in seconds.
- setCorePoolSize(int) - Method in class org.apache.mina.integration.spring.ThreadPoolExecutorFactoryBean
-
Set the ThreadPoolExecutor's core pool size.
- setDecoderMaxLineLength(int) - Method in class org.apache.mina.filter.codec.textline.TextLineCodecFactory
-
Sets the allowed maximum size of the line to be decoded.
- setDecoderMaxObjectSize(int) - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationCodecFactory
-
Sets the allowed maximum size of the object to be decoded.
- setDefaultConfig(DatagramAcceptorConfig) - Method in class org.apache.mina.transport.socket.nio.DatagramAcceptor
-
Sets the config this acceptor will use by default.
- setDefaultConfig(DatagramConnectorConfig) - Method in class org.apache.mina.transport.socket.nio.DatagramConnector
-
Sets the default config this connector should use.
- setDefaultConfig(SocketAcceptorConfig) - Method in class org.apache.mina.transport.socket.nio.SocketAcceptor
-
Sets the config this acceptor will use by default.
- setDefaultConfig(SocketConnectorConfig) - Method in class org.apache.mina.transport.socket.nio.SocketConnector
-
Sets the config this connector will use by default.
- setDisconnectOnUnbind(boolean) - Method in interface org.apache.mina.common.IoAcceptorConfig
-
Sets whether all clients are disconnected when this acceptor unbinds the
related local address.
- setEnabledCipherSuites(String[]) - Method in class org.apache.mina.filter.SSLFilter
-
Sets the list of cipher suites to be enabled when SSLEngine
is initialized.
- setEnabledProtocols(String[]) - Method in class org.apache.mina.filter.SSLFilter
-
Sets the list of protocols to be enabled when SSLEngine
is initialized.
- setEncoderMaxLineLength(int) - Method in class org.apache.mina.filter.codec.textline.TextLineCodecFactory
-
Sets the allowed maximum size of the encoded line.
- setEncoderMaxObjectSize(int) - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationCodecFactory
-
Sets the allowed maximum size of the encoded object.
- setException(Throwable) - Method in interface org.apache.mina.common.ConnectFuture
-
Sets the exception caught due to connection failure and notifies all
threads waiting for this future.
- setExecutor(Executor) - Method in class org.apache.mina.common.ExecutorThreadModel
-
Changes the underlying Executor
of this model.
- setExecutor(Executor) - Method in class org.apache.mina.integration.spring.ExecutorThreadModelFactoryBean
-
Sets the Executor
to use.
- setExpirationInterval(int) - Method in class org.apache.mina.common.ExpiringSessionRecycler
-
- setExpirationInterval(long) - Method in class org.apache.mina.util.ExpiringMap.Expirer
-
- setExpirationInterval(int) - Method in class org.apache.mina.util.ExpiringMap
-
- setFile(File) - Method in class org.apache.mina.integration.spring.ssl.KeyStoreFactoryBean
-
Sets the file which contains the key store.
- setFilter(IoFilter) - Method in class org.apache.mina.integration.spring.IoFilterMapping
-
Sets the filter of this mapping.
- setFilterChainBuilder(IoFilterChainBuilder) - Method in interface org.apache.mina.common.IoService
-
- setFilterChainBuilder(IoFilterChainBuilder) - Method in interface org.apache.mina.common.IoServiceConfig
-
- setFilterNamePrefix(String) - Method in class org.apache.mina.integration.spring.DefaultIoFilterChainBuilderFactoryBean
-
Sets the prefix used to create the names for automatically named filters
added using #setFilters(IoFilter[])
.
- setFilters(List) - Method in class org.apache.mina.integration.spring.DefaultIoFilterChainBuilderFactoryBean
-
Sets a number of filters which will be added to the filter
chain created by this factory bean.
- setHandler(IoHandler) - Method in class org.apache.mina.integration.spring.Binding
-
Sets the handler of this binding object.
- setHexdump(String) - Method in exception org.apache.mina.filter.codec.ProtocolDecoderException
-
Sets the hexdump of the unknown message part.
- setIdleTime(IdleStatus, int) - Method in interface org.apache.mina.common.IoSession
-
Sets idle time for the specified type of idleness in seconds.
- setInstance(ExceptionMonitor) - Static method in class org.apache.mina.common.ExceptionMonitor
-
Sets the uncaught exception monitor.
- setKeepAlive(boolean) - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
- setKeepAlive(boolean) - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- setKeepAliveSeconds(int) - Method in class org.apache.mina.integration.spring.ThreadPoolExecutorFactoryBean
-
Set the ThreadPoolExecutor's keep alive seconds.
- setKeepAliveTime(int) - Method in interface org.apache.mina.filter.executor.ExecutorFilterMBean
-
- setKeyManagerFactory(KeyManagerFactory) - Method in class org.apache.mina.integration.spring.ssl.SSLContextFactoryBean
-
Sets the KeyManagerFactory
to use.
- setKeyManagerFactoryAlgorithm(String) - Method in class org.apache.mina.integration.spring.ssl.SSLContextFactoryBean
-
Sets the algorithm to use when creating the KeyManagerFactory
using KeyManagerFactory.getInstance(java.lang.String)
or
KeyManagerFactory.getInstance(java.lang.String, java.lang.String)
.
- setKeyManagerFactoryAlgorithmUseDefault(boolean) - Method in class org.apache.mina.integration.spring.ssl.SSLContextFactoryBean
-
- setKeyManagerFactoryKeyStore(KeyStore) - Method in class org.apache.mina.integration.spring.ssl.SSLContextFactoryBean
-
Sets the KeyStore
which will be used in the call to
KeyManagerFactory.init(java.security.KeyStore, char[])
when
the SSLContext
is created.
- setKeyManagerFactoryKeyStorePassword(String) - Method in class org.apache.mina.integration.spring.ssl.SSLContextFactoryBean
-
Sets the password which will be used in the call to
KeyManagerFactory.init(java.security.KeyStore, char[])
when
the SSLContext
is created.
- setKeyManagerFactoryProvider(String) - Method in class org.apache.mina.integration.spring.ssl.SSLContextFactoryBean
-
Sets the provider to use when creating the KeyManagerFactory
using
KeyManagerFactory.getInstance(java.lang.String, java.lang.String)
.
- setMaximumConnectionBufferSize(int) - Method in class org.apache.mina.filter.ReadThrottleFilterBuilder
-
Set the maximum amount of data to buffer in the ThreadPoolFilter prior to disabling
reads.
- setMaximumPoolSize(int) - Method in interface org.apache.mina.filter.executor.ExecutorFilterMBean
-
- setMaxLineLength(int) - Method in class org.apache.mina.filter.codec.textline.TextLineDecoder
-
Sets the allowed maximum size of the line to be decoded.
- setMaxLineLength(int) - Method in class org.apache.mina.filter.codec.textline.TextLineEncoder
-
Sets the allowed maximum size of the encoded line.
- setMaxObjectSize(int) - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationDecoder
-
Sets the allowed maximum size of the object to be decoded.
- setMaxObjectSize(int) - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationEncoder
-
Sets the allowed maximum size of the encoded object.
- setMaxObjectSize(int) - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationInputStream
-
Sets the allowed maximum size of the object to be decoded.
- setMaxObjectSize(int) - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationOutputStream
-
Sets the allowed maximum size of the encoded object.
- setMaxPoolSize(int) - Method in class org.apache.mina.integration.spring.ThreadPoolExecutorFactoryBean
-
Set the ThreadPoolExecutor's maximum pool size.
- setName(String) - Method in class org.apache.mina.integration.spring.IoFilterMapping
-
Sets the name associated with the filter.
- setNeedClientAuth(boolean) - Method in class org.apache.mina.filter.SSLFilter
-
Configures the engine to require client authentication.
- setOobInline(boolean) - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
- setOobInline(boolean) - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- setPassword(String) - Method in class org.apache.mina.integration.spring.ssl.KeyStoreFactoryBean
-
Sets the key store password.
- setPooled(boolean) - Method in class org.apache.mina.common.ByteBuffer
-
Sets whether this buffer is returned back to the buffer pool when released.
- setPooled(boolean) - Method in class org.apache.mina.common.ByteBufferProxy
-
- setProtocol(String) - Method in class org.apache.mina.integration.spring.ssl.SSLContextFactoryBean
-
Sets the protocol to use when creating the SSLContext
.
- setProvider(String) - Method in class org.apache.mina.integration.spring.ssl.KeyStoreFactoryBean
-
Sets the name of the provider to use when creating the key store.
- setQueueCapacity(int) - Method in class org.apache.mina.integration.spring.ThreadPoolExecutorFactoryBean
-
Set the capacity for the ThreadPoolExecutor's BlockingQueue.
- setReadTimeout(int) - Method in class org.apache.mina.handler.StreamIoHandler
-
Sets read timeout in seconds.
- setReceiveBufferSize(int) - Method in interface org.apache.mina.transport.socket.nio.DatagramSessionConfig
-
- setReceiveBufferSize(int) - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
- setReceiveBufferSize(int) - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- setRejectedExecutionHandler(RejectedExecutionHandler) - Method in class org.apache.mina.integration.spring.ThreadPoolExecutorFactoryBean
-
Set the RejectedExecutionHandler to use for the ThreadPoolExecutor.
- setResource(Resource) - Method in class org.apache.mina.integration.spring.ssl.KeyStoreFactoryBean
-
Sets a Spring Resource
which contains the key store.
- setReuseAddress(boolean) - Method in interface org.apache.mina.transport.socket.nio.DatagramSessionConfig
-
- setReuseAddress(boolean) - Method in class org.apache.mina.transport.socket.nio.SocketAcceptorConfig
-
- setReuseAddress(boolean) - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
- setReuseAddress(boolean) - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- setSecureRandom(SecureRandom) - Method in class org.apache.mina.integration.spring.ssl.SSLContextFactoryBean
-
Sets the SecureRandom
to use when initializing the
SSLContext
.
- setSendBufferSize(int) - Method in interface org.apache.mina.transport.socket.nio.DatagramSessionConfig
-
- setSendBufferSize(int) - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
- setSendBufferSize(int) - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- setServiceConfig(IoServiceConfig) - Method in class org.apache.mina.integration.spring.Binding
-
- setServiceName(String) - Method in class org.apache.mina.integration.spring.ExecutorThreadModelFactoryBean
-
- setSession(IoSession) - Method in interface org.apache.mina.common.ConnectFuture
-
Sets the newly connected session and notifies all threads waiting for
this future.
- setSessionRecycler(IoSessionRecycler) - Method in class org.apache.mina.transport.socket.nio.DatagramAcceptorConfig
-
- setSessionRecycler(IoSessionRecycler) - Method in class org.apache.mina.transport.socket.nio.DatagramConnectorConfig
-
- setSessionRecycler(IoSessionRecycler) - Method in interface org.apache.mina.transport.socket.nio.DatagramServiceConfig
-
- setSoLinger(int) - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
Please note that enabling SO_LINGER in Java NIO will result
in platform-dependent behavior and unexpected blocking of I/O thread.
- setSoLinger(int) - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- setTarget(IoAcceptor) - Method in class org.apache.mina.integration.spring.IoAcceptorFactoryBean
-
Sets the
IoAcceptor
to be configured using this factory bean.
- setTcpNoDelay(boolean) - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
- setTcpNoDelay(boolean) - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- setThreadFactory(ThreadFactory) - Method in class org.apache.mina.integration.spring.ThreadPoolExecutorFactoryBean
-
Set the ThreadFactory to use for the ThreadPoolExecutor's thread pool.
- setThreadModel(ThreadModel) - Method in interface org.apache.mina.common.IoServiceConfig
-
- setThreadNamePrefix(String) - Method in interface org.apache.mina.filter.executor.ExecutorFilterMBean
-
- setTimeout(int) - Method in class org.apache.mina.common.PooledByteBufferAllocator
-
Sets the timeout value of this allocator in seconds.
- setTimeToLive(int) - Method in class org.apache.mina.common.ExpiringSessionRecycler
-
- setTimeToLive(long) - Method in class org.apache.mina.util.ExpiringMap.Expirer
-
- setTimeToLive(int) - Method in class org.apache.mina.util.ExpiringMap
-
- setTrafficClass(int) - Method in interface org.apache.mina.transport.socket.nio.DatagramSessionConfig
-
- setTrafficClass(int) - Method in interface org.apache.mina.transport.socket.nio.SocketSessionConfig
-
- setTrafficClass(int) - Method in class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
- setTrafficMask(TrafficMask) - Method in interface org.apache.mina.common.IoSession
-
Sets the
TrafficMask
of this session which will result
the parent
IoService
to start to control the traffic
of this session immediately.
- setTrustManagerFactory(TrustManagerFactory) - Method in class org.apache.mina.integration.spring.ssl.SSLContextFactoryBean
-
Sets the TrustManagerFactory
to use.
- setTrustManagerFactoryAlgorithm(String) - Method in class org.apache.mina.integration.spring.ssl.SSLContextFactoryBean
-
Sets the algorithm to use when creating the TrustManagerFactory
using TrustManagerFactory.getInstance(java.lang.String)
or
TrustManagerFactory.getInstance(java.lang.String, java.lang.String)
.
- setTrustManagerFactoryAlgorithmUseDefault(boolean) - Method in class org.apache.mina.integration.spring.ssl.SSLContextFactoryBean
-
- setTrustManagerFactoryKeyStore(KeyStore) - Method in class org.apache.mina.integration.spring.ssl.SSLContextFactoryBean
-
Sets the KeyStore
which will be used in the call to
TrustManagerFactory.init(java.security.KeyStore)
when
the SSLContext
is created.
- setTrustManagerFactoryParameters(ManagerFactoryParameters) - Method in class org.apache.mina.integration.spring.ssl.SSLContextFactoryBean
-
Sets the ManagerFactoryParameters
which will be used in the call to
TrustManagerFactory.init(javax.net.ssl.ManagerFactoryParameters)
when
the SSLContext
is created.
- setTrustManagerFactoryProvider(String) - Method in class org.apache.mina.integration.spring.ssl.SSLContextFactoryBean
-
Sets the provider to use when creating the TrustManagerFactory
using
TrustManagerFactory.getInstance(java.lang.String, java.lang.String)
.
- setType(String) - Method in class org.apache.mina.integration.spring.ssl.KeyStoreFactoryBean
-
Sets the type of key store to create.
- setUseClientMode(boolean) - Method in class org.apache.mina.filter.SSLFilter
-
Configures the engine to use client (or server) mode when handshaking.
- setUseDirectBuffers(boolean) - Static method in class org.apache.mina.common.ByteBuffer
-
- setWantClientAuth(boolean) - Method in class org.apache.mina.filter.SSLFilter
-
Configures the engine to request client authentication.
- setWorkerTimeout(int) - Method in class org.apache.mina.transport.socket.nio.SocketConnector
-
Set how many seconds the connection worker thread should remain alive once idle before terminating itself.
- setWriteBufferSize(int) - Method in class org.apache.mina.filter.StreamWriteFilter
-
Sets the size of the write buffer in bytes.
- setWriteTimeout(int) - Method in interface org.apache.mina.common.IoSession
-
Sets write timeout in seconds.
- setWriteTimeout(int) - Method in class org.apache.mina.handler.StreamIoHandler
-
Sets write timeout in seconds.
- setWritten(boolean) - Method in interface org.apache.mina.common.WriteFuture
-
Sets whether the message is written or not, and notifies all threads
waiting for this future.
- SimpleByteBufferAllocator - Class in org.apache.mina.common
-
- SimpleByteBufferAllocator() - Constructor for class org.apache.mina.common.SimpleByteBufferAllocator
-
- SingleSessionIoHandler - Interface in org.apache.mina.handler.multiton
-
A session handler without an
IoSession
parameter for simplicity.
- SingleSessionIoHandlerAdapter - Class in org.apache.mina.handler.multiton
-
- SingleSessionIoHandlerAdapter(IoSession) - Constructor for class org.apache.mina.handler.multiton.SingleSessionIoHandlerAdapter
-
Creates a new instance that is assigned to the passed in session.
- SingleSessionIoHandlerDelegate - Class in org.apache.mina.handler.multiton
-
- SingleSessionIoHandlerDelegate(SingleSessionIoHandlerFactory) - Constructor for class org.apache.mina.handler.multiton.SingleSessionIoHandlerDelegate
-
- SingleSessionIoHandlerFactory - Interface in org.apache.mina.handler.multiton
-
- size() - Method in class org.apache.mina.util.BlockingQueue
-
- size() - Method in class org.apache.mina.util.ExpiringMap
-
- size() - Method in class org.apache.mina.util.ExpiringStack
-
Returns the number of elements in the stack.
- size() - Method in class org.apache.mina.util.IdentityHashSet
-
- size() - Method in class org.apache.mina.util.Queue
-
Returns the number of elements in the queue.
- size() - Method in class org.apache.mina.util.Stack
-
Returns the number of elements in the stack.
- skip(int) - Method in class org.apache.mina.common.ByteBuffer
-
Forwards the position of this buffer as the specified size
bytes.
- skip(int) - Method in class org.apache.mina.common.ByteBufferProxy
-
- skipBytes(int) - Method in class org.apache.mina.filter.codec.serialization.ObjectSerializationInputStream
-
- slice() - Method in class org.apache.mina.common.ByteBuffer
-
- slice() - Method in class org.apache.mina.common.ByteBufferProxy
-
- SOCKET - Static variable in class org.apache.mina.common.TransportType
-
Transport type: TCP/IP (Registry name: "SOCKET" or "TCP")
- SocketAcceptor - Class in org.apache.mina.transport.socket.nio
-
- SocketAcceptor() - Constructor for class org.apache.mina.transport.socket.nio.SocketAcceptor
-
Create an acceptor with a single processing thread using a NewThreadExecutor
- SocketAcceptor(int, Executor) - Constructor for class org.apache.mina.transport.socket.nio.SocketAcceptor
-
Create an acceptor with the desired number of processing threads
- SocketAcceptorConfig - Class in org.apache.mina.transport.socket.nio
-
- SocketAcceptorConfig() - Constructor for class org.apache.mina.transport.socket.nio.SocketAcceptorConfig
-
Creates a new instance.
- SocketConnector - Class in org.apache.mina.transport.socket.nio
-
- SocketConnector() - Constructor for class org.apache.mina.transport.socket.nio.SocketConnector
-
Create a connector with a single processing thread using a NewThreadExecutor
- SocketConnector(int, Executor) - Constructor for class org.apache.mina.transport.socket.nio.SocketConnector
-
Create a connector with the desired number of processing threads
- SocketConnectorConfig - Class in org.apache.mina.transport.socket.nio
-
- SocketConnectorConfig() - Constructor for class org.apache.mina.transport.socket.nio.SocketConnectorConfig
-
Creates a new instance.
- SocketSessionConfig - Interface in org.apache.mina.transport.socket.nio
-
- SocketSessionConfigImpl - Class in org.apache.mina.transport.socket.nio
-
- SocketSessionConfigImpl() - Constructor for class org.apache.mina.transport.socket.nio.SocketSessionConfigImpl
-
Creates a new instance.
- SSL_SESSION - Static variable in class org.apache.mina.filter.SSLFilter
-
A session attribute key that stores underlying SSLSession
for each session.
- SSLContextFactoryBean - Class in org.apache.mina.integration.spring.ssl
-
Spring FactoryBean
implementation
which makes it possible to configure SSLContext
instances using Spring.
- SSLContextFactoryBean() - Constructor for class org.apache.mina.integration.spring.ssl.SSLContextFactoryBean
-
- SSLFilter - Class in org.apache.mina.filter
-
An SSL filter that encrypts and decrypts the data exchanged in the session.
- SSLFilter(SSLContext) - Constructor for class org.apache.mina.filter.SSLFilter
-
Creates a new SSL filter using the specified SSLContext
.
- SSLFilter.SSLFilterMessage - Class in org.apache.mina.filter
-
A message that is sent from
SSLFilter
when the connection became
secure or is not secure anymore.
- Stack - Class in org.apache.mina.util
-
A unbounded stack.
- Stack() - Constructor for class org.apache.mina.util.Stack
-
Construct a new, empty stack.
- start() - Method in class org.apache.mina.management.StatCollector
-
Start collecting stats for the
IoSession
of the service.
- startCollectingStats(int) - Method in class org.apache.mina.integration.jmx.IoServiceManager
-
- startCollectingStats(int) - Method in interface org.apache.mina.integration.jmx.IoServiceManagerMBean
-
start collecting throughput statistics for all the managed sessions
- startExpiring() - Method in class org.apache.mina.util.ExpiringMap.Expirer
-
- startExpiringIfNotStarted() - Method in class org.apache.mina.util.ExpiringMap.Expirer
-
- startSSL(IoSession) - Method in class org.apache.mina.filter.SSLFilter
-
(Re)starts SSL session for the specified session if not started yet.
- StatCollector - Class in org.apache.mina.management
-
- StatCollector(IoService) - Constructor for class org.apache.mina.management.StatCollector
-
Create a stat collector for the given service with a default polling time of 5 seconds.
- StatCollector(IoService, int) - Constructor for class org.apache.mina.management.StatCollector
-
create a stat collector for the given given service
- stop() - Method in class org.apache.mina.management.StatCollector
-
Stop collecting stats. all the
IoSessionStat
object will be removed of the
polled session attachements.
- stopCollectingStats() - Method in class org.apache.mina.integration.jmx.IoServiceManager
-
- stopCollectingStats() - Method in interface org.apache.mina.integration.jmx.IoServiceManagerMBean
-
stop collecting throughput statistics
- stopExpiring() - Method in class org.apache.mina.common.ExpiringSessionRecycler
-
- stopExpiring() - Method in class org.apache.mina.util.ExpiringMap.Expirer
-
- stopSSL(IoSession) - Method in class org.apache.mina.filter.SSLFilter
-
Stops the SSL session by sending TLS close_notify message to
initiate TLS closure.
- StreamIoHandler - Class in org.apache.mina.handler
-
A
IoHandler
that adapts asynchronous MINA events to stream I/O.
- StreamIoHandler() - Constructor for class org.apache.mina.handler.StreamIoHandler
-
- StreamWriteFilter - Class in org.apache.mina.filter
-
- StreamWriteFilter() - Constructor for class org.apache.mina.filter.StreamWriteFilter
-
- subList(int, int) - Method in class org.apache.mina.util.BlockingQueue
-
- SUSPENDED_READS - Static variable in class org.apache.mina.filter.ReadThrottleFilterBuilder
-
- suspendRead() - Method in interface org.apache.mina.common.IoSession
-
- suspendWrite() - Method in interface org.apache.mina.common.IoSession
-
- sweep() - Method in class org.apache.mina.common.ByteBuffer
-
Clears this buffer and fills its content with NUL.
- sweep(byte) - Method in class org.apache.mina.common.ByteBuffer
-
Clears this buffer and fills its content with value.
- sweep() - Method in class org.apache.mina.common.ByteBufferProxy
-
- sweep(byte) - Method in class org.apache.mina.common.ByteBufferProxy
-
- SynchronizedProtocolDecoder - Class in org.apache.mina.filter.codec
-
A
ProtocolDecoder
implementation which decorates an existing decoder
to be thread-safe.
- SynchronizedProtocolDecoder(ProtocolDecoder) - Constructor for class org.apache.mina.filter.codec.SynchronizedProtocolDecoder
-
Creates a new instance which decorates the specified decoder.
- SynchronizedProtocolEncoder - Class in org.apache.mina.filter.codec
-
A
ProtocolEncoder
implementation which decorates an existing encoder
to be thread-safe.
- SynchronizedProtocolEncoder(ProtocolEncoder) - Constructor for class org.apache.mina.filter.codec.SynchronizedProtocolEncoder
-
Creates a new instance which decorates the specified encoder.