|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.turbine.services.servlet.TurbineServlet
public class TurbineServlet
Simple static accessor to the EngineContextService
| Constructor Summary | |
|---|---|
TurbineServlet()
|
|
| Method Summary | |
|---|---|
static String |
getContextPath()
Returns the context path for this Turbine application. |
static String |
getRealPath(String path)
Returns the complete filesystem path for a given URI |
static URL |
getResource(String uri)
Returns an URL object for a given URI string. |
static InputStream |
getResourceAsStream(String uri)
Same as getResource except that it returns an InputStream |
static String |
getServerName()
Returns the server name that this Turbine application is running on. |
static String |
getServerPort()
Returns the port that this Turbine application is running through on the server. |
static 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 URL getResource(String uri)
uri - the URI to resolve as an URL
public static InputStream getResourceAsStream(String uri)
uri - the URI to resolve
ServletContext.getResourceAsStream(java.lang.String)public static String getRealPath(String path)
uri - the URI to resolve
ServletContext.getRealPath(java.lang.String)public static javax.servlet.ServletConfig getServletConfig()
public static javax.servlet.ServletContext getServletContext()
public static String getServerScheme()
public static String getServerName()
public static String getServerPort()
public static String getContextPath()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||