Package org.wiremock.url
Class BaseUrlValue
java.lang.Object
org.wiremock.url.BaseUrlValue
- All Implemented Interfaces:
org.wiremock.stringparser.ParsedString,AbsoluteUri,AbsoluteUrl,BaseUrl,Normalisable<AbsoluteUri>,ServersideAbsoluteUrl,Uri,Url,UrlWithAuthority
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.wiremock.url.AbsoluteUri
AbsoluteUri.Builder<SELF extends AbsoluteUri.Builder<SELF>>, AbsoluteUri.Transformer<SELF extends AbsoluteUri.Transformer<SELF>>Nested classes/interfaces inherited from interface org.wiremock.url.AbsoluteUrl
AbsoluteUrl.Builder, AbsoluteUrl.TransformerNested classes/interfaces inherited from interface org.wiremock.url.Uri
Uri.Builder, Uri.Transformer<SELF extends Uri.Transformer<SELF>> -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the authority component of this URI reference, ornullif there is no authority.@Nullable FragmentReturns the fragment component of this URI reference, ornullif there is no fragment.getPath()Returns the path component of this URI reference.@Nullable QuerygetQuery()Returns the query component of this URI reference, ornullif there is no query.Returns the scheme component of this URI, ornullif it is a URI Reference and so there is no scheme.inthashCode()booleanReturns a normalised form of this value.toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.wiremock.url.AbsoluteUri
getScheme, isAbsolute, isNormalForm, resolve, resolveMethods inherited from interface org.wiremock.url.AbsoluteUrl
getAuthority, getHost, getOrigin, getSchemeRelativeUrl, isAbsoluteUrl, isOpaqueUri, isRelative, resolve, resolve, resolve, thaw, transformMethods inherited from interface org.wiremock.url.BaseUrl
getQuery, getServersideAbsoluteUrl, normalise, toBaseUrlMethods inherited from interface org.wiremock.stringparser.ParsedString
toStringMethods inherited from interface org.wiremock.url.ServersideAbsoluteUrl
getFragmentMethods inherited from interface org.wiremock.url.Uri
getPath, getPort, getQueryOrEmpty, getResolvedPort, getUserInfo, toJavaUriMethods inherited from interface org.wiremock.url.Url
getPathAndQuery
-
Field Details
-
nonNullAuthority
-
nonNullScheme
-
scheme
-
authority
-
path
-
query
-
fragment
-
-
Method Details
-
getAuthority
Description copied from interface:UriReturns the authority component of this URI reference, ornullif there is no authority.- Specified by:
getAuthorityin interfaceAbsoluteUrl- Specified by:
getAuthorityin interfaceUri- Specified by:
getAuthorityin interfaceUrlWithAuthority- Returns:
- the authority component, or
nullif absent
-
getScheme
Description copied from interface:UriReturns the scheme component of this URI, ornullif it is a URI Reference and so there is no scheme.- Specified by:
getSchemein interfaceAbsoluteUri- Specified by:
getSchemein interfaceUri- Returns:
- the scheme component, or
nullif absent
-
normalise
Description copied from interface:NormalisableReturns a normalised form of this value.- Specified by:
normalisein interfaceAbsoluteUri- Specified by:
normalisein interfaceNormalisable<NORMALISED extends AbsoluteUri>- Returns:
- a normalised value
-
isNormalForm
public boolean isNormalForm()- Specified by:
isNormalFormin interfaceAbsoluteUri- Specified by:
isNormalFormin interfaceNormalisable<NORMALISED extends AbsoluteUri>
-
getPath
Description copied from interface:UriReturns the path component of this URI reference. -
getQuery
Description copied from interface:UriReturns the query component of this URI reference, ornullif there is no query. -
getFragment
Description copied from interface:UriReturns the fragment component of this URI reference, ornullif there is no fragment.- Specified by:
getFragmentin interfaceUri- Returns:
- the fragment component, or
nullif absent
-
equals
-
hashCode
public int hashCode() -
toString
-