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).
| Modifier and Type | Method and Description |
|---|---|
String |
getContextPath()
Obtains the context path for the
Servlet application. |
Logger |
getLogger()
|
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. |
String getServerName()
int getServerPort()
HttpRequest.String getContextPath()
Servlet application.Servlet application.ResourceLocator getResourceLocator()
ResourceLocator for the Servlet application.ResourceLocator for the Servlet application.Copyright © 2005–2015. All rights reserved.