|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry.services.impl.AbsoluteURLBuilderImpl
public class AbsoluteURLBuilderImpl
| Constructor Summary | |
|---|---|
AbsoluteURLBuilderImpl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
constructURL(java.lang.String URI)
Constructs a URL, defaulting scheme, server and port to the values for the current request. |
java.lang.String |
constructURL(java.lang.String URI,
java.lang.String scheme,
java.lang.String server,
int port)
Constructs a URL from the given URI (that is, service path), schema, server and port. |
void |
setRequest(WebRequest request)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbsoluteURLBuilderImpl()
| Method Detail |
|---|
public java.lang.String constructURL(java.lang.String URI,
java.lang.String scheme,
java.lang.String server,
int port)
AbsoluteURLBuilder
constructURL in interface AbsoluteURLBuilderURI - either a complete URL (that is, containing a colon), in which case it is returned
unchanged, or the path within the server.scheme - scheme to prefix URI withserver - to prefix the URI with (unless the URI begins with "//"port - to suffix the server with (unless the URI begins with "//")public java.lang.String constructURL(java.lang.String URI)
AbsoluteURLBuilder
constructURL in interface AbsoluteURLBuilderpublic void setRequest(WebRequest request)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||