org.apache.tomcat.websocket.pojo
Class PojoPathParam
java.lang.Object
org.apache.tomcat.websocket.pojo.PojoPathParam
public class PojoPathParam
- extends Object
Stores the parameter type and name for a parameter that needs to be passed to
an onXxx method of Endpoint
. The name is only present
for parameters annotated with
PathParam
. For the
Session
and Throwable
parameters,
getName()
will always return null
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PojoPathParam
public PojoPathParam(Class<?> type,
String name)
getType
public Class<?> getType()
getName
public String getName()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.