@Test public void messageReceivedNoPayloadHttpVersion1_0() { final FullHttpResponse response = processHttpRequest(requestWithBody(null, HttpVersion.HTTP_1_0)); assertThat(response.getStatus(), equalTo(HttpResponseStatus.INTERNAL_SERVER_ERROR)); assertThat(response.getProtocolVersion(), equalTo(HttpVersion.HTTP_1_0)); assertThat(response.content().toString(UTF_8), equalTo("Payload expected.")); }
@Override public String toString() { return StringUtil.simpleClassName(this) + "[config=" + config + ']'; }
XhrSendTransport extends AbstractSendTransport { @Override public String toString() { return StringUtil.simpleClassName(this) + "[config=" + config + ']'; } }
XhrSendTransport extends AbstractSendTransport { @Override public String toString() { return StringUtil.simpleClassName(this) + "[config=" + config + ']'; } XhrSendTransport(final SockJsConfig config); }
XhrSendTransport extends AbstractSendTransport { @Override public String toString() { return StringUtil.simpleClassName(this) + "[config=" + config + ']'; } XhrSendTransport(final SockJsConfig config); @Override void respond(final ChannelHandlerContext ctx, final FullHttpRequest request); @Override String toString(); }
XhrSendTransport extends AbstractSendTransport { @Override public String toString() { return StringUtil.simpleClassName(this) + "[config=" + config + ']'; } XhrSendTransport(final SockJsConfig config); @Override void respond(final ChannelHandlerContext ctx, final FullHttpRequest request); @Override String toString();  }