A B D E F G H I N O P Q R S T U W 
All Classes All Packages

A

addEncodedPathSegment(String) - Method in class net.disy.oss.weburl.WebUrl.Builder
 
addEncodedPathSegments(String) - Method in class net.disy.oss.weburl.WebUrl.Builder
Adds a set of encoded path segments separated by a slash (either \ or /).
addEncodedQueryParameter(String, String) - Method in class net.disy.oss.weburl.WebUrl.Builder
Adds the pre-encoded query parameter to this URL's query string.
addPathSegment(String) - Method in class net.disy.oss.weburl.WebUrl.Builder
 
addPathSegments(String) - Method in class net.disy.oss.weburl.WebUrl.Builder
Adds a set of path segments separated by a slash (either \ or /).
addQueryParameter(String, String) - Method in class net.disy.oss.weburl.WebUrl.Builder
Encodes the query parameter using UTF-8 and adds it to this URL's query string.

B

build() - Method in class net.disy.oss.weburl.WebUrl.Builder
 
builder() - Static method in class net.disy.oss.weburl.WebUrl
 

D

defaultPort(String) - Static method in class net.disy.oss.weburl.WebUrl
Returns 80 if scheme.equals("http"), 443 if scheme.equals("https") and -1 otherwise.

E

encodedFragment() - Method in class net.disy.oss.weburl.WebUrl
Returns this URL's encoded fragment, like "abc" for http://host/#abc.
encodedFragment(String) - Method in class net.disy.oss.weburl.WebUrl.Builder
 
encodedPassword() - Method in class net.disy.oss.weburl.WebUrl
Returns the password, or an empty string if none is set.
encodedPassword(String) - Method in class net.disy.oss.weburl.WebUrl.Builder
 
encodedPath() - Method in class net.disy.oss.weburl.WebUrl
Returns the entire path of this URL encoded for use in HTTP resource resolution.
encodedPath(String) - Method in class net.disy.oss.weburl.WebUrl.Builder
 
encodedPathSegments() - Method in class net.disy.oss.weburl.WebUrl
Returns a list of encoded path segments like ["a", "b", "c"] for the URL http://host/a/b/c.
encodedQuery() - Method in class net.disy.oss.weburl.WebUrl
Returns the query of this URL, encoded for use in HTTP resource resolution.
encodedQuery(String) - Method in class net.disy.oss.weburl.WebUrl.Builder
 
encodedUsername() - Method in class net.disy.oss.weburl.WebUrl
Returns the username, or an empty string if none is set.
encodedUsername(String) - Method in class net.disy.oss.weburl.WebUrl.Builder
 
equals(Object) - Method in class net.disy.oss.weburl.WebUrl
 

F

fragment() - Method in class net.disy.oss.weburl.WebUrl
Returns this URL's fragment, like "abc" for http://host/#abc.
fragment(String) - Method in class net.disy.oss.weburl.WebUrl.Builder
 
from(URI) - Static method in class net.disy.oss.weburl.WebUrl
Returns an Optional for uri if its protocol is http or https, or Optional.empty() if it has any other protocol.

G

get(String) - Static method in class net.disy.oss.weburl.WebUrl
Returns a new WebUrl representing url.

H

hashCode() - Method in class net.disy.oss.weburl.WebUrl
 
host() - Method in class net.disy.oss.weburl.WebUrl
Returns the host address suitable for use with InetAddress.getAllByName(String).
host(String) - Method in class net.disy.oss.weburl.WebUrl.Builder
 

I

isHttps() - Method in class net.disy.oss.weburl.WebUrl
 

N

net.disy.oss.weburl - module net.disy.oss.weburl
 
net.disy.oss.weburl - package net.disy.oss.weburl
 
newBuilder() - Method in class net.disy.oss.weburl.WebUrl
 
newBuilder(String) - Method in class net.disy.oss.weburl.WebUrl
Returns a builder for the URL that would be retrieved by following link from this URL, or null if the resulting URL is not well-formed.

O

of(URI) - Static method in class net.disy.oss.weburl.WebUrl
Returns an WebUrl for uri.

P

