This commit is contained in:
crusader 2018-05-04 18:23:22 +09:00
parent 2fccbc85bb
commit a5ebfb95c5
2 changed files with 6 additions and 2 deletions

View File

@ -188,3 +188,7 @@
</build> </build>
</project> </project>
<!--
cp ./target/com.loafle.overflow.container_general-1.0.0-SNAPSHOT.jar /project/go/src/git.loafle.net/overflow/probe/_build/bin/container_general.jar
-->

View File

@ -38,7 +38,7 @@ public class GeneralContainerConfiguration {
public WebSocketClientHandshaker handshaker() { public WebSocketClientHandshaker handshaker() {
HttpHeaders customHeaders = new DefaultHttpHeaders(); HttpHeaders customHeaders = new DefaultHttpHeaders();
customHeaders.add(ContainerProtocol.HTTPRequestHeaderKey_Container_Method, ContainerProtocol.HTTPRequestHeaderValue_Container_Method_Connect); customHeaders.add(ContainerProtocol.HTTPRequestHeaderKey_Container_Method, ContainerProtocol.HTTPRequestHeaderValue_Container_Method_Connect);
customHeaders.add(ContainerProtocol.HTTPRequestHeaderKey_Container_Type, ContainerType.GENERNAL.toString()); customHeaders.add(ContainerProtocol.HTTPRequestHeaderKey_Container_Type, ContainerType.GENERAL.toString());
return WebSocketClientHandshakerFactory.newHandshaker(serverURI, WebSocketVersion.V13, null, false, customHeaders); return WebSocketClientHandshakerFactory.newHandshaker(serverURI, WebSocketVersion.V13, null, false, customHeaders);
} }