Package io.undertow.servlet.attribute
Class ServletRequestedSessionIdFromCookieAttribute
- java.lang.Object
-
- io.undertow.servlet.attribute.ServletRequestedSessionIdFromCookieAttribute
-
- All Implemented Interfaces:
io.undertow.attribute.ExchangeAttribute
public class ServletRequestedSessionIdFromCookieAttribute extends java.lang.Object implements io.undertow.attribute.ExchangeAttribute
The request session ID- Author:
- Stuart Douglas
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServletRequestedSessionIdFromCookieAttribute.Builder
-
Field Summary
Fields Modifier and Type Field Description static ServletRequestedSessionIdFromCookieAttribute
INSTANCE
static java.lang.String
REQUESTED_SESSION_ID_FROM_COOKIE
-
Constructor Summary
Constructors Constructor Description ServletRequestedSessionIdFromCookieAttribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
readAttribute(io.undertow.server.HttpServerExchange exchange)
java.lang.String
toString()
void
writeAttribute(io.undertow.server.HttpServerExchange exchange, java.lang.String newValue)
-
-
-
Field Detail
-
REQUESTED_SESSION_ID_FROM_COOKIE
public static final java.lang.String REQUESTED_SESSION_ID_FROM_COOKIE
- See Also:
- Constant Field Values
-
INSTANCE
public static final ServletRequestedSessionIdFromCookieAttribute INSTANCE
-
-
Method Detail
-
readAttribute
public java.lang.String readAttribute(io.undertow.server.HttpServerExchange exchange)
- Specified by:
readAttribute
in interfaceio.undertow.attribute.ExchangeAttribute
-
writeAttribute
public void writeAttribute(io.undertow.server.HttpServerExchange exchange, java.lang.String newValue) throws io.undertow.attribute.ReadOnlyAttributeException
- Specified by:
writeAttribute
in interfaceio.undertow.attribute.ExchangeAttribute
- Throws:
io.undertow.attribute.ReadOnlyAttributeException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-