public class PentahoAwareCharacterEncodingFilter extends SetCharacterEncodingFilter
context-param
named encoding
in web.xml
for its encoding
selection. If not found, falls back to method used by superclass. Finally, defaults to UTF-8
.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_CHAR_ENCODING |
static String |
INIT_PARAM_ENCODING |
encoding, filterConfig, ignore
Constructor and Description |
---|
PentahoAwareCharacterEncodingFilter() |
Modifier and Type | Method and Description |
---|---|
protected String |
selectEncoding(javax.servlet.ServletRequest request)
Select an appropriate character encoding to be used, based on the characteristics of the current request and/or
filter initialization parameters.
|
destroy, doFilter, init
public static final String INIT_PARAM_ENCODING
public static final String DEFAULT_CHAR_ENCODING
protected String selectEncoding(javax.servlet.ServletRequest request)
SetCharacterEncodingFilter
null
.
The default implementation unconditionally returns the value configured by the encoding initialization parameter for this filter.
selectEncoding
in class SetCharacterEncodingFilter
request
- The servlet request we are processingCopyright © 2019 Hitachi Vantara. All rights reserved.