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.html 1422810 2012-12-17 09:13:50Z ilgrosso $

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

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

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

String getServiceName()
Get the fully qualifed service name.

Returns:
The fully qualified servlet service name.


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