- All Superinterfaces:
Writable
- All Known Subinterfaces:
MutableURIParameters
- All Known Implementing Classes:
EmptyURIParameters
,UnmodifiableURIParameters
,URIParametersMap
Provides read-only access to URI parameters.
- Author:
- AO Industries, Inc.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
appendTo
(Encoder encoder, Appendable out) default void
appendTo
(Encoder encoder, Appendable out, long start, long end) default void
appendTo
(Appendable out) default void
appendTo
(Appendable out, long start, long end) default long
getParameter
(String name) Gets the value for the provided parameter name ornull
if doesn't exist.Gets an unmodifiable map view of all parameters.Gets an unmodifiable iterator of the parameter names.getParameterValues
(String name) Gets an unmodifiable view of all values for a multi-value parameter ornull
if has no values.default boolean
toString()
Gets the query string encoded in the default encodingIRI.ENCODING
, not including the '?'default URIParameters
trim()
default void
default void
default void
default void
-
Method Details
-
toString
String toString()Gets the query string encoded in the default encodingIRI.ENCODING
, not including the '?' prefix. -
getParameter
Gets the value for the provided parameter name ornull
if doesn't exist. If the parameter has multiple values, the first value is returned. -
getParameterNames
Gets an unmodifiable iterator of the parameter names. -
getParameterValues
Gets an unmodifiable view of all values for a multi-value parameter ornull
if has no values. -
getParameterMap
Gets an unmodifiable map view of all parameters. -
getLength
- Specified by:
getLength
in interfaceWritable
- Throws:
IOException
-
isFastToString
default boolean isFastToString()- Specified by:
isFastToString
in interfaceWritable
-
writeTo
- Specified by:
writeTo
in interfaceWritable
- Throws:
IOException
-
writeTo
- Specified by:
writeTo
in interfaceWritable
- Throws:
IOException
-
writeTo
- Specified by:
writeTo
in interfaceWritable
- Throws:
IOException
-
writeTo
- Specified by:
writeTo
in interfaceWritable
- Throws:
IOException
-
appendTo
- Specified by:
appendTo
in interfaceWritable
- Throws:
IOException
- See Also:
-
appendTo
- Specified by:
appendTo
in interfaceWritable
- Throws:
IOException
-
appendTo
- Specified by:
appendTo
in interfaceWritable
- Throws:
IOException
- See Also:
-
appendTo
- Specified by:
appendTo
in interfaceWritable
- Throws:
IOException
-
trim
-