org.glassfish.jersey.server.model.internal
Class ModelProcessorUtil.Method

java.lang.Object
  extended by org.glassfish.jersey.server.model.internal.ModelProcessorUtil.Method
Enclosing class:
ModelProcessorUtil

public static class ModelProcessorUtil.Method
extends Object

Method bean containing basic information about enhancing resource method.


Constructor Summary
ModelProcessorUtil.Method(String httpMethod, MediaType consumes, MediaType produces, Class<? extends Inflector<ContainerRequestContext,Response>> inflector)
          Create new method instance.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelProcessorUtil.Method

public ModelProcessorUtil.Method(String httpMethod,
                                 MediaType consumes,
                                 MediaType produces,
                                 Class<? extends Inflector<ContainerRequestContext,Response>> inflector)
Create new method instance.

Parameters:
httpMethod - HTTP method (eg. GET, POST, OPTIONS).
consumes - Consumed media type.
produces - Produces media type.
inflector - Inflector handling the resource method.


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