Package io.undertow.servlet.attribute
Class ServletRequestLocaleAttribute
java.lang.Object
io.undertow.servlet.attribute.ServletRequestLocaleAttribute
- All Implemented Interfaces:
io.undertow.attribute.ExchangeAttribute
public class ServletRequestLocaleAttribute
extends Object
implements io.undertow.attribute.ExchangeAttribute
The request session ID
- Author:
- Stuart Douglas
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreadAttribute
(io.undertow.server.HttpServerExchange exchange) toString()
void
writeAttribute
(io.undertow.server.HttpServerExchange exchange, String newValue)
-
Field Details
-
REQUEST_LOCALE
- See Also:
-
INSTANCE
-
-
Constructor Details
-
ServletRequestLocaleAttribute
public ServletRequestLocaleAttribute()
-
-
Method Details
-
readAttribute
- Specified by:
readAttribute
in interfaceio.undertow.attribute.ExchangeAttribute
-
writeAttribute
public void writeAttribute(io.undertow.server.HttpServerExchange exchange, String newValue) throws io.undertow.attribute.ReadOnlyAttributeException - Specified by:
writeAttribute
in interfaceio.undertow.attribute.ExchangeAttribute
- Throws:
io.undertow.attribute.ReadOnlyAttributeException
-
toString
-