Class WireMockHandlerDispatchingServlet
- java.lang.Object
-
- jakarta.servlet.GenericServlet
-
- jakarta.servlet.http.HttpServlet
-
- com.github.tomakehurst.wiremock.servlet.WireMockHandlerDispatchingServlet
-
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,java.io.Serializable
public class WireMockHandlerDispatchingServlet extends jakarta.servlet.http.HttpServlet- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringASYNCHRONOUS_RESPONSE_EXECUTORstatic java.lang.StringMAPPED_UNDER_KEYstatic java.lang.StringSHOULD_FORWARD_TO_FILES_CONTEXT
-
Constructor Summary
Constructors Constructor Description WireMockHandlerDispatchingServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyResponse(Response response, jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse)voidinit(jakarta.servlet.ServletConfig config)protected voidservice(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse)-
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
-
-
-
-
Field Detail
-
SHOULD_FORWARD_TO_FILES_CONTEXT
public static final java.lang.String SHOULD_FORWARD_TO_FILES_CONTEXT
- See Also:
- Constant Field Values
-
ASYNCHRONOUS_RESPONSE_EXECUTOR
public static final java.lang.String ASYNCHRONOUS_RESPONSE_EXECUTOR
-
MAPPED_UNDER_KEY
public static final java.lang.String MAPPED_UNDER_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(jakarta.servlet.ServletConfig config)
- Specified by:
initin interfacejakarta.servlet.Servlet- Overrides:
initin classjakarta.servlet.GenericServlet
-
service
protected void service(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse) throws jakarta.servlet.ServletException, java.io.IOException- Overrides:
servicein classjakarta.servlet.http.HttpServlet- Throws:
jakarta.servlet.ServletExceptionjava.io.IOException
-
applyResponse
public void applyResponse(Response response, jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse)
-
-