Package io.undertow.servlet.attribute
Class ServletSessionIdAttribute
java.lang.Object
io.undertow.servlet.attribute.ServletSessionIdAttribute
- All Implemented Interfaces:
io.undertow.attribute.ExchangeAttribute
public class ServletSessionIdAttribute
extends Object
implements io.undertow.attribute.ExchangeAttribute
The request session ID
- Author:
- Stuart Douglas
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ServletSessionIdAttribute
static final String
static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreadAttribute
(io.undertow.server.HttpServerExchange exchange) toString()
void
writeAttribute
(io.undertow.server.HttpServerExchange exchange, String newValue)
-
Field Details
-
SESSION_ID_SHORT
- See Also:
-
SESSION_ID
- See Also:
-
INSTANCE
-
-
Constructor Details
-
ServletSessionIdAttribute
public ServletSessionIdAttribute()
-
-
Method Details
-
readAttribute
- Specified by:
readAttribute
in interfaceio.undertow.attribute.ExchangeAttribute
-
writeAttribute
public void writeAttribute(io.undertow.server.HttpServerExchange exchange, String newValue) throws io.undertow.attribute.ReadOnlyAttributeException - Specified by:
writeAttribute
in interfaceio.undertow.attribute.ExchangeAttribute
- Throws:
io.undertow.attribute.ReadOnlyAttributeException
-
toString
-