org.glassfish.jersey.media.multipart.internal
Class FormDataParamValueFactoryProvider

java.lang.Object
  extended by org.glassfish.jersey.server.internal.inject.AbstractValueFactoryProvider
      extended by org.glassfish.jersey.media.multipart.internal.FormDataParamValueFactoryProvider
All Implemented Interfaces:
ValueFactoryProvider

public final class FormDataParamValueFactoryProvider
extends AbstractValueFactoryProvider

Value factory provider supporting the FormDataParam injection annotation.

Author:
Craig McClanahan, Paul Sandoz (paul.sandoz at oracle.com), Michal Gajdos (michal.gajdos at oracle.com)

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.glassfish.jersey.server.spi.internal.ValueFactoryProvider
ValueFactoryProvider.Priority, ValueFactoryProvider.PriorityType
 
Constructor Summary
FormDataParamValueFactoryProvider(MultivaluedParameterExtractorProvider mpep, ServiceLocator locator)
          Injection constructor.
 
Method Summary
protected  Factory<?> createValueFactory(Parameter parameter)
           
 ValueFactoryProvider.PriorityType getPriority()
           
 
Methods inherited from class org.glassfish.jersey.server.internal.inject.AbstractValueFactoryProvider
get, getValueFactory, getWithoutDefaultValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormDataParamValueFactoryProvider

@Inject
public FormDataParamValueFactoryProvider(MultivaluedParameterExtractorProvider mpep,
                                                ServiceLocator locator)
Injection constructor.

Parameters:
mpep - multi-valued map parameter extractor provider.
locator - HK2 service locator.
Method Detail

createValueFactory

protected Factory<?> createValueFactory(Parameter parameter)
Specified by:
createValueFactory in class AbstractValueFactoryProvider

getPriority

public ValueFactoryProvider.PriorityType getPriority()
Specified by:
getPriority in interface ValueFactoryProvider
Overrides:
getPriority in class AbstractValueFactoryProvider


Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.