/** * Set a query-parameter to a value or multiple values. The given name and values will be stored * without additional encoding or decoding. */ public AddressBuilderQuery query(CharSequence name, Object... values) { return parent.query(name, values); }
/** Set the port section of this {@link Address}. */ public AddressBuilderPort port(int port) { return parent.port(port); }
/** * Set the path section of this {@link Address}. The given value will be encoded before it is * stored. */ public AddressBuilderPath pathEncoded(CharSequence path) { return parent.pathEncoded(path); }
@Override public Address buildLiteral() { return parent.buildLiteral(); }
/** * Set a parameter name and value or values. The values will be encoded before they are stored. */ public AddressBuilderDomain setEncoded(CharSequence name, Object... values) { parent.setEncoded(name, values); return this; }
@Override public Address build() { return parent.build(); }
@Override public String toString() { return parent.toString(); }
/** Set the anchor section of this {@link Address}. */ public AddressBuilderAnchor anchor(String anchor) { return parent.anchor(anchor); }
/** * Set a literal query string without additional encoding or decoding. A leading '?' character is * optional; the builder will add one if necessary. */ public AddressBuilderQuery queryLiteral(String query) { return parent.queryLiteral(query); }
public OrderBuilder billedTo(AddressBuilder addressBuilder) { return billedTo(addressBuilder.build()); }