Package | Description |
---|---|
org.apache.mina.example.imagine.step1.codec | |
org.apache.mina.example.tapedeck | |
org.apache.mina.filter.codec |
Filter implementations that helps you to implement complex protocols via 'codec' concept.
|
org.apache.mina.filter.codec.demux |
Protocol codecs that helps you to implement even more complex protocols by splitting a codec into multiple sub-codecs.
|
org.apache.mina.filter.codec.prefixedstring | |
org.apache.mina.filter.codec.serialization |
Protocol codecs which uses Java object serilization and leads to rapid protocol implementation.
|
org.apache.mina.filter.codec.statemachine | |
org.apache.mina.filter.codec.textline |
A protocol codec for text-based protocols.
|
org.apache.mina.http |
Modifier and Type | Class and Description |
---|---|
class |
ImageRequestDecoder
a decoder for
ImageRequest objects |
class |
ImageResponseDecoder
a decoder for
ImageResponse objects |
Modifier and Type | Method and Description |
---|---|
ProtocolDecoder |
ImageCodecFactory.getDecoder(IoSession ioSession) |
Modifier and Type | Class and Description |
---|---|
class |
CommandDecoder
MINA
ProtocolDecoder which decodes bytes into Command
objects. |
Modifier and Type | Class and Description |
---|---|
class |
CumulativeProtocolDecoder
A
ProtocolDecoder that cumulates the content of received buffers to a
cumulative buffer to help users implement decoders. |
class |
ProtocolDecoderAdapter
An abstract
ProtocolDecoder implementation for those who don't need
finishDecode(IoSession, ProtocolDecoderOutput) nor
dispose(IoSession) method. |
class |
SynchronizedProtocolDecoder
A
ProtocolDecoder implementation which decorates an existing decoder
to be thread-safe. |
Modifier and Type | Method and Description |
---|---|
ProtocolDecoder |
SynchronizedProtocolDecoder.getDecoder() |
ProtocolDecoder |
ProtocolCodecFactory.getDecoder(IoSession session)
Returns a new (or reusable) instance of
ProtocolDecoder which
decodes binary or protocol-specific data into message objects. |
Constructor and Description |
---|
ProtocolCodecFilter(ProtocolEncoder encoder,
ProtocolDecoder decoder)
Creates a new instance of ProtocolCodecFilter, without any factory.
|
SynchronizedProtocolDecoder(ProtocolDecoder decoder)
Creates a new instance which decorates the specified decoder.
|
Constructor and Description |
---|
ProtocolCodecFilter(Class<? extends ProtocolEncoder> encoderClass,
Class<? extends ProtocolDecoder> decoderClass)
Creates a new instance of ProtocolCodecFilter, without any factory.
|
Modifier and Type | Class and Description |
---|---|
class |
DemuxingProtocolDecoder
A composite
ProtocolDecoder that demultiplexes incoming IoBuffer
decoding requests into an appropriate MessageDecoder . |
Modifier and Type | Method and Description |
---|---|
ProtocolDecoder |
DemuxingProtocolCodecFactory.getDecoder(IoSession session)
Returns a new (or reusable) instance of
ProtocolDecoder which
decodes binary or protocol-specific data into message objects. |
Modifier and Type | Class and Description |
---|---|
class |
PrefixedStringDecoder
A
ProtocolDecoder which decodes a String using a fixed-length length prefix. |
Modifier and Type | Method and Description |
---|---|
ProtocolDecoder |
PrefixedStringCodecFactory.getDecoder(IoSession session) |
Modifier and Type | Class and Description |
---|---|
class |
ObjectSerializationDecoder
A
ProtocolDecoder which deserializes Serializable Java
objects using IoBuffer.getObject(ClassLoader) . |
Modifier and Type | Method and Description |
---|---|
ProtocolDecoder |
ObjectSerializationCodecFactory.getDecoder(IoSession session)
Returns a new (or reusable) instance of
ProtocolDecoder which
decodes binary or protocol-specific data into message objects. |
Modifier and Type | Class and Description |
---|---|
class |
DecodingStateProtocolDecoder
ProtocolDecoder which uses a DecodingState to decode data. |
Modifier and Type | Class and Description |
---|---|
class |
TextLineDecoder
A
ProtocolDecoder which decodes a text line into a string. |
Modifier and Type | Method and Description |
---|---|
ProtocolDecoder |
TextLineCodecFactory.getDecoder(IoSession session)
Returns a new (or reusable) instance of
ProtocolDecoder which
decodes binary or protocol-specific data into message objects. |
Modifier and Type | Class and Description |
---|---|
class |
HttpClientDecoder |
class |
HttpServerDecoder |
Copyright © 2004–2016 Apache MINA Project. All rights reserved.