public class ServletRequestAttribute extends Object implements ExchangeAttribute
Modifier and Type | Class and Description |
---|---|
static class |
ServletRequestAttribute.Builder |
Constructor and Description |
---|
ServletRequestAttribute(String attributeName) |
Modifier and Type | Method and Description |
---|---|
String |
readAttribute(HttpServerExchange exchange) |
void |
writeAttribute(HttpServerExchange exchange,
String newValue) |
public ServletRequestAttribute(String attributeName)
public String readAttribute(HttpServerExchange exchange)
readAttribute
in interface ExchangeAttribute
public void writeAttribute(HttpServerExchange exchange, String newValue) throws ReadOnlyAttributeException
writeAttribute
in interface ExchangeAttribute
ReadOnlyAttributeException
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.