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
Modifier and TypeMethodDescriptionGets the context path.Returns the current reference anchor.Gets the script name (/servlets/Turbine).Gets the server name.int
Gets the server port.Returns the current Server Scheme
-
Method Details
-
getScriptName
Gets the script name (/servlets/Turbine).- Returns:
- A String with the script name.
-
getContextPath
Gets the context path.- Returns:
- A String with the context path.
-
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
Returns the current Server Scheme- Returns:
- The current Server scheme
-
getReference
Returns the current reference anchor.- Returns:
- A String containing the reference.
-