JavaScript is disabled on your browser.
java.lang.Object
org.springframework.mock.web.MockServletContext
org.springframework.boot.test.mock.web.SpringBootMockServletContext
All Implemented Interfaces:
javax.servlet.ServletContext
public class SpringBootMockServletContext
extends org.springframework.mock.web.MockServletContext
MockServletContext
implementation for Spring Boot. Respects well-known Spring
Boot resource locations and uses an empty directory for "/" if no locations can be
found.
Since:
1.4.0
Author:
Phillip Webb
Field Summary
Fields inherited from interface javax.servlet.ServletContext
ORDERED_LIBS, TEMPDIR
Method Summary
Methods inherited from class org.springframework.mock.web.MockServletContext
addFilter, addFilter, addFilter, addInitParameter, addListener, addListener, addListener, addServlet, addServlet, addServlet, createFilter, createListener, createServlet, declareRoles, getAttribute, getAttributeNames, getClassLoader, getContext, getContextPath, getDeclaredRoles, getDefaultServletName, getDefaultSessionTrackingModes, getEffectiveMajorVersion, getEffectiveMinorVersion, getEffectiveSessionTrackingModes, getFilterRegistration, getFilterRegistrations, getInitParameter, getInitParameterNames, getJspConfigDescriptor, getMajorVersion, getMimeType, getMinorVersion, getNamedDispatcher, getRealPath, getRequestDispatcher, getResourceAsStream, getResourcePaths, getServerInfo, getServlet, getServletContextName, getServletNames, getServletRegistration, getServletRegistrations, getServlets, getSessionCookieConfig, log, log, log, registerContext, registerNamedDispatcher, removeAttribute, setAttribute, setContextPath, setDefaultServletName, setEffectiveMajorVersion, setEffectiveMinorVersion, setInitParameter, setMajorVersion, setMinorVersion, setServletContextName, setSessionTrackingModes, unregisterNamedDispatcher
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Methods inherited from interface javax.servlet.ServletContext
getVirtualServerName
Copyright © 2017 Pivotal Software, Inc. . All rights reserved.