nl.innovationinvestments.cheyenne.engine.servlet
Class Context

java.lang.Object
  extended by nl.innovationinvestments.cheyenne.engine.servlet.Context
All Implemented Interfaces:
nl.innovationinvestments.cheyenne.engine.Context
Direct Known Subclasses:
Context

public class Context
extends Object
implements nl.innovationinvestments.cheyenne.engine.Context


Field Summary
static String FORCE_GET
           
protected  PrintWriter iOutputWriter
           
protected  Map<String,String[]> iParameters
           
protected  nl.knowledgeplaza.util.ConfigurationProperties iProperties
           
protected  javax.servlet.http.HttpServletRequest iRequest
           
protected  javax.servlet.http.HttpServletResponse iResponse
           
static String SOURCECODE_VERSION
          Standard variable for determining version of a class file.
 
Constructor Summary
Context(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, nl.knowledgeplaza.util.ConfigurationProperties properties, Map<String,String[]> parameters, PrintWriter outputWriter)
           
 
Method Summary
 Connection borrowJdbcConnection(String id)
           
 void destroy()
           
 Object getApplication(String id)
           
 String getConfigurationParameter(String key)
           
 int getJdbcType(String id)
           
 PrintWriter getOutputWriter()
           
 String[] getParameter(String key)
           
 Object getRequest(String id)
           
 Object getSession(String id)
           
 Templates getTemplates(String id)
           
 void redirectTo(String url, nl.innovationinvestments.cheyenne.engine.Dialog currentDialog)
           
 void returnJdbcConnection(Connection value)
           
 void setApplication(String id, Object value)
           
 void setRequest(String id, Object value)
           
 void setSession(String id, Object value)
           
 String writeContextLog()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOURCECODE_VERSION

public static final String SOURCECODE_VERSION
Standard variable for determining version of a class file.

See Also:
Constant Field Values

iRequest

protected javax.servlet.http.HttpServletRequest iRequest

iResponse

protected javax.servlet.http.HttpServletResponse iResponse

iProperties

protected nl.knowledgeplaza.util.ConfigurationProperties iProperties

iParameters

protected Map<String,String[]> iParameters

iOutputWriter

protected PrintWriter iOutputWriter

FORCE_GET

public static final String FORCE_GET
Constructor Detail

Context

public Context(javax.servlet.http.HttpServletRequest request,
               javax.servlet.http.HttpServletResponse response,
               nl.knowledgeplaza.util.ConfigurationProperties properties,
               Map<String,String[]> parameters,
               PrintWriter outputWriter)
Method Detail

getConfigurationParameter

public String getConfigurationParameter(String key)
Specified by:
getConfigurationParameter in interface nl.innovationinvestments.cheyenne.engine.Context

getOutputWriter

public PrintWriter getOutputWriter()
Specified by:
getOutputWriter in interface nl.innovationinvestments.cheyenne.engine.Context

getParameter

public String[] getParameter(String key)
Specified by:
getParameter in interface nl.innovationinvestments.cheyenne.engine.Context

borrowJdbcConnection

public Connection borrowJdbcConnection(String id)
Specified by:
borrowJdbcConnection in interface nl.innovationinvestments.cheyenne.engine.Context

returnJdbcConnection

public void returnJdbcConnection(Connection value)
Specified by:
returnJdbcConnection in interface nl.innovationinvestments.cheyenne.engine.Context

getTemplates

public Templates getTemplates(String id)
Specified by:
getTemplates in interface nl.innovationinvestments.cheyenne.engine.Context

redirectTo

public void redirectTo(String url,
                       nl.innovationinvestments.cheyenne.engine.Dialog currentDialog)
Specified by:
redirectTo in interface nl.innovationinvestments.cheyenne.engine.Context

writeContextLog

public String writeContextLog()
Specified by:
writeContextLog in interface nl.innovationinvestments.cheyenne.engine.Context

setRequest

public void setRequest(String id,
                       Object value)
Specified by:
setRequest in interface nl.innovationinvestments.cheyenne.engine.Context

getRequest

public Object getRequest(String id)
Specified by:
getRequest in interface nl.innovationinvestments.cheyenne.engine.Context

setSession

public void setSession(String id,
                       Object value)
Specified by:
setSession in interface nl.innovationinvestments.cheyenne.engine.Context

getSession

public Object getSession(String id)
Specified by:
getSession in interface nl.innovationinvestments.cheyenne.engine.Context

setApplication

public void setApplication(String id,
                           Object value)
Specified by:
setApplication in interface nl.innovationinvestments.cheyenne.engine.Context

getApplication

public Object getApplication(String id)
Specified by:
getApplication in interface nl.innovationinvestments.cheyenne.engine.Context

getJdbcType

public int getJdbcType(String id)
Specified by:
getJdbcType in interface nl.innovationinvestments.cheyenne.engine.Context

destroy

public void destroy()


Copyright © 2013 InnovationInvestments. All rights reserved.