Package com.artisol.teneo.engine.webapp
Class ServletEngineEnvironment
- Object
- 
- AbstractEngineEnvironment
- 
- ServletEngineEnvironment
 
 
- 
- All Implemented Interfaces:
- EngineEnvironmentI
 - Direct Known Subclasses:
- HttpEngineEnvironment
 
 public class ServletEngineEnvironment extends AbstractEngineEnvironmentProvides access to request data in a servlet container environment. Instances of this class are passed directly to solution scripts.- Version:
- 7.4.0-SP1
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCharacterEncoding()CallsServletRequest.getCharacterEncoding()on the request object.intgetContentLength()CallsServletRequest.getContentLength()on the request object.StringgetContentType()CallsServletRequest.getContentType()on the request object.ServletInputStreamgetInputStream()CallsServletRequest.getInputStream()on the request object.StringgetLocalAddr()CallsServletRequest.getLocalAddr()on the request object.LocalegetLocale()CallsServletRequest.getLocale()on the request object.Enumeration<Locale>getLocales()CallsServletRequest.getLocales()on the request object.StringgetLocalName()CallsServletRequest.getLocalName()on the request object.intgetLocalPort()CallsServletRequest.getLocalPort()on the request object.StringgetParameter(String _sName)CallsServletRequest.getParameter(java.lang.String)on the request object.Map<String,String[]>getParameterMap()CallsServletRequest.getParameterMap()on the request object.Map<String,Object>getParameters()Returns arbitrary typed request parameters parsed from the request body content.StringgetProtocol()CallsServletRequest.getProtocol()on the request object.BufferedReadergetReader()CallsServletRequest.getReader()on the request object.StringgetRemoteAddr()CallsServletRequest.getRemoteAddr()on the request object.StringgetRemoteHost()CallsServletRequest.getRemoteHost()on the request object.intgetRemotePort()CallsServletRequest.getRemotePort()on the request object.StringgetServerName()CallsServletRequest.getServerName()on the request object.intgetServerPort()CallsServletRequest.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 Detail- 
isInstanceOfpublic boolean isInstanceOf(String _sTypeName) Checks whether this class or an ancestor is an instance of the given type name.- Specified by:
- isInstanceOfin interface- EngineEnvironmentI
- Overrides:
- isInstanceOfin class- AbstractEngineEnvironment
- Returns:
- trueif and only if the given type name equals- "ServletEngineEnvironment"or one of the type names of the ancestor classes
- Since:
- 1.0
 
 - 
getCharacterEncodingpublic String getCharacterEncoding() CallsServletRequest.getCharacterEncoding()on the request object.- Since:
- 1.0
 
 - 
getContentLengthpublic int getContentLength() CallsServletRequest.getContentLength()on the request object.- Since:
- 1.0
 
 - 
getContentTypepublic String getContentType() CallsServletRequest.getContentType()on the request object.- Since:
- 1.0
 
 - 
getInputStreampublic ServletInputStream getInputStream() throws IOExceptionCallsServletRequest.getInputStream()on the request object.- Throws:
- IOException
- Since:
- 1.0
 
 - 
getLocalAddrpublic String getLocalAddr() CallsServletRequest.getLocalAddr()on the request object.- Since:
- 1.0
 
 - 
getLocalepublic Locale getLocale() CallsServletRequest.getLocale()on the request object.- Since:
- 1.0
 
 - 
getLocalespublic Enumeration<Locale> getLocales() CallsServletRequest.getLocales()on the request object.- Since:
- 1.0
 
 - 
getLocalNamepublic String getLocalName() CallsServletRequest.getLocalName()on the request object.- Since:
- 1.0
 
 - 
getLocalPortpublic int getLocalPort() CallsServletRequest.getLocalPort()on the request object.- Since:
- 1.0
 
 - 
getParameterpublic String getParameter(String _sName) CallsServletRequest.getParameter(java.lang.String)on the request object.- Since:
- 1.0
 
 - 
getParameterMappublic Map<String,String[]> getParameterMap() CallsServletRequest.getParameterMap()on the request object.- Since:
- 1.0
- See Also:
- getParameters()
 
 - 
getParameterspublic Map<String,Object> 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:
- getParameterMap()
 
 - 
getProtocolpublic String getProtocol() CallsServletRequest.getProtocol()on the request object.- Since:
- 1.0
 
 - 
getReaderpublic BufferedReader getReader() throws IOException CallsServletRequest.getReader()on the request object.- Throws:
- IOException
- Since:
- 1.0
 
 - 
getRemoteAddrpublic String getRemoteAddr() CallsServletRequest.getRemoteAddr()on the request object.- Since:
- 1.0
 
 - 
getRemoteHostpublic String getRemoteHost() CallsServletRequest.getRemoteHost()on the request object.- Since:
- 1.0
 
 - 
getRemotePortpublic int getRemotePort() CallsServletRequest.getRemotePort()on the request object.- Since:
- 1.0
 
 - 
getServerNamepublic String getServerName() CallsServletRequest.getServerName()on the request object.- Since:
- 1.0
 
 - 
getServerPortpublic int getServerPort() CallsServletRequest.getServerPort()on the request object.- Since:
- 1.0
 
 - 
isSecurepublic boolean isSecure() CallsServletRequest.isSecure()on the request object.- Since:
- 1.0
 
 
- 
 
-