-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt to fix Issue #195 - not quite working
- Loading branch information
1 parent
ee8b45f
commit 68d1a01
Showing
21 changed files
with
537 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
* | ||
* @author <a href="mailto:[email protected]">Lincoln Baxter, III</a> | ||
*/ | ||
public class AddressBuilderAnchor | ||
public class AddressBuilderAnchor implements BuildableAddress | ||
{ | ||
private AddressBuilder parent; | ||
|
||
|
@@ -29,14 +29,18 @@ public class AddressBuilderAnchor | |
this.parent = parent; | ||
} | ||
|
||
/** | ||
* Generate an {@link Address} representing the current state of this {@link AddressBuilder}. | ||
*/ | ||
@Override | ||
public Address build() | ||
{ | ||
return parent.build(); | ||
} | ||
|
||
@Override | ||
public Address buildLiteral() | ||
{ | ||
return parent.buildLiteral(); | ||
} | ||
|
||
@Override | ||
public String toString() | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
/** | ||
* @author <a href="mailto:[email protected]">Lincoln Baxter, III</a> | ||
*/ | ||
public class AddressBuilderBase | ||
public class AddressBuilderBase implements BuildableAddress | ||
{ | ||
private AddressBuilder parent; | ||
|
||
|
@@ -27,14 +27,18 @@ public class AddressBuilderBase | |
this.parent = parent; | ||
} | ||
|
||
/** | ||
* Generate an {@link Address} representing the current state of this {@link AddressBuilder}. | ||
*/ | ||
@Override | ||
public Address build() | ||
{ | ||
return parent.build(); | ||
} | ||
|
||
@Override | ||
public Address buildLiteral() | ||
{ | ||
return parent.buildLiteral(); | ||
} | ||
|
||
/** | ||
* Set the scheme section of this {@link Address}. | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
* | ||
* @author <a href="mailto:[email protected]">Lincoln Baxter, III</a> | ||
*/ | ||
public class AddressBuilderDomain | ||
public class AddressBuilderDomain implements BuildableAddress | ||
{ | ||
private AddressBuilder parent; | ||
|
||
|
@@ -29,14 +29,18 @@ public class AddressBuilderDomain | |
this.parent = parent; | ||
} | ||
|
||
/** | ||
* Generate an {@link Address} representing the current state of this {@link AddressBuilder}. | ||
*/ | ||
@Override | ||
public Address build() | ||
{ | ||
return parent.build(); | ||
} | ||
|
||
@Override | ||
public Address buildLiteral() | ||
{ | ||
return parent.buildLiteral(); | ||
} | ||
|
||
/** | ||
* Set the port section of this {@link Address}. | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
* | ||
* @author <a href="mailto:[email protected]">Lincoln Baxter, III</a> | ||
*/ | ||
public class AddressBuilderPath | ||
public class AddressBuilderPath implements BuildableAddress | ||
{ | ||
private AddressBuilder parent; | ||
|
||
|
@@ -29,14 +29,18 @@ public class AddressBuilderPath | |
this.parent = parent; | ||
} | ||
|
||
/** | ||
* Generate an {@link Address} representing the current state of this {@link AddressBuilder}. | ||
*/ | ||
@Override | ||
public Address build() | ||
{ | ||
return parent.build(); | ||
} | ||
|
||
@Override | ||
public Address buildLiteral() | ||
{ | ||
return parent.buildLiteral(); | ||
} | ||
|
||
/** | ||
* Set a query-parameter to a value or multiple values. The given name and values will be encoded before they are | ||
* stored. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
* | ||
* @author <a href="mailto:[email protected]">Lincoln Baxter, III</a> | ||
*/ | ||
public class AddressBuilderPort | ||
public class AddressBuilderPort implements BuildableAddress | ||
{ | ||
private AddressBuilder parent; | ||
|
||
|
@@ -29,14 +29,18 @@ public class AddressBuilderPort | |
this.parent = parent; | ||
} | ||
|
||
/** | ||
* Generate an {@link Address} representing the current state of this {@link AddressBuilder}. | ||
*/ | ||
@Override | ||
public Address build() | ||
{ | ||
return parent.build(); | ||
} | ||
|
||
@Override | ||
public Address buildLiteral() | ||
{ | ||
return parent.buildLiteral(); | ||
} | ||
|
||
/** | ||
* Set the non-encoded path section of this {@link Address}. The given value will be stored without additional | ||
* encoding or decoding. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
* | ||
* @author <a href="mailto:[email protected]">Lincoln Baxter, III</a> | ||
*/ | ||
public class AddressBuilderQuery | ||
public class AddressBuilderQuery implements BuildableAddress | ||
{ | ||
private AddressBuilder parent; | ||
|
||
|
@@ -29,14 +29,18 @@ public class AddressBuilderQuery | |
this.parent = parent; | ||
} | ||
|
||
/** | ||
* Generate an {@link Address} representing the current state of this {@link AddressBuilder}. | ||
*/ | ||
@Override | ||
public Address build() | ||
{ | ||
return parent.build(); | ||
} | ||
|
||
@Override | ||
public Address buildLiteral() | ||
{ | ||
return parent.buildLiteral(); | ||
} | ||
|
||
/** | ||
* Set a query-parameter to a value or multiple values. The given name and values will be encoded before they are | ||
* stored. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
* | ||
* @author <a href="mailto:[email protected]">Lincoln Baxter, III</a> | ||
*/ | ||
public class AddressBuilderScheme | ||
public class AddressBuilderScheme implements BuildableAddress | ||
{ | ||
private AddressBuilder parent; | ||
|
||
|
@@ -29,14 +29,18 @@ public class AddressBuilderScheme | |
this.parent = parent; | ||
} | ||
|
||
/** | ||
* Generate an {@link Address} representing the current state of this {@link AddressBuilder}. | ||
*/ | ||
@Override | ||
public Address build() | ||
{ | ||
return parent.build(); | ||
} | ||
|
||
@Override | ||
public Address buildLiteral() | ||
{ | ||
return parent.buildLiteral(); | ||
} | ||
|
||
/** | ||
* Set the domain section of this {@link Address}. | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
* | ||
* @author <a href="mailto:[email protected]">Fabien Marsaud</a> | ||
*/ | ||
public class AddressBuilderSchemeSpecificPart | ||
public class AddressBuilderSchemeSpecificPart implements BuildableAddress | ||
{ | ||
private AddressBuilder parent; | ||
|
||
|
@@ -29,14 +29,18 @@ public class AddressBuilderSchemeSpecificPart | |
this.parent = parent; | ||
} | ||
|
||
/** | ||
* Generate an {@link Address} representing the current state of this {@link AddressBuilder}. | ||
*/ | ||
@Override | ||
public Address build() | ||
{ | ||
return parent.build(); | ||
} | ||
|
||
@Override | ||
public Address buildLiteral() | ||
{ | ||
return parent.buildLiteral(); | ||
} | ||
|
||
@Override | ||
public String toString() | ||
{ | ||
|
Oops, something went wrong.