Package io.undertow.servlet.attribute
Class ServletRequestParameterAttribute
- java.lang.Object
-
- io.undertow.servlet.attribute.ServletRequestParameterAttribute
-
- All Implemented Interfaces:
io.undertow.attribute.ExchangeAttribute
public class ServletRequestParameterAttribute extends Object implements io.undertow.attribute.ExchangeAttribute
An attribute in the servlet request- Author:
- Stuart Douglas
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServletRequestParameterAttribute.Builder
-
Constructor Summary
Constructors Constructor Description ServletRequestParameterAttribute(String attributeName)
-
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)
-
-
-
Constructor Detail
-
ServletRequestParameterAttribute
public ServletRequestParameterAttribute(String attributeName)
-
-
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
-
-