org.apache.cocoon.servletservice
Interface Absolutizable

All Known Implementing Classes:
ServletServiceContext

public interface Absolutizable

By this interface, a ServletServiceContext provides absolute information about a mounted servlet service.

Since:
1.0.0
Version:
$Id: Absolutizable.java 608375 2008-01-03 08:33:00Z reinhard $

Method Summary
 URI absolutizeURI(URI uri)
          Takes the scheme specific part of a servlet service URI (the scheme is the responsibilty of the ServletSource) and resolve it with respect to the servlets mount point.
 String getServiceName()
          Get the fully qualifed service name.
 String getServiceName(String connectionName)
          Get the fully qualified servlet service name of a connected service.
 

Method Detail

absolutizeURI

public URI absolutizeURI(URI uri)
                  throws URISyntaxException
Takes the scheme specific part of a servlet service URI (the scheme is the responsibilty of the ServletSource) and resolve it with respect to the servlets mount point.

Parameters:
uri - relative uri
Returns:
absolutized uri
Throws:
URISyntaxException

getServiceName

public String getServiceName(String connectionName)
Get the fully qualified servlet service name of a connected service.

Parameters:
connectionName -
Returns:
The fully qualified servlet service name of a connected service.

getServiceName

public String getServiceName()
Get the fully qualifed service name.

Returns:
The fully qualified servlet service name.


Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.