public static class ModelProcessorUtil.Method extends Object
| Constructor and Description |
|---|
ModelProcessorUtil.Method(String httpMethod,
MediaType consumes,
MediaType produces,
Class<? extends Inflector<ContainerRequestContext,Response>> inflector)
Create new method instance.
|
public ModelProcessorUtil.Method(String httpMethod, MediaType consumes, MediaType produces, Class<? extends Inflector<ContainerRequestContext,Response>> inflector)
httpMethod - HTTP method (eg. GET, POST, OPTIONS).consumes - Consumed media type.produces - Produces media type.inflector - Inflector handling the resource method.Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.