|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.mock.web.MockHttpServletRequest org.kuali.rice.kew.test.web.WorkflowServletRequest
public class WorkflowServletRequest
Subclass of MockHttpServletRequest that initializes the request with a user session
Field Summary |
---|
Fields inherited from class org.springframework.mock.web.MockHttpServletRequest |
---|
DEFAULT_PROTOCOL, DEFAULT_REMOTE_ADDR, DEFAULT_REMOTE_HOST, DEFAULT_SERVER_ADDR, DEFAULT_SERVER_NAME, DEFAULT_SERVER_PORT |
Fields inherited from interface javax.servlet.http.HttpServletRequest |
---|
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH |
Constructor Summary | |
---|---|
WorkflowServletRequest()
|
|
WorkflowServletRequest(javax.servlet.ServletContext context)
|
|
WorkflowServletRequest(javax.servlet.ServletContext context,
String method,
String requestURI)
|
|
WorkflowServletRequest(String user)
|
|
WorkflowServletRequest(String method,
String requestURI)
|
Method Summary | |
---|---|
String |
getBackdoorPrincipalId()
|
String |
getUser()
|
UserSession |
getUserSession()
|
Principal |
getWorkflowUser()
|
void |
setBackdoorId(String backdoorId)
|
void |
setUser(String user)
|
void |
setUserSession(UserSession userSession)
|
void |
setWorkflowUser(Principal user)
|
Methods inherited from class org.springframework.mock.web.MockHttpServletRequest |
---|
addHeader, addParameter, addParameter, addParameters, addPreferredLocale, addUserRole, checkActive, clearAttributes, close, getAttribute, getAttributeNames, getAuthType, getCharacterEncoding, getContentLength, getContentType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getInputStream, getIntHeader, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getMethod, getParameter, getParameterMap, getParameterNames, getParameterValues, getPathInfo, getPathTranslated, getProtocol, getQueryString, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRemoteUser, getRequestDispatcher, getRequestedSessionId, getRequestURI, getRequestURL, getScheme, getServerName, getServerPort, getServletContext, getServletPath, getSession, getSession, getUserPrincipal, invalidate, isActive, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isSecure, isUserInRole, removeAllParameters, removeAttribute, removeParameter, setAttribute, setAuthType, setCharacterEncoding, setContent, setContentType, setContextPath, setCookies, setLocalAddr, setLocalName, setLocalPort, setMethod, setParameter, setParameter, setParameters, setPathInfo, setProtocol, setQueryString, setRemoteAddr, setRemoteHost, setRemotePort, setRemoteUser, setRequestedSessionId, setRequestedSessionIdFromCookie, setRequestedSessionIdFromURL, setRequestedSessionIdValid, setRequestURI, setScheme, setSecure, setServerName, setServerPort, setServletPath, setSession, setUserPrincipal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkflowServletRequest()
public WorkflowServletRequest(javax.servlet.ServletContext context, String method, String requestURI)
public WorkflowServletRequest(javax.servlet.ServletContext context)
public WorkflowServletRequest(String method, String requestURI)
public WorkflowServletRequest(String user)
Method Detail |
---|
public void setUser(String user)
public String getUser()
public void setBackdoorId(String backdoorId)
public void setWorkflowUser(Principal user)
public Principal getWorkflowUser()
public String getBackdoorPrincipalId()
public void setUserSession(UserSession userSession)
public UserSession getUserSession()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |