Package org.apache.turbine.util.uri
Interface URI
-
- All Known Implementing Classes:
BaseURI,DataURI,TemplateURI,TurbineURI
public interface URI
An interface class which describes the absolute minimum of methods that a Turbine URI class must implement.- Version:
- $Id$
- Author:
- Henning P. Schmiedehausen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetContextPath()Gets the context path.StringgetReference()Returns the current reference anchor.StringgetScriptName()Gets the script name (/servlets/Turbine).StringgetServerName()Gets the server name.intgetServerPort()Gets the server port.StringgetServerScheme()Returns the current Server Scheme
-
-
-
Method Detail
-
getScriptName
String getScriptName()
Gets the script name (/servlets/Turbine).- Returns:
- A String with the script name.
-
getContextPath
String getContextPath()
Gets the context path.- Returns:
- A String with the context path.
-
getServerName
String getServerName()
Gets the server name.- Returns:
- A String with the server name.
-
getServerPort
int getServerPort()
Gets the server port.- Returns:
- A String with the server port.
-
getServerScheme
String getServerScheme()
Returns the current Server Scheme- Returns:
- The current Server scheme
-
getReference
String getReference()
Returns the current reference anchor.- Returns:
- A String containing the reference.
-
-