public class MetadataQueryProtocolRequestURLBuilder
extends java.lang.Object
implements com.google.common.base.Function<java.lang.String,java.lang.String>
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
base
The request base URL per the specification.
|
private org.slf4j.Logger |
log
Logger.
|
private com.google.common.base.Function<java.lang.String,java.lang.String> |
transformer
Function which transforms the entityID prior to substitution into the URL.
|
| Constructor and Description |
|---|
MetadataQueryProtocolRequestURLBuilder(java.lang.String baseURL)
Constructor.
|
MetadataQueryProtocolRequestURLBuilder(java.lang.String baseURL,
com.google.common.base.Function<java.lang.String,java.lang.String> transform)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
apply(java.lang.String input) |
private final org.slf4j.Logger log
private java.lang.String base
private com.google.common.base.Function<java.lang.String,java.lang.String> transformer
public MetadataQueryProtocolRequestURLBuilder(@Nonnull @NotEmpty
java.lang.String baseURL)
baseURL - the base URL for the metadata responderpublic MetadataQueryProtocolRequestURLBuilder(@Nonnull @NotEmpty
java.lang.String baseURL,
@Nullable
com.google.common.base.Function<java.lang.String,java.lang.String> transform)
baseURL - the base URL for the metadata respondertransform - function which transforms the entityID prior to URL construction substitution, may be null