public class ServletContextAttribute extends Object implements io.undertow.attribute.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(io.undertow.server.HttpServerExchange exchange) |
void |
writeAttribute(io.undertow.server.HttpServerExchange exchange,
String newValue) |
public ServletContextAttribute(String attributeName)
public String readAttribute(io.undertow.server.HttpServerExchange exchange)
readAttribute
in interface io.undertow.attribute.ExchangeAttribute
public void writeAttribute(io.undertow.server.HttpServerExchange exchange, String newValue) throws io.undertow.attribute.ReadOnlyAttributeException
writeAttribute
in interface io.undertow.attribute.ExchangeAttribute
io.undertow.attribute.ReadOnlyAttributeException
Copyright © 2015. All rights reserved.