public class PolicyUtil extends Object
Constructor and Description |
---|
PolicyUtil() |
Modifier and Type | Method and Description |
---|---|
static <T> String |
convertPojoToString(T t) |
static void |
main(String[] args) |
static PolicyResponseWrapper |
wrapResponse(org.glassfish.jersey.client.ClientResponse cres) |
static PolicyResponseWrapper |
wrapResponse(RestObject<String> rs) |
static PolicyResponseWrapper |
wrapResponse(String body,
int statusCode) |
public static PolicyResponseWrapper wrapResponse(String body, int statusCode)
public static PolicyResponseWrapper wrapResponse(org.glassfish.jersey.client.ClientResponse cres)
public static PolicyResponseWrapper wrapResponse(RestObject<String> rs)
public static <T> String convertPojoToString(T t) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingException
public static void main(String[] args)
Copyright © 2017. All rights reserved.