Java org.springframework.web.filter CharacterEncodingFilter fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web.filter CharacterEncodingFilter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web.filter CharacterEncodingFilter.

The text is from its open source code.

Constructor

CharacterEncodingFilter()
Create a default CharacterEncodingFilter , with the encoding to be set via #setEncoding .
CharacterEncodingFilter(String encoding, boolean forceEncoding)
Create a CharacterEncodingFilter for the given encoding.

Method

voidsetEncoding(@Nullable String encoding)
Set the encoding to use for requests.
voidsetForceEncoding(boolean forceEncoding)
Set whether the configured #setEncoding encoding of this filter is supposed to override existing request and response encodings.
voidsetServletContext(ServletContext servletContext)
Stores the ServletContext that the bean factory runs in.