HTMLCodec (Grails 3.2.8)
Date: 2017-03-23

Package: org.grails.plugins.codecs

## [Java] Class HTMLCodec

- org.grails.plugins.codecs.HTMLCodec

- All Implemented Interfaces and Traits:
    CodecFactory, GrailsApplicationAware, org.springframework.beans.factory.InitializingBean

      public final class HTMLCodec
      extends java.lang.Object

  Encodes and decodes strings to and from HTML.

  Authors:
    Graeme Rocher
    Lari Hotari
  Since:
    1.1

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `static java.lang.String` | `CONFIG_PROPERTY_GSP_HTMLCODEC` |

  - ### Constructor Summary

    Constructors
    Constructor and description
    `HTMLCodec ()`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `void` | `afterPropertiesSet()`
    `` | `Decoder` | `getDecoder()`
    `` | `Encoder` | `getEncoder()`
    `` | `void` | `setGrailsApplication(GrailsApplication grailsApplication)`
    `` | `void` | `setUseLegacyEncoder(boolean useLegacyEncoder)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class java.lang.Object` | `java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()`

- - ### Field Detail

    - #### public static final java.lang.String CONFIG_PROPERTY_GSP_HTMLCODEC

  - ### Constructor Detail

    - #### public HTMLCodec()

  - ### Method Detail

    - #### public void afterPropertiesSet()

    - #### public Decoder getDecoder()

    - #### public Encoder getEncoder()

    - #### public void setGrailsApplication(GrailsApplication grailsApplication)

    - #### public void setUseLegacyEncoder(boolean useLegacyEncoder)