Пример #1
0
 /**
  * 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);
 }
Пример #2
0
 /** Set the port section of this {@link Address}. */
 public AddressBuilderPort port(int port) {
   return parent.port(port);
 }
Пример #3
0
 /**
  * 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);
 }
Пример #4
0
 @Override
 public Address buildLiteral() {
   return parent.buildLiteral();
 }
Пример #5
0
 /**
  * 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;
 }
Пример #6
0
 @Override
 public Address build() {
   return parent.build();
 }
Пример #7
0
 @Override
 public String toString() {
   return parent.toString();
 }
Пример #8
0
 /** Set the anchor section of this {@link Address}. */
 public AddressBuilderAnchor anchor(String anchor) {
   return parent.anchor(anchor);
 }
Пример #9
0
 /**
  * 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);
 }
Пример #10
0
 public OrderBuilder billedTo(AddressBuilder addressBuilder) {
   return billedTo(addressBuilder.build());
 }