You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
679 B
30 lines
679 B
import org.springframework.mock.web.MockHttpServletRequest;
|
|
import org.springframework.mock.web.MockHttpServletResponse;
|
|
|
|
import javax.servlet.ServletException;
|
|
import javax.servlet.http.HttpServletRequest;
|
|
import javax.servlet.http.HttpServletResponse;
|
|
import java.io.IOException;
|
|
|
|
public class BridgeMock extends BridgeServlet {
|
|
|
|
private MockSet mockSet;
|
|
|
|
public BridgeMock(MockSet mockSet){
|
|
super();
|
|
mockSet.bridgeMock=this;
|
|
this.mockSet = mockSet;
|
|
}
|
|
|
|
|
|
@Override
|
|
public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
|
|
|
|
super.doPost(request,response);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|