- 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 voidappendTo(Encoder encoder, Appendable out) default voidappendTo(Encoder encoder, Appendable out, long start, long end) default voidappendTo(Appendable out) default voidappendTo(Appendable out, long start, long end) default longgetParameter(String name) Gets the value for the provided parameter name ornullif 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 ornullif has no values.default booleantoString()Gets the query string encoded in the default encodingIRI.ENCODING, not including the '?'default URIParameterstrim()default voiddefault voiddefault voiddefault 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 ornullif 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 ornullif has no values. -
getParameterMap
Gets an unmodifiable map view of all parameters. -
getLength
- Specified by:
getLengthin interfaceWritable- Throws:
IOException
-
isFastToString
default boolean isFastToString()- Specified by:
isFastToStringin interfaceWritable
-
writeTo
- Specified by:
writeToin interfaceWritable- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceWritable- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceWritable- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceWritable- Throws:
IOException
-
appendTo
- Specified by:
appendToin interfaceWritable- Throws:
IOException- See Also:
-
appendTo
- Specified by:
appendToin interfaceWritable- Throws:
IOException
-
appendTo
- Specified by:
appendToin interfaceWritable- Throws:
IOException- See Also:
-
appendTo
- Specified by:
appendToin interfaceWritable- Throws:
IOException
-
trim
-
