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, upgrade
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding
public void addFormItem(FormItem item)
public Collection<javax.servlet.http.Part> getParts() throws IOException, javax.servlet.ServletException
getParts
in class org.springframework.mock.web.MockHttpServletRequest
IOException
javax.servlet.ServletException
public javax.servlet.http.Part getPart(String s) throws IOException, javax.servlet.ServletException
getPart
in class org.springframework.mock.web.MockHttpServletRequest
IOException
javax.servlet.ServletException
public javax.servlet.AsyncContext startAsync() throws IllegalStateException
startAsync
in class org.springframework.mock.web.MockHttpServletRequest
IllegalStateException
public javax.servlet.AsyncContext startAsync(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse) throws IllegalStateException
startAsync
in class org.springframework.mock.web.MockHttpServletRequest
IllegalStateException
public boolean isAsyncStarted()
isAsyncStarted
in class org.springframework.mock.web.MockHttpServletRequest
public boolean isAsyncSupported()
isAsyncSupported
in class org.springframework.mock.web.MockHttpServletRequest
public javax.servlet.AsyncContext getAsyncContext()
getAsyncContext
in class org.springframework.mock.web.MockHttpServletRequest
public javax.servlet.DispatcherType getDispatcherType()
getDispatcherType
in class org.springframework.mock.web.MockHttpServletRequest
Copyright © 2019 JavaLite. All rights reserved.