CodecFactory (Grails 3.2.6)
Date: 2017-02-09

Package: org.grails.encoder

## [Java] Interface CodecFactory

- This interface can be used to tell that a Grails Codec class should use these methods for creating the encoder and decoder instances instead of using conventional encode/decode methods.

  Authors:
    Lari Hotari
  Since:
    2.3

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `Decoder` | `getDecoder()` Gets the decoder instance.
    `Encoder` | `getEncoder()` Gets the encoder instance.

- - ### Method Detail

    - #### public Decoder getDecoder()

      Gets the decoder instance.

      Returns:
        the decoder

    - #### public Encoder getEncoder()

      Gets the encoder instance.

      Returns:
        the encoder