org.apache.turbine.util.uri
Interface URI

All Known Implementing Classes:
BaseURI, DynamicURI

public interface URI

An interface class which describes the absolute minimum of methods that a Turbine URI class must implement.

Version:
$Id: URI.java 534527 2007-05-02 16:10:59Z tv $
Author:
Henning P. Schmiedehausen

Method Summary
 java.lang.String getContextPath()
          Gets the context path.
 java.lang.String getReference()
          Returns the current reference anchor.
 java.lang.String getScriptName()
          Gets the script name (/servlets/Turbine).
 java.lang.String getServerName()
          Gets the server name.
 int getServerPort()
          Gets the server port.
 java.lang.String getServerScheme()
          Returns the current Server Scheme
 

Method Detail

getScriptName

public java.lang.String getScriptName()
Gets the script name (/servlets/Turbine).

Returns:
A String with the script name.

getContextPath

public java.lang.String getContextPath()
Gets the context path.

Returns:
A String with the context path.

getServerName

public java.lang.String getServerName()
Gets the server name.

Returns:
A String with the server name.

getServerPort

public int getServerPort()
Gets the server port.

Returns:
A String with the server port.

getServerScheme

public java.lang.String getServerScheme()
Returns the current Server Scheme

Returns:
The current Server scheme

getReference

public java.lang.String getReference()
Returns the current reference anchor.

Returns:
A String containing the reference.


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.