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

java.lang.Object
  extended by com.sun.jersey.server.impl.model.method.dispatch.VoidVoidDispatchProvider
All Implemented Interfaces:
ResourceMethodCustomInvokerDispatchProvider, ResourceMethodDispatchProvider

public class VoidVoidDispatchProvider
extends java.lang.Object
implements ResourceMethodDispatchProvider, ResourceMethodCustomInvokerDispatchProvider

A provider for methods that are marked as void and receiving no args.

Author:
[email protected]

Nested Class Summary
static class VoidVoidDispatchProvider.VoidVoidMethodInvoker
           
 
Constructor Summary
VoidVoidDispatchProvider()
           
 
Method Summary
 RequestDispatcher create(AbstractResourceMethod abstractResourceMethod)
          Create a RequestDispatcher for a resource method of a resource.
 RequestDispatcher create(AbstractResourceMethod abstractResourceMethod, JavaMethodInvoker invoker)
          Create a RequestDispatcher for a resource method of a resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VoidVoidDispatchProvider

public VoidVoidDispatchProvider()
Method Detail

create

public RequestDispatcher create(AbstractResourceMethod abstractResourceMethod)
Description copied from interface: ResourceMethodDispatchProvider
Create a RequestDispatcher for a resource method of a resource.

Specified by:
create in interface ResourceMethodDispatchProvider
Parameters:
abstractResourceMethod - the abstract resource method.
Returns:
the request dispatcher, otherwise null if it could not be created for the abstract resource method.

create

public RequestDispatcher create(AbstractResourceMethod abstractResourceMethod,
                                JavaMethodInvoker invoker)
Description copied from interface: ResourceMethodCustomInvokerDispatchProvider
Create a RequestDispatcher for a resource method of a resource.

Specified by:
create in interface ResourceMethodCustomInvokerDispatchProvider
Parameters:
abstractResourceMethod - the abstract resource method.
invoker - custom Java method invoker instance
Returns:
the request dispatcher, otherwise null if it could not be created for the abstract resource method.


Copyright © 2013 Oracle Corporation. All Rights Reserved.