java.lang.Object
swim.uri.Uri
- All Implemented Interfaces:
Comparable<Uri>,Debug,Display
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final UriAuthorityprotected final UriFragmentprotected final UriPathprotected final UriQueryprotected final UriScheme -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUri(UriScheme scheme, UriAuthority authority, UriPath path, UriQuery query, UriFragment fragment) -
Method Summary
Modifier and TypeMethodDescriptionappendedPath(String component) appendedPath(String... components) appendedPath(Collection<? extends String> components) appendedQuery(String value) appendedQuery(String... keyValuePairs) appendedQuery(String key, String value) appendedQuery(Map<? extends String, ? extends String> params) appendedSegment(String segment) final UriAuthorityauthority(UriAuthority authority) final StringauthorityPart(String authority) final Uribase()final UriPathbasePath()final Uribody()final UriPathbodyPath()final intprotected Uricopy(UriScheme scheme, UriAuthority authority, UriPath path, UriQuery query, UriFragment fragment) static Uristatic Uristatic Uricreate(UriPath path, UriFragment fragment) static Uristatic Uricreate(UriPath path, UriQuery query, UriFragment fragment) static Uricreate(UriScheme scheme, UriAuthority authority) static Uricreate(UriScheme scheme, UriAuthority authority, UriPath path) static Uricreate(UriScheme scheme, UriAuthority authority, UriPath path, UriFragment fragment) static Uricreate(UriScheme scheme, UriAuthority authority, UriPath path, UriQuery query) static Uricreate(UriScheme scheme, UriAuthority authority, UriPath path, UriQuery query, UriFragment fragment) <T> Output<T>Writes a developer readable, debug-formatted string representation of this object tooutput.<T> Output<T>Writes a human readable, display-formatted string representation of this object tooutput.static Uriempty()endpoint()final booleanform()final UriFragmentfragment()fragment(UriFragment fragment) final StringfragmentIdentifier(String fragment) final StringfragmentPart(String fragment) final inthashCode()final UriHosthost()final Stringfinal StringhostIPv4()final StringhostIPv6()final StringhostName()final StringhostPart()booleanfinal booleanfinal booleanisEmpty()booleanisRelativeTo(Uri absolute) protected UriPathfinal Uriparent()final UriPathstatic Uripassword()final UriPathpath()final StringpathName()final StringpathPart()final UriPortport()final intportNumber(int number) final StringportPart()prependedPath(String component) prependedPath(String... components) prependedPath(Collection<? extends String> components) prependedQuery(String value) prependedQuery(String... keyValuePairs) prependedQuery(String key, String value) prependedQuery(Map<? extends String, ? extends String> params) prependedSegment(String segment) final UriQueryquery()final StringremovedQuery(String key) final UriSchemescheme()final StringschemeName(String scheme) final StringschemePart(String scheme) static UriParserfinal StringtoString()updatedQuery(String key, String value) final UriUseruser()username()final StringuserPart()
-
Field Details
-
scheme
-
authority
-
path
-
query
-
fragment
-
-
Constructor Details
-
Uri
protected Uri(UriScheme scheme, UriAuthority authority, UriPath path, UriQuery query, UriFragment fragment)
-
-
Method Details
-
isDefined
public final boolean isDefined() -
isEmpty
public final boolean isEmpty() -
scheme
-
scheme
-
schemePart
-
schemePart
-
schemeName
-
schemeName
-
authority
-
authority
-
authorityPart
-
authorityPart
-
user
-
user
-
userPart
-
userPart
-
username
-
username
-
username
-
password
-
password
-
host
-
host
-
hostPart
-
hostPart
-
hostAddress
-
hostName
-
hostName
-
hostIPv4
-
hostIPv4
-
hostIPv6
-
hostIPv6
-
port
-
port
-
portPart
-
portPart
-
portNumber
public final int portNumber() -
portNumber
-
path
-
path
-
path
-
pathPart
-
pathPart
-
pathName
-
pathName
-
parentPath
-
basePath
-
bodyPath
-
parent
-
base
-
body
-
appendedPath
-
appendedPath
-
appendedPath
-
appendedSlash
-
appendedSegment
-
prependedPath
-
prependedPath
-
prependedPath
-
prependedSlash
-
prependedSegment
-
query
-
query
-
query
-
queryPart
-
queryPart
-
updatedQuery
-
removedQuery
-
appendedQuery
-
appendedQuery
-
appendedQuery
-
appendedQuery
-
prependedQuery
-
prependedQuery
-
prependedQuery
-
prependedQuery
-
fragment
-
fragment
-
fragmentPart
-
fragmentPart
-
fragmentIdentifier
-
fragmentIdentifier
-
endpoint
-
isRelativeTo
-
isChildOf
-
resolve
-
merge
-
unresolve
-
copy
protected Uri copy(UriScheme scheme, UriAuthority authority, UriPath path, UriQuery query, UriFragment fragment) -
compareTo
- Specified by:
compareToin interfaceComparable<Uri>
-
equals
-
hashCode
public final int hashCode() -
debug
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput. -
display
Description copied from interface:DisplayWrites a human readable, display-formatted string representation of this object tooutput. -
toString
-
empty
-
create
public static Uri create(UriScheme scheme, UriAuthority authority, UriPath path, UriQuery query, UriFragment fragment) -
create
-
create
public static Uri create(UriScheme scheme, UriAuthority authority, UriPath path, UriFragment fragment) -
create
-
create
-
create
-
create
-
create
-
create
-
create
-
standardParser
-
parse
-
form
-