|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.server.model.AbstractResourceMethod
org.glassfish.jersey.server.model.AbstractSubResourceMethod
org.glassfish.jersey.server.model.SubResourceMethod
public class SubResourceMethod
Abstraction for a sub-resource method
| Constructor Summary | |
|---|---|
SubResourceMethod(ResourceClass resource,
Method method,
Class returnType,
Type genericReturnType,
PathValue uriPath,
String httpMethod,
Annotation[] markers)
|
|
| Method Summary | |
|---|---|
void |
accept(ResourceModelVisitor visitor)
A component should call the visitor back with an appropriate visitor interface method to give it a chance to process. |
Type |
getGenericReturnType()
Getter for the method generic return type |
Method |
getMethod()
Getter for the Java method |
List<Parameter> |
getParameters()
Provides access to all parameters associated with given Parameterized instance. |
Class |
getReturnType()
Getter for the method return type |
boolean |
hasEntity()
Provides information on presence of an entity parameter. |
String |
toString()
|
| Methods inherited from class org.glassfish.jersey.server.model.AbstractSubResourceMethod |
|---|
getPath |
| Methods inherited from class org.glassfish.jersey.server.model.AbstractResourceMethod |
|---|
areInputTypesDeclared, areOutputTypesDeclared, getComponents, getDeclaringResource, getHttpMethod, getSupportedInputTypes, getSupportedOutputTypes, setAreInputTypesDeclared, setAreOutputTypesDeclared |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.glassfish.jersey.server.model.PathAnnotated |
|---|
getPath |
| Methods inherited from interface org.glassfish.jersey.server.model.InvocableResourceMethod |
|---|
getDeclaringResource |
| Methods inherited from interface org.glassfish.jersey.server.model.ConsumesProducesEnabledComponent |
|---|
areInputTypesDeclared, areOutputTypesDeclared, getSupportedInputTypes, getSupportedOutputTypes, setAreInputTypesDeclared, setAreOutputTypesDeclared |
| Constructor Detail |
|---|
public SubResourceMethod(ResourceClass resource,
Method method,
Class returnType,
Type genericReturnType,
PathValue uriPath,
String httpMethod,
Annotation[] markers)
| Method Detail |
|---|
public void accept(ResourceModelVisitor visitor)
ResourceModelComponent
accept in interface ResourceModelComponentResourceModelVisitorpublic Method getMethod()
InvocableResourceMethod
getMethod in interface InvocableResourceMethodpublic Class getReturnType()
InvocableResourceMethod
getReturnType in interface InvocableResourceMethodpublic Type getGenericReturnType()
InvocableResourceMethod
getGenericReturnType in interface InvocableResourceMethodpublic String toString()
toString in class AbstractResourceMethodpublic List<Parameter> getParameters()
Parameterized
getParameters in interface Parameterizedpublic boolean hasEntity()
Parameterized
hasEntity in interface Parameterized
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||