public class BufferedMockRequest
extends org.apache.wicket.protocol.http.mock.MockHttpServletRequest
Constructor and Description |
---|
BufferedMockRequest(org.apache.wicket.Application application,
javax.servlet.http.HttpSession session,
javax.servlet.ServletContext context,
String httpMethod) |
Modifier and Type | Method and Description |
---|---|
BufferedReader |
getReader() |
void |
setReader(BufferedReader reader) |
void |
setTextAsRequestBody(String requestBody) |
addCookie, addCookies, addDateHeader, addFile, addHeader, addParameter, authenticate, getAsyncContext, getAttribute, getAttributeNames, getAuthType, getCharacterEncoding, getCharset, getContentLength, getContentType, getContextPath, getCookie, getCookies, getDateHeader, getDispatcherType, getFilterPrefix, getHeader, getHeaderNames, getHeaders, getInputStream, getIntHeader, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getMethod, getParameter, getParameterMap, getParameterNames, getParameterValues, getPart, getParts, getPathInfo, getPathTranslated, getPostParameters, getProtocol, getQueryString, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRemoteUser, getRequestDispatcher, getRequestedSessionId, getRequestURI, getRequestURL, getScheme, getServerName, getServerPort, getServletContext, getServletPath, getSession, getSession, getUrl, getUserPrincipal, hasUploadedFiles, initialize, isAsyncStarted, isAsyncSupported, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isSecure, isUserInRole, login, logout, removeAttribute, setAttribute, setAuthType, setCharacterEncoding, setCookies, setHeader, setMethod, setParameter, setParameters, setPart, setPath, setRemoteAddr, setScheme, setSecure, setServerName, setServerPort, setURL, setUrl, setUseMultiPartContentType, startAsync, startAsync
public BufferedMockRequest(org.apache.wicket.Application application, javax.servlet.http.HttpSession session, javax.servlet.ServletContext context, String httpMethod)
public BufferedReader getReader() throws IOException
getReader
in interface javax.servlet.ServletRequest
getReader
in class org.apache.wicket.protocol.http.mock.MockHttpServletRequest
IOException
public void setReader(BufferedReader reader)
public void setTextAsRequestBody(String requestBody)
Copyright © 2015. All rights reserved.