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 String
getContextPath()
Gets the context path.String
getReference()
Returns the current reference anchor.String
getScriptName()
Gets the script name (/servlets/Turbine).String
getServerName()
Gets the server name.int
getServerPort()
Gets the server port.String
getServerScheme()
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.
-
-