org.apache.tapestry.engine
Class EngineUtils
java.lang.Object
org.apache.tapestry.engine.EngineUtils
public final class EngineUtils
- extends Object
Utilities needed by engine services and etc.
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
Method Summary |
static boolean |
needAbsoluteURL(String scheme,
String server,
int port,
WebRequest request)
Invoked by to see if an absolute URL is needed (because a specific scheme, server or port
was indicated that does not match the incoming request). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
needAbsoluteURL
public static boolean needAbsoluteURL(String scheme,
String server,
int port,
WebRequest request)
- Invoked by to see if an absolute URL is needed (because a specific scheme, server or port
was indicated that does not match the incoming request).
- Parameters:
scheme
- the desired URL scheme, or nullserver
- the desired URL server name, or nullport
- the desired URL port, or 0request
- the request to check against
- Returns:
- true if absolute URL is needed, false otherwise
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.