Package org.ocpsoft.urlbuilder
Class AddressBuilderSchemeSpecificPart
java.lang.Object
org.ocpsoft.urlbuilder.AddressBuilderSchemeSpecificPart
- All Implemented Interfaces:
BuildableAddress
An
Address with a scheme specific part section.- Author:
- Fabien Marsaud
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Generate anAddressrepresenting the current state of thisAddressBuilder.Generate anAddressrepresenting the current literal state of thisAddressBuilder.set(CharSequence name, Object... values) Set a parameter name and value or values.setDecoded(CharSequence name, Object... values) Set a parameter name and value or values.setEncoded(CharSequence name, Object... values) Set a parameter name and value or values.toString()
-
Method Details
-
set
Set a parameter name and value or values. The supplied values will be stored without additional encoding. -
setDecoded
Set a parameter name and value or values. The values will be decoded before they are stored. -
setEncoded
Set a parameter name and value or values. The values will be encoded before they are stored. -
build
Description copied from interface:BuildableAddressGenerate anAddressrepresenting the current state of thisAddressBuilder.- Specified by:
buildin interfaceBuildableAddress
-
buildLiteral
Description copied from interface:BuildableAddressGenerate 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
BuildableAddress.build(), which would result in `foo` being treated as a parameterized expression)- Specified by:
buildLiteralin interfaceBuildableAddress
-
toString
-