Package org.ocpsoft.urlbuilder
Interface Address
public interface Address
Represents a valid web address, or valid web address fragment.
- Author:
- Lincoln Baxter, III
-
Method Summary
Modifier and TypeMethodDescriptionReturn the anchor '#' section of theAddress, ornullif no anchor is set.Get the domain section of thisAddress, ornullif no domain is set.getPath()Get the path section of thisAddress, ornullif no path is set.Get the path and query sections of thisAddress, ornullif neither are set.getPort()Get the port of thisAddress, ornullif no port is set.getQuery()Get the query section of thisAddress, ornullif no query is set.Get the query parameters of thisAddress, ornullif no query is set.Get the scheme section of thisAddress, or null if no scheme is set.Get the scheme section of thisAddress, or null if no scheme specific part is set.booleanbooleanbooleanbooleanbooleanbooleanboolean
-
Method Details
-
getAnchor
String getAnchor()Return the anchor '#' section of theAddress, ornullif no anchor is set. -
isAnchorSet
boolean isAnchorSet() -
getPath
String getPath()Get the path section of thisAddress, ornullif no path is set. -
getPathAndQuery
String getPathAndQuery()Get the path and query sections of thisAddress, ornullif neither are set. -
isPathSet
boolean isPathSet() -
getPort
Integer getPort()Get the port of thisAddress, ornullif no port is set. -
isPortSet
boolean isPortSet() -
getDomain
String getDomain()Get the domain section of thisAddress, ornullif no domain is set. -
isDomainSet
boolean isDomainSet() -
getScheme
String getScheme()Get the scheme section of thisAddress, or null if no scheme is set. -
isSchemeSet
boolean isSchemeSet() -
getSchemeSpecificPart
String getSchemeSpecificPart()Get the scheme section of thisAddress, or null if no scheme specific part is set. -
isSchemeSpecificPartSet
boolean isSchemeSpecificPartSet() -
getQuery
String getQuery()Get the query section of thisAddress, ornullif no query is set. -
getQueryParameters
Get the query parameters of thisAddress, ornullif no query is set. -
isQuerySet
boolean isQuerySet()
-