Package io.undertow.servlet.attribute
Class ServletRequestURLAttribute
- java.lang.Object
-
- io.undertow.servlet.attribute.ServletRequestURLAttribute
-
- All Implemented Interfaces:
io.undertow.attribute.ExchangeAttribute
public class ServletRequestURLAttribute extends Object implements io.undertow.attribute.ExchangeAttribute
The request URL- Author:
- Stuart Douglas
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServletRequestURLAttribute.Builder
-
Field Summary
Fields Modifier and Type Field Description static io.undertow.attribute.ExchangeAttributeINSTANCEstatic StringREQUEST_URLstatic StringREQUEST_URL_SHORT
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringreadAttribute(io.undertow.server.HttpServerExchange exchange)voidwriteAttribute(io.undertow.server.HttpServerExchange exchange, String newValue)
-
-
-
Field Detail
-
REQUEST_URL_SHORT
public static final String REQUEST_URL_SHORT
- See Also:
- Constant Field Values
-
REQUEST_URL
public static final String REQUEST_URL
- See Also:
- Constant Field Values
-
INSTANCE
public static final io.undertow.attribute.ExchangeAttribute INSTANCE
-
-
Method Detail
-
readAttribute
public String readAttribute(io.undertow.server.HttpServerExchange exchange)
- Specified by:
readAttributein interfaceio.undertow.attribute.ExchangeAttribute
-
writeAttribute
public void writeAttribute(io.undertow.server.HttpServerExchange exchange, String newValue) throws io.undertow.attribute.ReadOnlyAttributeException- Specified by:
writeAttributein interfaceio.undertow.attribute.ExchangeAttribute- Throws:
io.undertow.attribute.ReadOnlyAttributeException
-
-