ASF Bugzilla – Attachment 31470 Details for
Bug 56343
NPE in org.apache.tomcat.websocket.WsWebSocketContainer.connectToServer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
WsClient.java main class
WsClient.java (text/plain), 422 bytes, created by
Przemyslaw Bielicki
on 2014-04-03 13:05:11 UTC
(
hide
)
Description:
WsClient.java main class
Filename:
MIME Type:
Creator:
Przemyslaw Bielicki
Created:
2014-04-03 13:05:11 UTC
Size:
422 bytes
patch
obsolete
>import java.net.URI; > >import javax.websocket.ContainerProvider; >import javax.websocket.WebSocketContainer; > >public class WsClient { > > public static void main(String[] args) throws Exception { > String destUri = "ws://localhost:8080/examples/websocket/echoAnnotation"; > WebSocketContainer container = ContainerProvider.getWebSocketContainer(); > container.connectToServer(EchoClient.class, new URI(destUri)); > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 56343
: 31470 |
31471