public class WebURLGeneratorTransformer extends URLGeneratorTransformer implements Serializable
URLGeneratorTransformer where the base path can be generated using the Wicket Page Class name.paramsAdded, usePathAsParamsfilter, processors| Constructor and Description |
|---|
WebURLGeneratorTransformer() |
WebURLGeneratorTransformer(List processors) |
WebURLGeneratorTransformer(Object base,
Object params) |
WebURLGeneratorTransformer(String baseUrlStr) |
WebURLGeneratorTransformer(String baseUrlStr,
Object params) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPrefix()
Server host info including protocol to be used.
|
protected String |
getServerHostInfo() |
boolean |
isPrefixRequired()
If true will prefix the protocol and Server Host name to the
baseUrlStr to ensure its an absolute path |
void |
setPrefix(String prefix)
Server host info including protocol to be used.
|
void |
setPrefixRequired(boolean prefixRequired)
If true will prefix the protocol and Server Host name to the
baseUrlStr to ensure its an absolute path |
Object |
transform(Object input)
|
addAnalyticsParams, decorateURL, isParamsAdded, isUsePathAsParams, joinDelimet, secureURL, setParamsAdded, setProcessors, setUsePathAsParamscleanDangligngDelimets, getDanglingDelimRegEx, getDelimiter, join, setDanglingDelimRegEx, setDelimitergetFilter, getProcessors, setFilterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplypublic WebURLGeneratorTransformer()
public WebURLGeneratorTransformer(List processors)
public WebURLGeneratorTransformer(String baseUrlStr)
protected String getServerHostInfo()
public Object transform(Object input)
URLGeneratorTransformerURLGeneratorTransformer.secureURL(Object, String) then URLGeneratorTransformer.decorateURL(Object, String) and then URLGeneratorTransformer.addAnalyticsParams(Object, String)transform in interface org.apache.commons.collections.Transformertransform in class URLGeneratorTransformerpublic boolean isPrefixRequired()
baseUrlStr to ensure its an absolute pathpublic void setPrefixRequired(boolean prefixRequired)
baseUrlStr to ensure its an absolute pathpublic String getPrefix()
public void setPrefix(String prefix)
Copyright © 2018. All rights reserved.