|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry5.internal.services.BaseURLSourceImpl
public class BaseURLSourceImpl
Constructor Summary | |
---|---|
BaseURLSourceImpl(Request request,
java.lang.String hostname,
int hostPort,
int secureHostPort)
|
Method Summary | |
---|---|
java.lang.String |
getBaseURL(boolean secure)
Returns the base portion of the URL, before the context path and servlet path are appended. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseURLSourceImpl(Request request, @Inject@Symbol(value="tapestry.hostname") java.lang.String hostname, @Symbol(value="tapestry.hostport") int hostPort, @Symbol(value="tapestry.hostport-secure") int secureHostPort)
Method Detail |
---|
public java.lang.String getBaseURL(boolean secure)
BaseURLSource
getBaseURL
in interface BaseURLSource
secure
- whether a secure "https" or insecure "http" base URL should be returned
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |