public class ServletSessionAttribute extends Object implements io.undertow.attribute.ExchangeAttribute
Modifier and Type | Class and Description |
---|---|
static class |
ServletSessionAttribute.Builder |
Constructor and Description |
---|
ServletSessionAttribute(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 ServletSessionAttribute(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 © 2016. All rights reserved.