public abstract class AbstractAuthSourceServlet
extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
AbstractAuthSourceServlet() |
| Modifier and Type | Method and Description |
|---|---|
ExecutionContext |
getExecutionContext(javax.servlet.http.HttpServletRequest request)
Retrieves the execution context for the respective process instance referenced by the request parameter
getProcessInstanceIdParameterName(). |
ProcessEngine |
getProcessEngine()
Returns the underlying process engine instance.
|
ProcessInstance |
getProcessInstance(javax.servlet.http.HttpServletRequest request)
Retrieves the process instance referenced by the request parameter
getProcessInstanceIdParameterName(). |
String |
getProcessInstanceIdParameterName()
Returns the name of the request parameter representing the respective instance id.
|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicepublic String getProcessInstanceIdParameterName()
processInstanceId.public ProcessEngine getProcessEngine()
null).org.springframework.beans.factory.NoSuchBeanDefinitionException - if no ProcessEngine bean was found.org.springframework.beans.factory.NoUniqueBeanDefinitionException - if more than one ProcessEngine bean was found.org.springframework.beans.BeansException - if a problem getting the ProcessEngine bean occurred.IllegalStateException - if the Spring WebApplicationContext was not found, which means that the servlet is used outside a
Spring web environment.public ProcessInstance getProcessInstance(javax.servlet.http.HttpServletRequest request)
getProcessInstanceIdParameterName().request - The HttpServletRequest.null).org.springframework.beans.factory.NoSuchBeanDefinitionException - if no ProcessEngine bean was found.org.springframework.beans.factory.NoUniqueBeanDefinitionException - if more than one ProcessEngine bean was found.org.springframework.beans.BeansException - if a problem getting the ProcessEngine bean occurred.IllegalStateException - if the Spring WebApplicationContext was not found, which means that the servlet is used outside a
Spring web environment.IllegalArgumentException - in case the process instance id referenced by the request parameter
getProcessInstanceIdParameterName() does not exist.public ExecutionContext getExecutionContext(javax.servlet.http.HttpServletRequest request)
getProcessInstanceIdParameterName().request - The HttpServletRequest.null).org.springframework.beans.factory.NoSuchBeanDefinitionException - if no ProcessEngine bean was found.org.springframework.beans.factory.NoUniqueBeanDefinitionException - if more than one ProcessEngine bean was found.org.springframework.beans.BeansException - if a problem getting the ProcessEngine bean occurred.IllegalStateException - if the Spring WebApplicationContext was not found, which means that the servlet is used outside a
Spring web environment.IllegalArgumentException - in case the process instance id referenced by the request parameter
getProcessInstanceIdParameterName() does not exist.Copyright © 2017. All rights reserved.