public static class MockHttpServletRequest.MockRequestDispatcher extends Object implements javax.servlet.RequestDispatcher
Modifier and Type | Method and Description |
---|---|
void |
forward(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response) |
javax.servlet.ServletRequest |
getForwardedRequest() |
javax.servlet.ServletResponse |
getForwardedResponse() |
javax.servlet.ServletRequest |
getIncludedRequest() |
javax.servlet.ServletResponse |
getIncludedResponse() |
String |
getPath() |
void |
include(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response) |
void |
setPath(String path) |
public void setPath(String path)
public String getPath()
public void forward(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws javax.servlet.ServletException, IOException
forward
in interface javax.servlet.RequestDispatcher
javax.servlet.ServletException
IOException
public void include(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws javax.servlet.ServletException, IOException
include
in interface javax.servlet.RequestDispatcher
javax.servlet.ServletException
IOException
public javax.servlet.ServletRequest getForwardedRequest()
public javax.servlet.ServletResponse getForwardedResponse()
public javax.servlet.ServletRequest getIncludedRequest()
public javax.servlet.ServletResponse getIncludedResponse()
Copyright © 2020 Hitachi Vantara. All rights reserved.