com.sun.jersey.server.impl.model.method.dispatch
Class ResourceJavaMethodDispatcher

java.lang.Object
  extended by com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher
All Implemented Interfaces:
RequestDispatcher
Direct Known Subclasses:
VoidVoidDispatchProvider.VoidVoidMethodInvoker

public abstract class ResourceJavaMethodDispatcher
extends Object
implements RequestDispatcher

Author:
Paul.Sandoz@Sun.Com

Field Summary
protected  Method method
           
 
Constructor Summary
ResourceJavaMethodDispatcher(AbstractResourceMethod abstractResourceMethod)
           
 
Method Summary
protected abstract  void _dispatch(Object resource, HttpContext context)
           
 void dispatch(Object resource, HttpContext context)
          Dispatch to the resource method of the resource class instance.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

method

protected final Method method
Constructor Detail

ResourceJavaMethodDispatcher

public ResourceJavaMethodDispatcher(AbstractResourceMethod abstractResourceMethod)
Method Detail

dispatch

public final void dispatch(Object resource,
                           HttpContext context)
Description copied from interface: RequestDispatcher
Dispatch to the resource method of the resource class instance.

Specified by:
dispatch in interface RequestDispatcher
Parameters:
resource - the resource class instance.
context - the HTTP context.

_dispatch

protected abstract void _dispatch(Object resource,
                                  HttpContext context)
                           throws IllegalAccessException,
                                  InvocationTargetException
Throws:
IllegalAccessException
InvocationTargetException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 Oracle Corporation. All Rights Reserved.