- All Superinterfaces:
Parameters,UriQuery
- Enclosing interface:
UriQuery
A Helidon query that can provide an independent snapshot of its parameter state.
This retains entries that cannot be reconstructed from
UriQuery.rawValue(),
such as raw parameters whose value lists have been cleared.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.common.parameters.Parameters
Parameters.BuilderNested classes/interfaces inherited from interface io.helidon.common.uri.UriQuery
UriQuery.Copyable -
Field Summary
Fields inherited from interface io.helidon.common.parameters.Parameters
GENERIC_TYPE -
Method Summary
-
Method Details
-
copy
UriQuery copy()Copy the current raw and decoded parameters independently, including raw names, empty entries, and edits made through parameter lists. The returned query and this query must not share mutable state. The raw query serialization may be normalized. Implementations should return a standard query created usingUriQueryWriteable.create()so that its complete parameter state can be copied without serialization. A non-standard snapshot should expose every serialized raw parameter name throughUriQuery.getAllRaw(String)using the same encoded spelling to retain each raw alias.- Returns:
- independent parameter-state snapshot
-