[jbosstools-issues] [JBoss JIRA] (JBIDE-19739) Websockets: Content assist for endpoint classes

Alexey Kazakov (JIRA) issues at jboss.org
Fri Jun 12 14:13:02 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-19739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13078382#comment-13078382 ] 

Alexey Kazakov commented on JBIDE-19739:
----------------------------------------

Looks like a bug. A method stub should be generated. For example:

{code}
	@OnClose
	public void onClose(Session session, CloseReason closeReason) {
		// TODO Auto-generated method stub
	}
{code}

It works for me in master. I will try it in JBDS Beta1 build.

> Websockets: Content assist for endpoint classes
> -----------------------------------------------
>
>                 Key: JBIDE-19739
>                 URL: https://issues.jboss.org/browse/JBIDE-19739
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: webservices
>            Reporter: Alexey Kazakov
>            Assignee: Viacheslav Kabanovich
>              Labels: new_and_noteworthy
>             Fix For: 4.3.0.Beta1
>
>         Attachments: scr.png
>
>
> Content assist for classes annotated @ServerEndpoint or @ClientEndpoint with the following proposals:
> - Add @OnMessage method (if not present yet)
> - Add @OnOpen method
> - Add @OnClose method
> - Add @OnError method



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list