org.glassfish.jersey.examples.beanvalidation.webapp
Class MyApplication.JsonConfiguration

java.lang.Object
  extended by org.glassfish.jersey.examples.beanvalidation.webapp.MyApplication.JsonConfiguration
All Implemented Interfaces:
javax.ws.rs.ext.ContextResolver<MoxyJsonConfig>
Enclosing class:
MyApplication

public static class MyApplication.JsonConfiguration
extends Object
implements javax.ws.rs.ext.ContextResolver<MoxyJsonConfig>

Configuration for org.eclipse.persistence.jaxb.rs.MOXyJsonProvider - outputs formatted JSON.


Constructor Summary
MyApplication.JsonConfiguration()
           
 
Method Summary
 MoxyJsonConfig getContext(Class<?> type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyApplication.JsonConfiguration

public MyApplication.JsonConfiguration()
Method Detail

getContext

public MoxyJsonConfig getContext(Class<?> type)
Specified by:
getContext in interface javax.ws.rs.ext.ContextResolver<MoxyJsonConfig>


Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.