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 java.lang.Object
implements RequestDispatcher

Author:
Paul.Sandoz@Sun.Com

Field Summary
protected  java.lang.reflect.Method method
           
 
Constructor Summary
ResourceJavaMethodDispatcher(AbstractResourceMethod abstractResourceMethod)
           
 
Method Summary
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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

method

protected final java.lang.reflect.Method method
Constructor Detail

ResourceJavaMethodDispatcher

public ResourceJavaMethodDispatcher(AbstractResourceMethod abstractResourceMethod)
Method Detail

dispatch

public final void dispatch(java.lang.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(java.lang.Object resource,
                                  HttpContext context)
                           throws java.lang.IllegalAccessException,
                                  java.lang.reflect.InvocationTargetException
Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011 Sun Microsystems, Inc. All Rights Reserved.