Lines 84-89
Link Here
|
84 |
private final boolean secure; |
84 |
private final boolean secure; |
85 |
private final String httpSessionId; |
85 |
private final String httpSessionId; |
86 |
private final String id; |
86 |
private final String id; |
|
|
87 |
private final Transformation transformation; |
87 |
|
88 |
|
88 |
// Expected to handle message types of <String> only |
89 |
// Expected to handle message types of <String> only |
89 |
private MessageHandler textMessageHandler = null; |
90 |
private MessageHandler textMessageHandler = null; |
Lines 119-125
Link Here
|
119 |
URI requestUri, Map<String,List<String>> requestParameterMap, |
120 |
URI requestUri, Map<String,List<String>> requestParameterMap, |
120 |
String queryString, Principal userPrincipal, String httpSessionId, |
121 |
String queryString, Principal userPrincipal, String httpSessionId, |
121 |
List<Extension> negotiatedExtensions, String subProtocol, Map<String,String> pathParameters, |
122 |
List<Extension> negotiatedExtensions, String subProtocol, Map<String,String> pathParameters, |
122 |
boolean secure, EndpointConfig endpointConfig) throws DeploymentException { |
123 |
boolean secure, EndpointConfig endpointConfig, Transformation transformation) throws DeploymentException { |
123 |
this.localEndpoint = localEndpoint; |
124 |
this.localEndpoint = localEndpoint; |
124 |
this.wsRemoteEndpoint = wsRemoteEndpoint; |
125 |
this.wsRemoteEndpoint = wsRemoteEndpoint; |
125 |
this.wsRemoteEndpoint.setSession(this); |
126 |
this.wsRemoteEndpoint.setSession(this); |
Lines 157-162
Link Here
|
157 |
|
158 |
|
158 |
this.userProperties.putAll(endpointConfig.getUserProperties()); |
159 |
this.userProperties.putAll(endpointConfig.getUserProperties()); |
159 |
this.id = Long.toHexString(ids.getAndIncrement()); |
160 |
this.id = Long.toHexString(ids.getAndIncrement()); |
|
|
161 |
this.transformation = transformation; |
160 |
|
162 |
|
161 |
InstanceManager instanceManager = webSocketContainer.getInstanceManager(); |
163 |
InstanceManager instanceManager = webSocketContainer.getInstanceManager(); |
162 |
if (instanceManager != null) { |
164 |
if (instanceManager != null) { |
Lines 498-503
Link Here
|
498 |
|
500 |
|
499 |
// Close the socket |
501 |
// Close the socket |
500 |
wsRemoteEndpoint.close(); |
502 |
wsRemoteEndpoint.close(); |
|
|
503 |
|
504 |
// Close the transformation |
505 |
transformation.close(); |
501 |
} |
506 |
} |
502 |
} |
507 |
} |
503 |
} |
508 |
} |