public class AddressBuilderScheme extends Object
Address with a scheme section.| Modifier and Type | Method and Description |
|---|---|
AddressBuilderAnchor |
anchor(String anchor)
Set the anchor section of this
Address. |
Address |
build()
Generate an
Address representing the current state of this AddressBuilder. |
AddressBuilderDomain |
domain(CharSequence host)
Set the domain section of this
Address. |
AddressBuilderPath |
path(CharSequence path)
Set the non-encoded path section of this
Address. |
AddressBuilderPath |
pathEncoded(CharSequence path)
Set the encoded path section of this
Address. |
AddressBuilderPort |
port(int port)
Set the port section of this
Address. |
AddressBuilderQuery |
query(CharSequence name,
Object... values)
Set a query-parameter to a value or multiple values.
|
AddressBuilderQuery |
queryEncoded(CharSequence name,
Object... values)
Set a pre-encoded query-parameter to a pre-encoded value or multiple values.
|
AddressBuilderQuery |
queryLiteral(String query)
Set a literal query string without additional encoding or decoding.
|
AddressBuilderSchemeSpecificPart |
schemeSpecificPart(CharSequence schemeSpecificPart)
Set the scheme specific part section of this
Address. |
String |
toString() |
public Address build()
Address representing the current state of this AddressBuilder.public AddressBuilderDomain domain(CharSequence host)
Address.public AddressBuilderSchemeSpecificPart schemeSpecificPart(CharSequence schemeSpecificPart)
Address.public AddressBuilderPort port(int port)
Address.public AddressBuilderPath path(CharSequence path)
Address. The given value will be stored without additional
encoding or decoding.public AddressBuilderPath pathEncoded(CharSequence path)
Address. The given value will be decoded before it is stored.public AddressBuilderQuery query(CharSequence name, Object... values)
public AddressBuilderQuery queryEncoded(CharSequence name, Object... values)
public AddressBuilderQuery queryLiteral(String query)
public AddressBuilderAnchor anchor(String anchor)
Address.Copyright © 2015 OCPsoft. All Rights Reserved.