io.undertow.attribute.ExchangeAttributepublic class ServletRequestLocaleAttribute extends Object implements io.undertow.attribute.ExchangeAttribute
| Modifier and Type | Class | Description |
|---|---|---|
static class |
ServletRequestLocaleAttribute.Builder |
| Modifier and Type | Field | Description |
|---|---|---|
static ServletRequestLocaleAttribute |
INSTANCE |
|
static String |
REQUEST_LOCALE |
| Constructor | Description |
|---|---|
ServletRequestLocaleAttribute() |
| Modifier and Type | Method | 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 © 2018. All rights reserved.