net.officefloor.plugin.servlet.host
Interface ServletServer

All Known Implementing Classes:
ServletServerImpl

public interface ServletServer

Provides the server hosting information/functionality for the Servlet application.

This provides the information/functionality that is provided by the Application Server to a Servlet application (e.g. configuration typically not stored in the web.xml file).

Author:
Daniel Sagenschneider

Method Summary
 String getContextPath()
          Obtains the context path for the Servlet application.
 Logger getLogger()
          Obtains the Logger for the Servlet application.
 ResourceLocator getResourceLocator()
          Obtains the ResourceLocator for the Servlet application.
 String getServerName()
          Obtains the name of the Server.
 int getServerPort()
          Obtains the port the Server is listening for a HttpRequest.
 

Method Detail

getServerName

String getServerName()
Obtains the name of the Server.

Returns:
Server name.

getServerPort

int getServerPort()
Obtains the port the Server is listening for a HttpRequest.

Returns:
Server port.

getContextPath

String getContextPath()
Obtains the context path for the Servlet application.

Returns:
Context path for the Servlet application.

getResourceLocator

ResourceLocator getResourceLocator()
Obtains the ResourceLocator for the Servlet application.

Returns:
ResourceLocator for the Servlet application.

getLogger

Logger getLogger()
Obtains the Logger for the Servlet application.

Returns:
Logger for the Servlet application.


Copyright © 2005-2012. All Rights Reserved.