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, getAttribute, getAttributeNames, getAuthType, getCharacterEncoding, getCharset, getContentLength, getContentType, getContextPath, getCookie, getCookies, getDateHeader, getFilterPrefix, getHeader, getHeaderNames, getHeaders, getInputStream, getIntHeader, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getMethod, getParameter, getParameterMap, getParameterNames, getParameterValues, 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, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isSecure, isUserInRole, removeAttribute, setAttribute, setAuthType, setCharacterEncoding, setCookies, setHeader, setMethod, setParameter, setParameters, setPath, setRemoteAddr, setScheme, setSecure, setServerName, setServerPort, setURL, setUrl, setUseMultiPartContentType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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.