Apache Tomcat 7.0.54

org.apache.tomcat.websocket.pojo
Class PojoPathParam

java.lang.Object
  extended by 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.


Constructor Summary
PojoPathParam(Class<?> type, String name)
           
 
Method Summary
 String getName()
           
 Class<?> getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PojoPathParam

public PojoPathParam(Class<?> type,
                     String name)
Method Detail

getType

public Class<?> getType()

getName

public String getName()

Apache Tomcat 7.0.54

Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.