Schnittstelle ServletService
- Alle bekannten Implementierungsklassen:
TurbineServletService
This interface exposes methods of the runner context in order resolve or get access to external resources
- Version:
- $Id$
- Autor:
- Jeff Brekke, Raphaël Luta, Jason van Zyl
-
Feldübersicht
Felder -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the context path for this Turbine application.getRealPath
(String uri) Returns the complete filesystem path for a given URIgetResource
(String uri) Returns an URL object for a given URI string.Same as getResource except that it returns an InputStreamReturns the server name that this Turbine application is running on.Returns the port that this Turbine application is running through on the server.Returns the server scheme for this Turbine application.Returns the servlet config used by this Turbine web application.Returns the servlet context used by this Turbine web application.Von Schnittstelle geerbte Methoden org.apache.turbine.services.Initable
getInit, init, init, setInitableBroker, shutdown
Von Schnittstelle geerbte Methoden org.apache.turbine.services.Service
getConfiguration, getName, getProperties, setName, setServiceBroker
-
Felddetails
-
SERVICE_NAME
The service identifier- Siehe auch:
-
-
Methodendetails
-
getResource
Returns an URL object for a given URI string.- Parameter:
uri
- the URI to resolve as an URL- Gibt zurück:
- an URL object or null is the uri is malformed or can't be resolved
-
getResourceAsStream
Same as getResource except that it returns an InputStream- Parameter:
uri
- the URI to resolve- Gibt zurück:
- an InputStream on the URI content or null
-
getRealPath
Returns the complete filesystem path for a given URI- Parameter:
uri
- the URI to resolve- Gibt zurück:
- the full system path of this URI
-
getServletConfig
Returns the servlet config used by this Turbine web application.- Gibt zurück:
- turbine servlet config
-
getServletContext
Returns the servlet context used by this Turbine web application.- Gibt zurück:
- turbine servlet context
-
getServerScheme
Returns the server scheme for this Turbine application. This will either be http or https.- Gibt zurück:
- String
-
getServerName
Returns the server name that this Turbine application is running on.- Gibt zurück:
- String
-
getServerPort
Returns the port that this Turbine application is running through on the server.- Gibt zurück:
- String
-
getContextPath
Returns the context path for this Turbine application.- Gibt zurück:
- String
-