Package io.undertow.attribute
Class TransportProtocolAttribute
java.lang.Object
io.undertow.attribute.TransportProtocolAttribute
- All Implemented Interfaces:
ExchangeAttribute
Deprecated.
The request method
- Author:
- Stuart Douglas
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDeprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ExchangeAttributeDeprecated.static final StringDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionreadAttribute(HttpServerExchange exchange) Deprecated.Resolve the attribute from the HTTP server exchange.toString()Deprecated.voidwriteAttribute(HttpServerExchange exchange, String newValue) Deprecated.Sets a new value for the attribute.
-
Field Details
-
TRANSPORT_PROTOCOL
Deprecated.- See Also:
-
INSTANCE
Deprecated.
-
-
Method Details
-
readAttribute
Deprecated.Description copied from interface:ExchangeAttributeResolve the attribute from the HTTP server exchange. This may return null if the attribute is not present.- Specified by:
readAttributein interfaceExchangeAttribute- Parameters:
exchange- The exchange- Returns:
- The attribute
-
writeAttribute
public void writeAttribute(HttpServerExchange exchange, String newValue) throws ReadOnlyAttributeException Deprecated.Description copied from interface:ExchangeAttributeSets a new value for the attribute. Not all attributes are writable.- Specified by:
writeAttributein interfaceExchangeAttribute- Parameters:
exchange- The exchangenewValue- The new value for the attribute- Throws:
ReadOnlyAttributeException- when attribute cannot be written
-
toString
Deprecated.
-
RequestProtocolAttribute