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: URI.java 615328 2008-01-25 20:25:05Z tv $
  Author:
    Henning P. Schmiedehausen

- - ### Method Summary

    Methods
    Modifier and Type | Method and 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.

Copyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.