Package io.undertow.servlet.attribute
Class ServletRequestedSessionIdFromCookieAttribute
java.lang.Object
io.undertow.servlet.attribute.ServletRequestedSessionIdFromCookieAttribute
- All Implemented Interfaces:
ExchangeAttribute
public class ServletRequestedSessionIdFromCookieAttribute
extends Object
implements ExchangeAttribute
The request session ID
- Author:
- Stuart Douglas
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ServletRequestedSessionIdFromCookieAttributestatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreadAttribute(HttpServerExchange exchange) voidwriteAttribute(HttpServerExchange exchange, String newValue)
-
Field Details
-
REQUESTED_SESSION_ID_FROM_COOKIE
- See Also:
-
INSTANCE
-
-
Constructor Details
-
ServletRequestedSessionIdFromCookieAttribute
public ServletRequestedSessionIdFromCookieAttribute()
-
-
Method Details
-
readAttribute
- Specified by:
readAttributein interfaceExchangeAttribute
-
writeAttribute
public void writeAttribute(HttpServerExchange exchange, String newValue) throws ReadOnlyAttributeException - Specified by:
writeAttributein interfaceExchangeAttribute- Throws:
ReadOnlyAttributeException
-