use of org.springframework.web.socket.sockjs.frame.DefaultSockJsFrameFormat in project spring-framework by spring-projects.
the class HttpSockJsSessionTests method setup.
@Before
public void setup() {
super.setUp();
this.frameFormat = new DefaultSockJsFrameFormat("%s");
this.servletResponse = new MockHttpServletResponse();
this.response = new ServletServerHttpResponse(this.servletResponse);
this.servletRequest = new MockHttpServletRequest();
this.servletRequest.setAsyncSupported(true);
this.request = new ServletServerHttpRequest(this.servletRequest);
}
Aggregations