public class MockMultipartHttpServletRequestImpl
extends org.springframework.mock.web.MockHttpServletRequest
| Constructor and Description | 
|---|
MockMultipartHttpServletRequestImpl()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addFormItem(FormItem item)  | 
javax.servlet.AsyncContext | 
getAsyncContext()  | 
javax.servlet.DispatcherType | 
getDispatcherType()  | 
Iterator<FormItem> | 
getFormItemIterator()  | 
List<FormItem> | 
getFormItems()  | 
javax.servlet.http.Part | 
getPart(String s)  | 
Collection<javax.servlet.http.Part> | 
getParts()  | 
boolean | 
isAsyncStarted()  | 
boolean | 
isAsyncSupported()  | 
javax.servlet.AsyncContext | 
startAsync()  | 
javax.servlet.AsyncContext | 
startAsync(javax.servlet.ServletRequest servletRequest,
          javax.servlet.ServletResponse servletResponse)  | 
addHeader, addParameter, addParameter, addParameters, addPart, addPreferredLocale, addUserRole, authenticate, changeSessionId, checkActive, clearAttributes, close, getAttribute, getAttributeNames, getAuthType, getCharacterEncoding, getContentAsByteArray, getContentAsString, getContentLength, getContentLengthLong, 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, login, logout, removeAllParameters, removeAttribute, removeHeader, removeParameter, setAsyncContext, setAsyncStarted, setAsyncSupported, setAttribute, setAuthType, setCharacterEncoding, setContent, setContentType, setContextPath, setCookies, setDispatcherType, setLocalAddr, setLocalName, setLocalPort, setMethod, setParameter, setParameter, setParameters, setPathInfo, setPreferredLocales, setProtocol, setQueryString, setRemoteAddr, setRemoteHost, setRemotePort, setRemoteUser, setRequestedSessionId, setRequestedSessionIdFromCookie, setRequestedSessionIdFromURL, setRequestedSessionIdValid, setRequestURI, setScheme, setSecure, setServerName, setServerPort, setServletPath, setSession, setUserPrincipal, upgradeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getHttpServletMapping, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getTrailerFields, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isTrailerFieldsReady, isUserInRole, login, logout, newPushBuilder, upgradegetAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isSecure, removeAttribute, setAttribute, setCharacterEncodingpublic void addFormItem(FormItem item)
public Collection<javax.servlet.http.Part> getParts() throws IOException, javax.servlet.ServletException
getParts in interface javax.servlet.http.HttpServletRequestgetParts in class org.springframework.mock.web.MockHttpServletRequestIOExceptionjavax.servlet.ServletExceptionpublic javax.servlet.http.Part getPart(String s) throws IOException, javax.servlet.ServletException
getPart in interface javax.servlet.http.HttpServletRequestgetPart in class org.springframework.mock.web.MockHttpServletRequestIOExceptionjavax.servlet.ServletExceptionpublic javax.servlet.AsyncContext startAsync()
                                      throws IllegalStateException
startAsync in interface javax.servlet.ServletRequeststartAsync in class org.springframework.mock.web.MockHttpServletRequestIllegalStateExceptionpublic javax.servlet.AsyncContext startAsync(javax.servlet.ServletRequest servletRequest,
                                             javax.servlet.ServletResponse servletResponse)
                                      throws IllegalStateException
startAsync in interface javax.servlet.ServletRequeststartAsync in class org.springframework.mock.web.MockHttpServletRequestIllegalStateExceptionpublic boolean isAsyncStarted()
isAsyncStarted in interface javax.servlet.ServletRequestisAsyncStarted in class org.springframework.mock.web.MockHttpServletRequestpublic boolean isAsyncSupported()
isAsyncSupported in interface javax.servlet.ServletRequestisAsyncSupported in class org.springframework.mock.web.MockHttpServletRequestpublic javax.servlet.AsyncContext getAsyncContext()
getAsyncContext in interface javax.servlet.ServletRequestgetAsyncContext in class org.springframework.mock.web.MockHttpServletRequestpublic javax.servlet.DispatcherType getDispatcherType()
getDispatcherType in interface javax.servlet.ServletRequestgetDispatcherType in class org.springframework.mock.web.MockHttpServletRequestCopyright © 2020 JavaLite. All rights reserved.