Package org.jboss.resteasy.spi.metadata
Class Parameter
- java.lang.Object
-
- org.jboss.resteasy.spi.metadata.Parameter
-
- Direct Known Subclasses:
ConstructorParameter
,FieldParameter
,MethodParameter
,SetterParameter
public abstract class Parameter extends java.lang.Object
- Version:
- $Revision: 1 $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Parameter.ParamType
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
defaultValue
protected boolean
encoded
protected java.lang.reflect.Type
genericType
protected java.lang.String
paramName
protected Parameter.ParamType
paramType
protected ResourceClass
resourceClass
protected long
suspendTimeout
protected java.lang.Class<?>
type
-
Constructor Summary
Constructors Modifier Constructor Description protected
Parameter(ResourceClass resourceClass, java.lang.Class<?> type, java.lang.reflect.Type genericType)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.reflect.AccessibleObject
getAccessibleObject()
abstract java.lang.annotation.Annotation[]
getAnnotations()
java.lang.String
getDefaultValue()
java.lang.reflect.Type
getGenericType()
java.lang.String
getParamName()
Parameter.ParamType
getParamType()
ResourceClass
getResourceClass()
long
getSuspendTimeout()
java.lang.Class<?>
getType()
boolean
isEncoded()
-
-
-
Field Detail
-
resourceClass
protected ResourceClass resourceClass
-
type
protected java.lang.Class<?> type
-
genericType
protected java.lang.reflect.Type genericType
-
paramType
protected Parameter.ParamType paramType
-
paramName
protected java.lang.String paramName
-
encoded
protected boolean encoded
-
defaultValue
protected java.lang.String defaultValue
-
suspendTimeout
protected long suspendTimeout
-
-
Constructor Detail
-
Parameter
protected Parameter(ResourceClass resourceClass, java.lang.Class<?> type, java.lang.reflect.Type genericType)
-
-
Method Detail
-
getResourceClass
public ResourceClass getResourceClass()
-
getType
public java.lang.Class<?> getType()
-
getGenericType
public java.lang.reflect.Type getGenericType()
-
getParamType
public Parameter.ParamType getParamType()
-
getParamName
public java.lang.String getParamName()
-
isEncoded
public boolean isEncoded()
-
getDefaultValue
public java.lang.String getDefaultValue()
-
getSuspendTimeout
public long getSuspendTimeout()
-
getAccessibleObject
public abstract java.lang.reflect.AccessibleObject getAccessibleObject()
-
getAnnotations
public abstract java.lang.annotation.Annotation[] getAnnotations()
-
-