|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.plexus.summit.util.UriBuilder
org.codehaus.plexus.summit.pull.tools.TemplateLink
org.codehaus.plexus.summit.pull.tools.TemplateLinkWithSlash
public class TemplateLinkWithSlash
This class allows one to specify paths in the setPage method using '/' slash as opposed to the ',' used in TemplateLink. It is less efficient as the '/' are converted to ',' to avoid problems parsing the pathinfo after conversion in a web server.
It is recommended that projects standardize on using the ',' separator and use TemplateLink. But this class is available for those who do not mind the inefficiency.
| Field Summary |
|---|
| Fields inherited from class org.codehaus.plexus.summit.util.UriBuilder |
|---|
ANCHOR_STATIC_PART_LENGTH, data, HTTP, HTTPS, PATH_INFO, pathInfo, QUERY_DATA, queryData, redirect, res, ROLE |
| Constructor Summary | |
|---|---|
TemplateLinkWithSlash()
Default constructor The init method must be called before use. |
|
| Method Summary | |
|---|---|
TemplateLink |
setPage(java.lang.String t)
Sets the template variable used by the Template Service. |
| Methods inherited from class org.codehaus.plexus.summit.pull.tools.TemplateLink |
|---|
getPage, getURI, refresh, setAbsolute, setEncodeURLOff, setRunData, toString |
| Methods inherited from class org.codehaus.plexus.summit.util.UriBuilder |
|---|
add, add, add, addPair, addPathInfo, addPathInfo, addPathInfo, addPathInfo, addPathInfo, addPathInfo, addPathInfo, addQueryData, addQueryData, addQueryData, addQueryData, addQueryData, addQueryData, getA, getScriptName, getServerName, getServerPort, getServerScheme, hasPathInfo, hasQueryData, init, init, isEncodeUrl, isRelative, remove, removePairByName, removePathInfo, removePathInfo, removeQueryData, removeQueryData, renderPairs, renderPathInfo, renderPathInfo, renderQueryString, renderQueryString, setAction, setEncodeUrl, setRedirect, setRelative, setTarget, toString, toString, writeEncoded, writeFastEncoded |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TemplateLinkWithSlash()
| Method Detail |
|---|
public TemplateLink setPage(java.lang.String t)
setPage in class TemplateLinkt - A String with the template name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||