|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.server.model.SubResourceLocator
public class SubResourceLocator
Abstraction for a sub-resource locator
| Constructor Summary | |
|---|---|
SubResourceLocator(ResourceClass resource,
Method method,
PathValue uriPath,
Annotation[] annotations)
Creates a new instance of SubResourceLocator |
|
| 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. |
Annotation[] |
getAnnotations()
|
List<ResourceModelComponent> |
getComponents()
Should return all existing resource model sub-components. |
Method |
getMethod()
|
List<Parameter> |
getParameters()
Provides access to all parameters associated with given Parameterized instance. |
PathValue |
getPath()
|
ResourceClass |
getResource()
|
boolean |
hasEntity()
Provides information on presence of an entity parameter. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SubResourceLocator(ResourceClass resource,
Method method,
PathValue uriPath,
Annotation[] annotations)
| Method Detail |
|---|
public Annotation[] getAnnotations()
public Method getMethod()
public ResourceClass getResource()
public PathValue getPath()
getPath in interface PathAnnotatedpublic List<Parameter> getParameters()
Parameterized
getParameters in interface Parameterizedpublic boolean hasEntity()
Parameterized
hasEntity in interface Parameterizedpublic void accept(ResourceModelVisitor visitor)
ResourceModelComponent
accept in interface ResourceModelComponentvisitor - resource model visitor.public List<ResourceModelComponent> getComponents()
ResourceModelComponent
getComponents in interface ResourceModelComponentpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||