Package io.undertow.servlet.attribute
Class ServletSessionIdAttribute
java.lang.Object
io.undertow.servlet.attribute.ServletSessionIdAttribute
- All Implemented Interfaces:
ExchangeAttribute
The request session ID
- Author:
- Stuart Douglas
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ServletSessionIdAttributestatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreadAttribute(HttpServerExchange exchange) voidwriteAttribute(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:
readAttributein interfaceExchangeAttribute
-
writeAttribute
public void writeAttribute(HttpServerExchange exchange, String newValue) throws ReadOnlyAttributeException - Specified by:
writeAttributein interfaceExchangeAttribute- Throws:
ReadOnlyAttributeException
-