public static final class MockUtils.MockServletRequest
extends org.apache.wicket.protocol.http.MockHttpServletRequest
| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(java.lang.String name,
java.lang.String value) |
java.lang.StringBuffer |
getRequestURL() |
java.lang.String |
getScheme() |
java.lang.String |
getServerName() |
int |
getServerPort() |
boolean |
isSecure() |
void |
setScheme(java.lang.String scheme) |
void |
setServerName(java.lang.String serverName) |
void |
setServerPort(int serverPort) |
addCookie, addCookies, addDateHeader, addFile, 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, getServletPath, getSession, getSession, getUserPrincipal, hasUploadedFiles, initialize, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole, removeAttribute, setAttribute, setAuthType, setCharacterEncoding, setCookies, setMethod, setParameter, setParameters, setPath, setRequestToBookmarkablePage, setRequestToComponent, setRequestToFormComponent, setRequestToRedirectString, setURL, setUseMultiPartContentTypepublic void addHeader(java.lang.String name,
java.lang.String value)
addHeader in class org.apache.wicket.protocol.http.MockHttpServletRequestpublic void setScheme(java.lang.String scheme)
public java.lang.String getScheme()
getScheme in interface javax.servlet.ServletRequestgetScheme in class org.apache.wicket.protocol.http.MockHttpServletRequestpublic void setServerName(java.lang.String serverName)
public java.lang.String getServerName()
getServerName in interface javax.servlet.ServletRequestgetServerName in class org.apache.wicket.protocol.http.MockHttpServletRequestpublic void setServerPort(int serverPort)
public int getServerPort()
getServerPort in interface javax.servlet.ServletRequestgetServerPort in class org.apache.wicket.protocol.http.MockHttpServletRequestpublic boolean isSecure()
isSecure in interface javax.servlet.ServletRequestisSecure in class org.apache.wicket.protocol.http.MockHttpServletRequestpublic java.lang.StringBuffer getRequestURL()
getRequestURL in interface javax.servlet.http.HttpServletRequestgetRequestURL in class org.apache.wicket.protocol.http.MockHttpServletRequestCopyright © 2018 Molindo GmbH. All Rights Reserved.