Package io.undertow.servlet.attribute
Class ServletRequestCharacterEncodingAttribute
- java.lang.Object
-
- io.undertow.servlet.attribute.ServletRequestCharacterEncodingAttribute
-
- All Implemented Interfaces:
ExchangeAttribute
public class ServletRequestCharacterEncodingAttribute extends Object implements ExchangeAttribute
The request session ID- Author:
- Stuart Douglas
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServletRequestCharacterEncodingAttribute.Builder
-
Field Summary
Fields Modifier and Type Field Description static ServletRequestCharacterEncodingAttributeINSTANCEstatic StringREQUEST_CHARACTER_ENCODING
-
Constructor Summary
Constructors Constructor Description ServletRequestCharacterEncodingAttribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringreadAttribute(HttpServerExchange exchange)StringtoString()voidwriteAttribute(HttpServerExchange exchange, String newValue)
-
-
-
Field Detail
-
REQUEST_CHARACTER_ENCODING
public static final String REQUEST_CHARACTER_ENCODING
- See Also:
- Constant Field Values
-
INSTANCE
public static final ServletRequestCharacterEncodingAttribute INSTANCE
-
-
Method Detail
-
readAttribute
public String readAttribute(HttpServerExchange exchange)
- Specified by:
readAttributein interfaceExchangeAttribute
-
writeAttribute
public void writeAttribute(HttpServerExchange exchange, String newValue) throws ReadOnlyAttributeException
- Specified by:
writeAttributein interfaceExchangeAttribute- Throws:
ReadOnlyAttributeException
-
-