@Produces(value="application/json") public static class ExampleGson.MyObjectMapperResolver extends Object implements javax.ws.rs.ext.ContextResolver<com.google.gson.Gson>
| Constructor and Description |
|---|
MyObjectMapperResolver() |
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.Gson |
getContext(Class<?> type) |
public com.google.gson.Gson getContext(Class<?> type)
getContext in interface javax.ws.rs.ext.ContextResolver<com.google.gson.Gson>Copyright © 2019 The Holon Platform. All rights reserved.