程序包 cn.taketoday.mock.web
@NonNullApi
@NonNullFields
package cn.taketoday.mock.web
A comprehensive set of Servlet API 4.0 mock objects, targeted at usage with
Web MVC framework.
Useful for testing web contexts and controllers.
-
类类说明Delegating implementation of
ServletInputStream.Delegating implementation ofServletOutputStream.Internal helper class that serves as a value holder for request headers.Mock implementation of theAsyncContextinterface.Mock implementation of theBodyContentclass.Extension ofCookiewith extra attributes, as defined in RFC 6265.Mock implementation of theFilterChaininterface.A filter that simply delegates to a Servlet.Mock implementation of theFilterConfiginterface.Mock implementation ofHttpServletMapping.Mock implementation of theHttpServletRequestinterface.Mock implementation of theHttpServletResponseinterface.Mock implementation of theHttpSessioninterface.Mock implementation of theJspWriterclass.Mock implementation of theMultipartFileinterface.Mock implementation of theMultipartRequestinterface.Mock implementation of thePageContextinterface.Mock implementation ofjakarta.servlet.http.Part.Mock implementation of theRequestDispatcherinterface.Mock implementation of theServletConfiginterface.Mock implementation of theServletContextinterface.Mock implementation of theSessionCookieConfiginterface.Implementation of theFilterConfiginterface which simply passes the call through to a given Filter/FilterChain combination (indicating the next Filter in the chain along with the FilterChain that it is supposed to work on) or to a given Servlet (indicating the end of the chain).