public interface DispatchingListener
Modifier and Type | Method and Description |
---|---|
void |
onResourceMethod(long id,
AbstractResourceMethod method)
Called right before resource method invocation.
|
void |
onSubResource(long id,
java.lang.Class subResource)
Called when Jersey finds suitable sub resource which will
be used during request processing.
|
void |
onSubResourceLocator(long id,
AbstractSubResourceLocator locator)
Called right before sub resource locator method is invoked.
|
void onSubResource(long id, java.lang.Class subResource)
id
- Context ID.subResource
- class representing matched sub resource.void onSubResourceLocator(long id, AbstractSubResourceLocator locator)
id
- Context ID.locator
- locator used for locating sub-resource.void onResourceMethod(long id, AbstractResourceMethod method)
id
- Context ID.method
- method used for dispatching. It MUST NOT be modified.Copyright © 2016 Oracle Corporation. All Rights Reserved.