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

java.lang.Object
  extended by com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider
      extended by com.sun.jersey.server.impl.model.method.dispatch.FormDispatchProvider
All Implemented Interfaces:
ResourceMethodDispatchProvider
Direct Known Subclasses:
MultipartFormDispatchProvider

public class FormDispatchProvider
extends AbstractResourceMethodDispatchProvider

Author:
Paul.Sandoz@Sun.Com

Field Summary
static java.lang.String FORM_PROPERTY
           
 
Constructor Summary
FormDispatchProvider()
           
 
Method Summary
 RequestDispatcher create(AbstractResourceMethod abstractResourceMethod)
          Create a RequestDispatcher for a resource method of a resource.
protected  java.util.List<Injectable> getInjectables(AbstractResourceMethod method)
           
protected  InjectableValuesProvider getInjectableValuesProvider(AbstractResourceMethod abstractResourceMethod)
          Get the injectable values provider for an abstract resource method.
protected  MultivaluedParameterExtractorProvider getMultivaluedParameterExtractorProvider()
           
protected  void processForm(HttpContext context)
           
 
Methods inherited from class com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider
getInjectableProviderContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FORM_PROPERTY

public static final java.lang.String FORM_PROPERTY
See Also:
Constant Field Values
Constructor Detail

FormDispatchProvider

public FormDispatchProvider()
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
Overrides:
create in class AbstractResourceMethodDispatchProvider
Parameters:
abstractResourceMethod - the abstract resource method.
Returns:
the request dispatcher, otherwise null if it could not be created for the abstract resource method.

getInjectableValuesProvider

protected InjectableValuesProvider getInjectableValuesProvider(AbstractResourceMethod abstractResourceMethod)
Description copied from class: AbstractResourceMethodDispatchProvider
Get the injectable values provider for an abstract resource method.

Specified by:
getInjectableValuesProvider in class AbstractResourceMethodDispatchProvider
Parameters:
abstractResourceMethod - the abstract resource method.
Returns:
the injectable values provider, or null if no injectable values can be created for the parameters of the abstract resource method.

getMultivaluedParameterExtractorProvider

protected MultivaluedParameterExtractorProvider getMultivaluedParameterExtractorProvider()

processForm

protected void processForm(HttpContext context)

getInjectables

protected java.util.List<Injectable> getInjectables(AbstractResourceMethod method)


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