Class QueryStringAttribute
java.lang.Object
io.quarkus.vertx.http.runtime.attribute.QueryStringAttribute
- All Implemented Interfaces:
ExchangeAttribute
The query string
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ExchangeAttribute
static final ExchangeAttribute
static final String
static final ExchangeAttribute
static final ExchangeAttribute
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionreadAttribute
(io.vertx.ext.web.RoutingContext exchange) Resolve the attribute from the HTTP server exchange.void
writeAttribute
(io.vertx.ext.web.RoutingContext exchange, String newValue) Sets a new value for the attribute.
-
Field Details
-
QUERY_STRING_SHORT
- See Also:
-
QUERY_STRING
- See Also:
-
BARE_QUERY_STRING
- See Also:
-
ORIGINAL_QUERY_STRING_SHORT
- See Also:
-
ORIGINAL_QUERY_STRING
- See Also:
-
ORIGINAL_BARE_QUERY_STRING
- See Also:
-
INSTANCE
-
BARE_INSTANCE
-
INSTANCE_ORIGINAL_REQUEST
-
BARE_INSTANCE_ORIGINAL_REQUEST
-
-
Method Details
-
readAttribute
Description copied from interface:ExchangeAttribute
Resolve the attribute from the HTTP server exchange. This may return null if the attribute is not present.- Specified by:
readAttribute
in interfaceExchangeAttribute
- Parameters:
exchange
- The exchange- Returns:
- The attribute
-
writeAttribute
public void writeAttribute(io.vertx.ext.web.RoutingContext exchange, String newValue) throws ReadOnlyAttributeException Description copied from interface:ExchangeAttribute
Sets a new value for the attribute. Not all attributes are writable.- Specified by:
writeAttribute
in interfaceExchangeAttribute
- Parameters:
exchange
- The exchangenewValue
- The new value for the attribute- Throws:
ReadOnlyAttributeException
- when attribute cannot be written
-