Package org.apache.tomcat.websocket.pojo
Class PojoPathParam
- java.lang.Object
-
- org.apache.tomcat.websocket.pojo.PojoPathParam
-
public class PojoPathParam extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PojoPathParam(java.lang.Class<?> type, java.lang.String name)Create a path parameter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Return the name of the parameter.java.lang.Class<?>getType()Return the type of the parameter.
-
-
-
Constructor Detail
-
PojoPathParam
public PojoPathParam(java.lang.Class<?> type, java.lang.String name) throws DeploymentExceptionCreate a path parameter.- Parameters:
type- Parameter typename- Parameter name (may benullfor non-@PathParamparameters)- Throws:
DeploymentException- If the type is not valid for a@PathParamparameter
-
-