Package io.undertow.servlet.attribute
Class ServletContextAttribute
java.lang.Object
io.undertow.servlet.attribute.ServletContextAttribute
- All Implemented Interfaces:
io.undertow.attribute.ExchangeAttribute
public class ServletContextAttribute
extends Object
implements io.undertow.attribute.ExchangeAttribute
An attribute in the servlet request
- Author:
- Stuart Douglas
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreadAttribute
(io.undertow.server.HttpServerExchange exchange) toString()
void
writeAttribute
(io.undertow.server.HttpServerExchange exchange, String newValue)
-
Constructor Details
-
ServletContextAttribute
-
-
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
-