public abstract class ResourceJavaMethodDispatcher extends java.lang.Object implements RequestDispatcher
| Modifier and Type | Field and Description |
|---|---|
protected JavaMethodInvoker |
invoker |
protected java.lang.reflect.Method |
method |
| Constructor and Description |
|---|
ResourceJavaMethodDispatcher(AbstractResourceMethod abstractResourceMethod,
JavaMethodInvoker invoker) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
_dispatch(java.lang.Object resource,
HttpContext context) |
void |
dispatch(java.lang.Object resource,
HttpContext context)
Dispatch to the resource method of the resource class instance.
|
java.lang.String |
toString() |
protected final JavaMethodInvoker invoker
protected final java.lang.reflect.Method method
public ResourceJavaMethodDispatcher(AbstractResourceMethod abstractResourceMethod, JavaMethodInvoker invoker)
public final void dispatch(java.lang.Object resource,
HttpContext context)
RequestDispatcherdispatch in interface RequestDispatcherresource - the resource class instance.context - the HTTP context.protected abstract void _dispatch(java.lang.Object resource,
HttpContext context)
throws java.lang.reflect.InvocationTargetException,
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetExceptionjava.lang.IllegalAccessExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015 Oracle Corporation. All Rights Reserved.