|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.turbine.services.servlet.TurbineServlet
Simple static accessor to the EngineContextService
Constructor Summary | |
TurbineServlet()
|
Method Summary | |
static java.lang.String |
getContextPath()
Returns the context path for this Turbine application. |
static java.lang.String |
getRealPath(java.lang.String path)
Returns the complete filesystem path for a given URI |
static java.net.URL |
getResource(java.lang.String uri)
Returns an URL object for a given URI string. |
static java.io.InputStream |
getResourceAsStream(java.lang.String uri)
Same as getResource except that it returns an InputStream |
static java.lang.String |
getServerName()
Returns the server name that this Turbine application is running on. |
static java.lang.String |
getServerPort()
Returns the port that this Turbine application is running through on the server. |
static java.lang.String |
getServerScheme()
Returns the server scheme for this Turbine application. |
protected static ServletService |
getService()
Utility method for accessing the service implementation |
static javax.servlet.ServletConfig |
getServletConfig()
Returns the servlet config used by this Turbine web application. |
static javax.servlet.ServletContext |
getServletContext()
Returns the servlet context used by this Turbine web application. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TurbineServlet()
Method Detail |
protected static ServletService getService()
public static java.net.URL getResource(java.lang.String uri)
uri
- the URI to resolve as an URL
public static java.io.InputStream getResourceAsStream(java.lang.String uri)
uri
- the URI to resolve
ServletContext.getResourceAsStream(java.lang.String)
public static java.lang.String getRealPath(java.lang.String path)
ServletContext.getRealPath(java.lang.String)
public static javax.servlet.ServletConfig getServletConfig()
public static javax.servlet.ServletContext getServletContext()
public static java.lang.String getServerScheme()
public static java.lang.String getServerName()
public static java.lang.String getServerPort()
public static java.lang.String getContextPath()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |