Issue Details (XML | Word | Printable)

Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: dannycoward
Reporter: mikc22
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

@WebSocketClose: javadoc not in sync with the Java API Web Socket pdf document

Created: 21/Feb/13 01:38 PM   Updated: 21/Feb/13 07:04 PM   Resolved: 21/Feb/13 07:04 PM
Component/s: None
Affects Version/s: 1.0
Fix Version/s: None

Time Tracking:
Not Specified

Tags: v013
Participants: dannycoward and mikc22

 Description  « Hide

The javadoc says:

The method may only take the following parameters:-

optional Session parameter
optional CloseReason parameter
Zero to n String parameters annotated with the WebSocketPathParam annotation.

The pdf says:
The the decorated method can only have optional Session parameter and zero to n String parameters. Which looks like the CloseReason is lost here.

dannycoward added a comment - 21/Feb/13 07:04 PM

Thanks for catching this. The javadoc is correct, and the spec document is updated in v013.