parse(String) - Static method in class net.disy.oss.weburl.WebUrl
Returns a new Optional representing url if it is a well-formed HTTP or HTTPS URL, or Optional.empty() if it isn't.
password() - Method in class net.disy.oss.weburl.WebUrl
Returns the decoded password, or an empty string if none is present.
password(String) - Method in class net.disy.oss.weburl.WebUrl.Builder
 
pathSegments() - Method in class net.disy.oss.weburl.WebUrl
Returns a list of path segments like ["a", "b", "c"] for the URL http://host/a/b/c.
pathSize() - Method in class net.disy.oss.weburl.WebUrl
Returns the number of segments in this URL's path.
port() - Method in class net.disy.oss.weburl.WebUrl
Returns the explicitly-specified port if one was provided, or the default port for this URL's scheme.
port(int) - Method in class net.disy.oss.weburl.WebUrl.Builder
 

Q

query() - Method in class net.disy.oss.weburl.WebUrl
Returns this URL's query, like "abc" for http://host/?abc.
query(String) - Method in class net.disy.oss.weburl.WebUrl.Builder
 
queryParameter(String) - Method in class net.disy.oss.weburl.WebUrl
Returns the first query parameter named name decoded using UTF-8, or null if there is no such query parameter.
queryParameterName(int) - Method in class net.disy.oss.weburl.WebUrl
Returns the name of the query parameter at index.
queryParameterNames() - Method in class net.disy.oss.weburl.WebUrl
Returns the distinct query parameter names in this URL, like ["a", "b"] for http://host/?a=apple&b=banana.
queryParameterValue(int) - Method in class net.disy.oss.weburl.WebUrl
Returns the value of the query parameter at index.
queryParameterValues(String) - Method in class net.disy.oss.weburl.WebUrl
Returns all values for the query parameter name ordered by their appearance in this URL.
querySize() - Method in class net.disy.oss.weburl.WebUrl
Returns the number of query parameters in this URL, like 2 for http://host/?a=apple&b=banana.

R

redact() - Method in class net.disy.oss.weburl.WebUrl
Returns a string with containing this URL with its username, password, query, and fragment stripped, and its path replaced with /....
removeAllEncodedQueryParameters(String) - Method in class net.disy.oss.weburl.WebUrl.Builder
 
removeAllQueryParameters() - Method in class net.disy.oss.weburl.WebUrl.Builder
 
removeAllQueryParameters(String) - Method in class net.disy.oss.weburl.WebUrl.Builder
 
removePathSegment(int) - Method in class net.disy.oss.weburl.WebUrl.Builder
 
resolve(String) - Method in class net.disy.oss.weburl.WebUrl
Returns the URL that would be retrieved by following link from this URL, or null if the resulting URL is not well-formed.

S

scheme() - Method in class net.disy.oss.weburl.WebUrl
Returns either "http" or "https".
scheme(String) - Method in class net.disy.oss.weburl.WebUrl.Builder
 
setEncodedPathSegment(int, String) - Method in class net.disy.oss.weburl.WebUrl.Builder
 
setEncodedQueryParameter(String, String) - Method in class net.disy.oss.weburl.WebUrl.Builder
 
setPathSegment(int, String) - Method in class net.disy.oss.weburl.WebUrl.Builder
 
setQueryParameter(String, String) - Method in class net.disy.oss.weburl.WebUrl.Builder
 

T

topPrivateDomain() - Method in class net.disy.oss.weburl.WebUrl
Returns the domain name of this URL's WebUrl.host() that is one level beneath the public suffix by consulting the public suffix list.
toString() - Method in class net.disy.oss.weburl.WebUrl.Builder
 
toString() - Method in class net.disy.oss.weburl.WebUrl
 

U

uri() - Method in class net.disy.oss.weburl.WebUrl
Returns this URL as a java.net.URI.
url() - Method in class net.disy.oss.weburl.WebUrl
Returns this URL as a java.net.URL.
username() - Method in class net.disy.oss.weburl.WebUrl
Returns the decoded username, or an empty string if none is present.
username(String) - Method in class net.disy.oss.weburl.WebUrl.Builder
 

W

WebUrl - Class in net.disy.oss.weburl
A uniform resource locator (URL) with a scheme of either http or https.
WebUrl.Builder - Class in net.disy.oss.weburl
 
A B D E F G H I N O P Q R S T U W 
All Classes All Packages