UrlBuilder.Builder

public static class UrlBuilder.Builder extends Object

Builder for constructing instances of UrlBuilder.

Public Constructor Summary

Public Method Summary

UrlBuilder
build()
Constructs an instance of UrlBuilder.
UrlBuilder.Builder
setColumns(Set<String> columns)
Sets the column names whose values will be substituted into the format to generate the URL.
UrlBuilder.Builder
setColumnsToEscape(Set<String> columnsToEscape)
Sets the column names whose values will be URL escaped.
UrlBuilder.Builder
setFormat(String format)
Sets the URL format.

Inherited Method Summary

Public Constructors

public UrlBuilder.Builder ()

Public Methods

public UrlBuilder build ()

Constructs an instance of UrlBuilder.

Returns
  • an instance of UrlBuilder

public UrlBuilder.Builder setColumns (Set<String> columns)

Sets the column names whose values will be substituted into the format to generate the URL.

Parameters
columns a set of column names

public UrlBuilder.Builder setColumnsToEscape (Set<String> columnsToEscape)

Sets the column names whose values will be URL escaped. Must be a subset of the URL columns

Parameters
columnsToEscape a set of column names

public UrlBuilder.Builder setFormat (String format)

Sets the URL format.

Parameters
format a MessageFormat-style format string for the URL