org.glassfish.jersey.media.json
Class JsonFeature
java.lang.Object
org.glassfish.jersey.media.json.JsonFeature
- All Implemented Interfaces:
- javax.ws.rs.client.Feature
public class JsonFeature
- extends Object
- implements javax.ws.rs.client.Feature
Feature used to register Json providers with Client.
- Author:
- Stepan Kopriva
|
Method Summary |
static JsonFeature |
getInstance()
Create signleton instance if it hasn't been created yet |
void |
onDisable(javax.ws.rs.client.Configuration c)
|
void |
onEnable(javax.ws.rs.client.Configuration c)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsonFeature
public JsonFeature()
getInstance
public static JsonFeature getInstance()
- Create signleton instance if it hasn't been created yet
- Returns:
- singleton instance
onEnable
public void onEnable(javax.ws.rs.client.Configuration c)
- Specified by:
onEnable in interface javax.ws.rs.client.Feature
onDisable
public void onDisable(javax.ws.rs.client.Configuration c)
- Specified by:
onDisable in interface javax.ws.rs.client.Feature
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.