public class ServletContextAttribute extends Object implements ExchangeAttribute
| Modifier and Type | Class and Description |
|---|---|
static class |
ServletContextAttribute.Builder |
| Constructor and Description |
|---|
ServletContextAttribute(String attributeName) |
| Modifier and Type | Method and Description |
|---|---|
String |
readAttribute(HttpServerExchange exchange) |
String |
toString() |
void |
writeAttribute(HttpServerExchange exchange,
String newValue) |
public ServletContextAttribute(String attributeName)
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.