Package io.undertow.servlet.attribute
Class ServletNameAttribute
java.lang.Object
io.undertow.servlet.attribute.ServletNameAttribute
- All Implemented Interfaces:
io.undertow.attribute.ExchangeAttribute
The current servlet name
- Author:
- Stuart Douglas
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionreadAttribute
(io.undertow.server.HttpServerExchange exchange) toString()
void
writeAttribute
(io.undertow.server.HttpServerExchange exchange, String newValue)
-
Field Details
-
SERVLET_NAME
- See Also:
-
INSTANCE
public static final io.undertow.attribute.ExchangeAttribute INSTANCE -
NAME
- See Also:
-
-
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
-