@Retention(value=RUNTIME) @Target(value=METHOD) public @interface WebSocketPathParam
 @WebSocketEndpoint("/bookings/{guest-id}");
public class BookingServer {
  @WebSocketMessage
 public void processBookingRequest(@WebSocketPathParam("guest-id") String guestID, String message, Session session) {
   // process booking from the given guest here
 }
}
public abstract String value
Copyright © 2012. All Rights Reserved.