public class AddressBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected CharSequence |
anchor |
protected CharSequence |
domain |
protected Map<CharSequence,org.ocpsoft.urlbuilder.Parameter> |
parameters |
protected CharSequence |
path |
protected Integer |
port |
protected Map<CharSequence,org.ocpsoft.urlbuilder.Parameter> |
queries |
protected CharSequence |
scheme |
protected CharSequence |
schemeSpecificPart |
| Modifier | Constructor and Description |
|---|---|
protected |
AddressBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static AddressBuilderBase |
begin()
Create a new
AddressBuilder instance. |
protected Address |
build()
Generate an
Address representing the current state of this AddressBuilder. |
static Address |
create(String url)
Create a new
Address from the given fully encoded URL. |
String |
toString() |
protected volatile CharSequence scheme
protected volatile CharSequence schemeSpecificPart
protected volatile CharSequence domain
protected volatile Integer port
protected volatile CharSequence path
protected Map<CharSequence,org.ocpsoft.urlbuilder.Parameter> parameters
protected Map<CharSequence,org.ocpsoft.urlbuilder.Parameter> queries
protected CharSequence anchor
public static AddressBuilderBase begin()
AddressBuilder instance.protected Address build()
Address representing the current state of this AddressBuilder.public static Address create(String url) throws IllegalArgumentException
Address from the given fully encoded URL. Improperly formatted or encoded URLs are not
parse-able and will result in an exception.IllegalArgumentException - when the input URL or URL fragment is not valid.http://en.wikipedia.org/wiki/URI_schemeCopyright © 2015 OCPsoft. All Rights Reserved.