io.undertow.attribute.ExchangeAttribute
public class ServletRequestAttribute extends Object implements io.undertow.attribute.ExchangeAttribute
Modifier and Type | Class | Description |
---|---|---|
static class |
ServletRequestAttribute.Builder |
Constructor | Description |
---|---|
ServletRequestAttribute(String attributeName) |
Modifier and Type | Method | Description |
---|---|---|
String |
readAttribute(io.undertow.server.HttpServerExchange exchange) |
|
void |
writeAttribute(io.undertow.server.HttpServerExchange exchange,
String newValue) |
public ServletRequestAttribute(String attributeName)
public String readAttribute(io.undertow.server.HttpServerExchange exchange)
readAttribute
in interface io.undertow.attribute.ExchangeAttribute
public void writeAttribute(io.undertow.server.HttpServerExchange exchange, String newValue) throws io.undertow.attribute.ReadOnlyAttributeException
writeAttribute
in interface io.undertow.attribute.ExchangeAttribute
io.undertow.attribute.ReadOnlyAttributeException
Copyright © 2018. All rights reserved.