Package com.artisol.teneo.engine.webapp
Class ServletEngineEnvironment
Object
AbstractEngineEnvironment
ServletEngineEnvironment
- All Implemented Interfaces:
EngineEnvironmentI
- Direct Known Subclasses:
HttpEngineEnvironment
public class ServletEngineEnvironment
extends AbstractEngineEnvironment
Provides access to request data in a servlet container environment.
Instances of this class are passed directly to solution scripts.
- Version:
- 8.1.0
-
Method Summary
Modifier and TypeMethodDescriptionCallsServletRequest.getCharacterEncoding()on the request object.intCallsServletRequest.getContentLength()on the request object.CallsServletRequest.getContentType()on the request object.ServletInputStreamCallsServletRequest.getInputStream()on the request object.CallsServletRequest.getLocalAddr()on the request object.CallsServletRequest.getLocale()on the request object.CallsServletRequest.getLocales()on the request object.CallsServletRequest.getLocalName()on the request object.intCallsServletRequest.getLocalPort()on the request object.getParameter(String _sName) CallsServletRequest.getParameter(java.lang.String)on the request object.CallsServletRequest.getParameterMap()on the request object.Returns arbitrary typed request parameters parsed from the request body content.CallsServletRequest.getProtocol()on the request object.CallsServletRequest.getReader()on the request object.CallsServletRequest.getRemoteAddr()on the request object.CallsServletRequest.getRemoteHost()on the request object.intCallsServletRequest.getRemotePort()on the request object.CallsServletRequest.getServerName()on the request object.intCallsServletRequest.getServerPort()on the request object.booleanisInstanceOf(String _sTypeName) Checks whether this class or an ancestor is an instance of the given type name.booleanisSecure()CallsServletRequest.isSecure()on the request object.
-
Method Details
-
isInstanceOf
Checks whether this class or an ancestor is an instance of the given type name.- Specified by:
isInstanceOfin interfaceEngineEnvironmentI- Overrides:
isInstanceOfin classAbstractEngineEnvironment- Returns:
trueif and only if the given type name equals"ServletEngineEnvironment"or one of the type names of the ancestor classes- Since:
- 1.0
-
getCharacterEncoding
CallsServletRequest.getCharacterEncoding()on the request object.- Since:
- 1.0
-
getContentLength
public int getContentLength()CallsServletRequest.getContentLength()on the request object.- Since:
- 1.0
-
getContentType
CallsServletRequest.getContentType()on the request object.- Since:
- 1.0
-
getInputStream
CallsServletRequest.getInputStream()on the request object.- Throws:
IOException- Since:
- 1.0
-
getLocalAddr
CallsServletRequest.getLocalAddr()on the request object.- Since:
- 1.0
-
getLocale
CallsServletRequest.getLocale()on the request object.- Since:
- 1.0
-
getLocales
CallsServletRequest.getLocales()on the request object.- Since:
- 1.0
-
getLocalName
CallsServletRequest.getLocalName()on the request object.- Since:
- 1.0
-
getLocalPort
public int getLocalPort()CallsServletRequest.getLocalPort()on the request object.- Since:
- 1.0
-
getParameter
CallsServletRequest.getParameter(java.lang.String)on the request object.- Since:
- 1.0
-
getParameterMap
CallsServletRequest.getParameterMap()on the request object.- Since:
- 1.0
- See Also:
-
getParameters
Returns arbitrary typed request parameters parsed from the request body content. Also contains parameters given on the request URL. The parameter values can benull, of a primitive type (likeBoolean,Number,String), or of typeList<Object>orMap<String,Object>(also nested), eventually containing elements/values of a primitive type. The actual object layout depends on the request data.This is an extension of standard servlet API method
getParameterMap(). The returned map contains all parameters also returned by that method, but the parameter values are not restricted to typeString.- Since:
- 6.0
- See Also:
-
getProtocol
CallsServletRequest.getProtocol()on the request object.- Since:
- 1.0
-
getReader
CallsServletRequest.getReader()on the request object.- Throws:
IOException- Since:
- 1.0
-
getRemoteAddr
CallsServletRequest.getRemoteAddr()on the request object.- Since:
- 1.0
-
getRemoteHost
CallsServletRequest.getRemoteHost()on the request object.- Since:
- 1.0
-
getRemotePort
public int getRemotePort()CallsServletRequest.getRemotePort()on the request object.- Since:
- 1.0
-
getServerName
CallsServletRequest.getServerName()on the request object.- Since:
- 1.0
-
getServerPort
public int getServerPort()CallsServletRequest.getServerPort()on the request object.- Since:
- 1.0
-
isSecure
public boolean isSecure()CallsServletRequest.isSecure()on the request object.- Since:
- 1.0
-