Package io.undertow.servlet.attribute
Class ServletRequestCharacterEncodingAttribute
- java.lang.Object
-
- io.undertow.servlet.attribute.ServletRequestCharacterEncodingAttribute
-
- All Implemented Interfaces:
io.undertow.attribute.ExchangeAttribute
public class ServletRequestCharacterEncodingAttribute extends java.lang.Object implements io.undertow.attribute.ExchangeAttributeThe 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 java.lang.StringREQUEST_CHARACTER_ENCODING
-
Constructor Summary
Constructors Constructor Description ServletRequestCharacterEncodingAttribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringreadAttribute(io.undertow.server.HttpServerExchange exchange)java.lang.StringtoString()voidwriteAttribute(io.undertow.server.HttpServerExchange exchange, java.lang.String newValue)
-
-
-
Field Detail
-
REQUEST_CHARACTER_ENCODING
public static final java.lang.String REQUEST_CHARACTER_ENCODING
- See Also:
- Constant Field Values
-
INSTANCE
public static final ServletRequestCharacterEncodingAttribute INSTANCE
-
-
Method Detail
-
readAttribute
public java.lang.String readAttribute(io.undertow.server.HttpServerExchange exchange)
- Specified by:
readAttributein interfaceio.undertow.attribute.ExchangeAttribute
-
writeAttribute
public void writeAttribute(io.undertow.server.HttpServerExchange exchange, java.lang.String newValue) throws io.undertow.attribute.ReadOnlyAttributeException- Specified by:
writeAttributein interfaceio.undertow.attribute.ExchangeAttribute- Throws:
io.undertow.attribute.ReadOnlyAttributeException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-