public class PojoMethodMapping extends Object
ServerEndpoint, an instance of this class
 creates and caches the method handler, method information and parameter
 information for the onXXX calls.| Constructor and Description | 
|---|
| PojoMethodMapping(Class<?> clazzPojo,
                 List<Class<? extends Decoder>> decoderClazzes,
                 String wsPath) | 
| Modifier and Type | Method and Description | 
|---|---|
| Set<MessageHandler> | getMessageHandlers(Object pojo,
                  Map<String,String> pathParameters,
                  Session session,
                  EndpointConfig config) | 
| Method | getOnClose() | 
| Object[] | getOnCloseArgs(Map<String,String> pathParameters,
              Session session,
              CloseReason closeReason) | 
| Method | getOnError() | 
| Object[] | getOnErrorArgs(Map<String,String> pathParameters,
              Session session,
              Throwable throwable) | 
| Method | getOnOpen() | 
| Object[] | getOnOpenArgs(Map<String,String> pathParameters,
             Session session,
             EndpointConfig config) | 
| String | getWsPath() | 
| boolean | hasMessageHandlers() | 
public PojoMethodMapping(Class<?> clazzPojo, List<Class<? extends Decoder>> decoderClazzes, String wsPath) throws DeploymentException
DeploymentExceptionpublic String getWsPath()
public Method getOnOpen()
public Object[] getOnOpenArgs(Map<String,String> pathParameters, Session session, EndpointConfig config) throws DecodeException
DecodeExceptionpublic Method getOnClose()
public Object[] getOnCloseArgs(Map<String,String> pathParameters, Session session, CloseReason closeReason) throws DecodeException
DecodeExceptionpublic Method getOnError()
public Object[] getOnErrorArgs(Map<String,String> pathParameters, Session session, Throwable throwable) throws DecodeException
DecodeExceptionpublic boolean hasMessageHandlers()
public Set<MessageHandler> getMessageHandlers(Object pojo, Map<String,String> pathParameters, Session session, EndpointConfig config)
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.