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