use of org.glassfish.jersey.jsonp.JsonProcessingFeature in project Payara by payara.
the class RestUtil method getJerseyClient.
public static synchronized Client getJerseyClient() {
if (JERSEY_CLIENT == null) {
JERSEY_CLIENT = initialize(ClientBuilder.newBuilder()).build();
JERSEY_CLIENT.register(new RequiredHeadersFilter()).register(new JsonProcessingFeature());
}
return JERSEY_CLIENT;
}
Aggregations