Package org.ocpsoft.urlbuilder
Interface BuildableAddress
- All Known Implementing Classes:
AddressBuilderAnchor,AddressBuilderBase,AddressBuilderDomain,AddressBuilderPath,AddressBuilderPort,AddressBuilderQuery,AddressBuilderScheme,AddressBuilderSchemeSpecificPart
public interface BuildableAddress
Represents an object that can build and return an
Address as a result.- Author:
- Lincoln Baxter, III
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Generate anAddressrepresenting the current state of thisAddressBuilder.Generate anAddressrepresenting the current literal state of thisAddressBuilder.
-
Method Details
-
build
Address build()Generate anAddressrepresenting the current state of thisAddressBuilder. -
buildLiteral
Address buildLiteral()Generate anAddressrepresenting the current literal state of thisAddressBuilder.(Does not apply parameterization. E.g. The URL `/{foo}` will be treated as literal text, as opposed to calling
build(), which would result in `foo` being treated as a parameterized expression)
-