org.apache.tapestry.services.impl
Class AbsoluteURLBuilderImpl
java.lang.Object
org.apache.tapestry.services.impl.AbsoluteURLBuilderImpl
- All Implemented Interfaces:
- AbsoluteURLBuilder
public class AbsoluteURLBuilderImpl
- extends Object
- implements AbsoluteURLBuilder
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbsoluteURLBuilderImpl
public AbsoluteURLBuilderImpl()
constructURL
public String constructURL(String URI,
String scheme,
String server,
int port)
- Description copied from interface:
AbsoluteURLBuilder
- Constructs a URL from the given URI (that is, service path), schema, server and port.
- Specified by:
constructURL
in interface AbsoluteURLBuilder
- Parameters:
URI
- 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 "//")
constructURL
public String constructURL(String URI)
- Description copied from interface:
AbsoluteURLBuilder
- Constructs a URL, defaulting scheme, server and port to the values for the current request.
- Specified by:
constructURL
in interface AbsoluteURLBuilder
setRequest
public void setRequest(WebRequest request)
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.