Package io.undertow.servlet.attribute
Class ServletSessionIdAttribute
- java.lang.Object
-
- io.undertow.servlet.attribute.ServletSessionIdAttribute
-
- All Implemented Interfaces:
ExchangeAttribute
public class ServletSessionIdAttribute extends Object implements ExchangeAttribute
The request session ID- Author:
- Stuart Douglas
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServletSessionIdAttribute.Builder
-
Field Summary
Fields Modifier and Type Field Description static ServletSessionIdAttributeINSTANCEstatic StringSESSION_IDstatic StringSESSION_ID_SHORT
-
Constructor Summary
Constructors Constructor Description ServletSessionIdAttribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringreadAttribute(HttpServerExchange exchange)StringtoString()voidwriteAttribute(HttpServerExchange exchange, String newValue)
-
-
-
Field Detail
-
SESSION_ID_SHORT
public static final String SESSION_ID_SHORT
- See Also:
- Constant Field Values
-
SESSION_ID
public static final String SESSION_ID
- See Also:
- Constant Field Values
-
INSTANCE
public static final ServletSessionIdAttribute INSTANCE
-
-
Method Detail
-
readAttribute
public String readAttribute(HttpServerExchange exchange)
- Specified by:
readAttributein interfaceExchangeAttribute
-
writeAttribute
public void writeAttribute(HttpServerExchange exchange, String newValue) throws ReadOnlyAttributeException
- Specified by:
writeAttributein interfaceExchangeAttribute- Throws:
ReadOnlyAttributeException
-
-