public class ServletRequestLocaleAttribute extends Object implements io.undertow.attribute.ExchangeAttribute
| Modifier and Type | Class and Description |
|---|---|
static class |
ServletRequestLocaleAttribute.Builder |
| Modifier and Type | Field and Description |
|---|---|
static ServletRequestLocaleAttribute |
INSTANCE |
static String |
REQUEST_LOCALE |
| Constructor and Description |
|---|
ServletRequestLocaleAttribute() |
| Modifier and Type | Method and Description |
|---|---|
String |
readAttribute(io.undertow.server.HttpServerExchange exchange) |
void |
writeAttribute(io.undertow.server.HttpServerExchange exchange,
String newValue) |
public static final String REQUEST_LOCALE
public static final ServletRequestLocaleAttribute INSTANCE
public String readAttribute(io.undertow.server.HttpServerExchange exchange)
readAttribute in interface io.undertow.attribute.ExchangeAttributepublic void writeAttribute(io.undertow.server.HttpServerExchange exchange,
String newValue)
throws io.undertow.attribute.ReadOnlyAttributeException
writeAttribute in interface io.undertow.attribute.ExchangeAttributeio.undertow.attribute.ReadOnlyAttributeExceptionCopyright © 2017. All rights reserved.