public class ServletRequestLocaleAttribute extends Object implements 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(HttpServerExchange exchange) |
String |
toString() |
void |
writeAttribute(HttpServerExchange exchange,
String newValue) |
public static final String REQUEST_LOCALE
public static final ServletRequestLocaleAttribute INSTANCE
public String readAttribute(HttpServerExchange exchange)
readAttribute in interface ExchangeAttributepublic void writeAttribute(HttpServerExchange exchange, String newValue) throws ReadOnlyAttributeException
writeAttribute in interface ExchangeAttributeReadOnlyAttributeExceptionCopyright © 2022 JBoss by Red Hat. All rights reserved.