org.glassfish.jersey.server.model
Class Parameter
java.lang.Object
org.glassfish.jersey.server.model.Parameter
- All Implemented Interfaces:
- AnnotatedElement
public class Parameter
- extends Object
- implements AnnotatedElement
Abstraction for a method parameter
|
Constructor Summary |
Parameter(Annotation[] markers,
Annotation marker,
Parameter.Source source,
String sourceName,
Type type,
Class<?> clazz)
|
Parameter(Annotation[] markers,
Annotation marker,
Parameter.Source source,
String sourceName,
Type type,
Class<?> clazz,
boolean encoded)
|
Parameter(Annotation[] markers,
Annotation marker,
Parameter.Source source,
String sourceName,
Type type,
Class<?> clazz,
boolean encoded,
String defaultValue)
|
Parameter(Annotation[] markers,
Annotation marker,
Parameter.Source source,
String sourceName,
Type type,
Class<?> clazz,
String defaultValue)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Parameter
public Parameter(Annotation[] markers,
Annotation marker,
Parameter.Source source,
String sourceName,
Type type,
Class<?> clazz)
Parameter
public Parameter(Annotation[] markers,
Annotation marker,
Parameter.Source source,
String sourceName,
Type type,
Class<?> clazz,
boolean encoded)
Parameter
public Parameter(Annotation[] markers,
Annotation marker,
Parameter.Source source,
String sourceName,
Type type,
Class<?> clazz,
String defaultValue)
Parameter
public Parameter(Annotation[] markers,
Annotation marker,
Parameter.Source source,
String sourceName,
Type type,
Class<?> clazz,
boolean encoded,
String defaultValue)
getAnnotation
public Annotation getAnnotation()
getSource
public Parameter.Source getSource()
getSourceName
public String getSourceName()
isEncoded
public boolean isEncoded()
hasDefaultValue
public boolean hasDefaultValue()
getDefaultValue
public String getDefaultValue()
getParameterClass
public Class<?> getParameterClass()
getParameterType
public Type getParameterType()
isQualified
public boolean isQualified()
isAnnotationPresent
public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
- Specified by:
isAnnotationPresent in interface AnnotatedElement
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
- Specified by:
getAnnotation in interface AnnotatedElement
getAnnotations
public Annotation[] getAnnotations()
- Specified by:
getAnnotations in interface AnnotatedElement
getDeclaredAnnotations
public Annotation[] getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotations in interface AnnotatedElement
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.