## Uses of Interface
org.apache.mina.filter.codec.ProtocolEncoder

- Packages that use ProtocolEncoder
  Package | Description
  --- | ---
  org.apache.mina.example.imagine.step1.codec |
  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.textline | A protocol codec for text-based protocols.
  org.apache.mina.http |

- - ### Uses of ProtocolEncoder in org.apache.mina.example.imagine.step1.codec

    Classes in org.apache.mina.example.imagine.step1.codec that implement ProtocolEncoder
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ImageRequestEncoder` an encoder for `ImageRequest` objects
    `class` | `ImageResponseEncoder` an encoder for `ImageResponse` objects

    Methods in org.apache.mina.example.imagine.step1.codec that return ProtocolEncoder
    Modifier and Type | Method and Description
    --- | ---
    `ProtocolEncoder` | ImageCodecFactory.`getEncoder(IoSession ioSession)`

  - ### Uses of ProtocolEncoder in org.apache.mina.filter.codec

    Classes in org.apache.mina.filter.codec that implement ProtocolEncoder
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ProtocolEncoderAdapter` An abstract `ProtocolEncoder` implementation for those who don't have any resources to dispose.
    `class` | `SynchronizedProtocolEncoder` A `ProtocolEncoder` implementation which decorates an existing encoder to be thread-safe.

    Methods in org.apache.mina.filter.codec that return ProtocolEncoder
    Modifier and Type | Method and Description
    --- | ---
    `ProtocolEncoder` | SynchronizedProtocolEncoder.`getEncoder()` Returns the encoder this encoder is decorating.
    `ProtocolEncoder` | ProtocolCodecFilter.`getEncoder(IoSession session)` Get the encoder instance from a given session.
    `ProtocolEncoder` | ProtocolCodecFactory.`getEncoder(IoSession session)` Returns a new (or reusable) instance of `ProtocolEncoder` which encodes message objects into binary or protocol-specific data.

    Constructors in org.apache.mina.filter.codec with parameters of type ProtocolEncoder
    Constructor and Description
    `ProtocolCodecFilter(ProtocolEncoder encoder, ProtocolDecoder decoder)` Creates a new instance of ProtocolCodecFilter, without any factory.
    `SynchronizedProtocolEncoder(ProtocolEncoder encoder)` Creates a new instance which decorates the specified `encoder`.

    Constructor parameters in org.apache.mina.filter.codec with type arguments of type ProtocolEncoder
    Constructor and Description
    `ProtocolCodecFilter(Class<? extends ProtocolEncoder> encoderClass, Class<? extends ProtocolDecoder> decoderClass)` Creates a new instance of ProtocolCodecFilter, without any factory.

  - ### Uses of ProtocolEncoder in org.apache.mina.filter.codec.demux

    Classes in org.apache.mina.filter.codec.demux that implement ProtocolEncoder
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DemuxingProtocolEncoder` A composite `ProtocolEncoder` that demultiplexes incoming message encoding requests into an appropriate `MessageEncoder`.

    Methods in org.apache.mina.filter.codec.demux that return ProtocolEncoder
    Modifier and Type | Method and Description
    --- | ---
    `ProtocolEncoder` | DemuxingProtocolCodecFactory.`getEncoder(IoSession session)` Returns a new (or reusable) instance of `ProtocolEncoder` which encodes message objects into binary or protocol-specific data.

  - ### Uses of ProtocolEncoder in org.apache.mina.filter.codec.prefixedstring

    Classes in org.apache.mina.filter.codec.prefixedstring that implement ProtocolEncoder
    Modifier and Type | Class and Description
    --- | ---
    `class` | `PrefixedStringEncoder` A `ProtocolEncoder` which encodes a string using a fixed-length length prefix.

    Methods in org.apache.mina.filter.codec.prefixedstring that return ProtocolEncoder
    Modifier and Type | Method and Description
    --- | ---
    `ProtocolEncoder` | PrefixedStringCodecFactory.`getEncoder(IoSession session)`

  - ### Uses of ProtocolEncoder in org.apache.mina.filter.codec.serialization

    Classes in org.apache.mina.filter.codec.serialization that implement ProtocolEncoder
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ObjectSerializationEncoder` A `ProtocolEncoder` which serializes `Serializable` Java objects using `IoBuffer.putObject(Object)`.

    Methods in org.apache.mina.filter.codec.serialization that return ProtocolEncoder
    Modifier and Type | Method and Description
    --- | ---
    `ProtocolEncoder` | ObjectSerializationCodecFactory.`getEncoder(IoSession session)`

  - ### Uses of ProtocolEncoder in org.apache.mina.filter.codec.textline

    Classes in org.apache.mina.filter.codec.textline that implement ProtocolEncoder
    Modifier and Type | Class and Description
    --- | ---
    `class` | `TextLineEncoder` A `ProtocolEncoder` which encodes a string into a text line which ends with the delimiter.

    Methods in org.apache.mina.filter.codec.textline that return ProtocolEncoder
    Modifier and Type | Method and Description
    --- | ---
    `ProtocolEncoder` | TextLineCodecFactory.`getEncoder(IoSession session)`

  - ### Uses of ProtocolEncoder in org.apache.mina.http

    Classes in org.apache.mina.http that implement ProtocolEncoder
    Modifier and Type | Class and Description
    --- | ---
    `class` | `HttpClientEncoder`
    `class` | `HttpServerEncoder`

Copyright © 2004-2012 Apache MINA Project. All Rights Reserved.