[jboss-jira] [JBoss JIRA] (JBEE-155) Javadoc for WebSocketContainer.connectToServer mentions ServerEndpoint instead of ClientEndpoint
Ron Šmeral (JIRA)
issues at jboss.org
Wed May 28 12:01:16 EDT 2014
Ron Šmeral created JBEE-155:
-------------------------------
Summary: Javadoc for WebSocketContainer.connectToServer mentions ServerEndpoint instead of ClientEndpoint
Key: JBEE-155
URL: https://issues.jboss.org/browse/JBEE-155
Project: JBoss JavaEE Spec APIs
Issue Type: Bug
Components: jboss-websocket-api
Affects Versions: JavaEE 7 Spec APIs 1.0.0.Final
Reporter: Ron Šmeral
Assignee: Shelly McGowan
In {{javax.websocket.WebSocketContainer}}, the javadoc for two connectToServer method signatures contains an incorrect statement:
{{connectToServer(Object annotatedEndpointInstance, URI path)}}
{{connectToServer(Class<?> annotatedEndpointClass, URI path)}}
{quote}
The supplied object must be a class decorated with the class level \{@link javax.websocket.server.*ServerEndpoint*\} annotation.
{quote}
which should point to {{javax.websocket.ClientEndpoint}} instead of the ServerEndpoint.
Also, in case of {{connectToServer(Object annotatedEndpointInstance, URI path)}}, that sentence should read _...supplied object must be *an instance of* a class..._
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the jboss-jira
mailing list