Module com.aoapps.servlet.filter
Package com.aoapps.servlet.filter
Class Utf8RequestCharacterEncodingListener
java.lang.Object
com.aoapps.servlet.filter.Utf8RequestCharacterEncodingListener
- All Implemented Interfaces:
EventListener
,ServletRequestListener
@WebListener("Sets request character encoding to UTF-8 when not provided by client")
public class Utf8RequestCharacterEncodingListener
extends Object
implements ServletRequestListener
Sets the request encoding to
StandardCharsets.UTF_8
when encoding not provided by the client.- Author:
- AO Industries, Inc.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
-
Constructor Details
-
Utf8RequestCharacterEncodingListener
public Utf8RequestCharacterEncodingListener()
-
-
Method Details
-
requestInitialized
- Specified by:
requestInitialized
in interfaceServletRequestListener
-
requestDestroyed
- Specified by:
requestDestroyed
in interfaceServletRequestListener
-