Issue Details (XML | Word | Printable)

Key: WEBSOCKET_SPEC-186
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: dannycoward
Reporter: gregwilkins
Votes: 0
Watchers: 1
Operations

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

The API and annotation examples in 2.1.4 are not equivalent.

Created: 18/Apr/13 02:00 AM   Updated: 23/Apr/13 06:55 PM   Resolved: 23/Apr/13 06:55 PM
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.0

Time Tracking:
Not Specified

Tags: final
Participants: dannycoward and gregwilkins


 Description  « Hide

The annotation example includes a path mapping, so it not only defines an EndPoint but adds it to the ServerContainer.

To make the API version equivalent, it needs to following line to be run either as a static initialiser or some other method:

ServerContainerProvider.getServerContainer().addEndpoint(ServerEndpointConfig.Builder.create(HelloServer.class,"/hello").build());



Sort Order: Ascending order - Click to sort in descending order
dannycoward made changes - 23/Apr/13 06:55 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Assignee dannycoward [ dannycoward ]
Tags final
Fix Version/s 1.0 [ 16294 ]
Resolution Fixed [ 1 ]