Package com.mastfrog.url
Class Parameters
java.lang.Object
com.mastfrog.url.Parameters
- All Implemented Interfaces:
URLComponent,Serializable
- Direct Known Subclasses:
ParsedParameters
- Author:
- Tim Boudreau
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidAppend this component to a StringBuilder.builder()Get a human-readable, localized name for this part of the URL.booleanisValid()Determine if this component is in compliance with the RFCs governing URLs and DNS.static Parameters
-
Method Details
-
isValid
public boolean isValid()Description copied from interface:URLComponentDetermine if this component is in compliance with the RFCs governing URLs and DNS.- Specified by:
isValidin interfaceURLComponent- Returns:
- True if this component is valid.
-
toParsedParameters
-
getComponentName
Description copied from interface:URLComponentGet a human-readable, localized name for this part of the URL. Useful if an error message needs to be shown.- Specified by:
getComponentNamein interfaceURLComponent- Returns:
- The component name
-
appendTo
Description copied from interface:URLComponentAppend this component to a StringBuilder.- Specified by:
appendToin interfaceURLComponent- Parameters:
sb- A StringBuilder
-
builder
-
parse
-
getElements
-