public String unmarshall(JsonUnmarshallerContext unmarshallerContext) throws Exception { String stringValue = super.unmarshall(unmarshallerContext); return !unmarshallerContext.isInsideResponseHeader() ? stringValue : new String(Base64.decode(stringValue), Charset.forName("utf-8")); }
/** * Unmarshalls the response headers or the json doc in the payload to the * list */ public List<T> unmarshall(JsonUnmarshallerContext context) throws Exception { if (context.isInsideResponseHeader()) { return unmarshallResponseHeaderToList(context); } return unmarshallJsonToList(context); }
public String unmarshall(JsonUnmarshallerContext unmarshallerContext) throws Exception { String stringValue = super.unmarshall(unmarshallerContext); return !unmarshallerContext.isInsideResponseHeader() ? stringValue : new String(Base64.decode(stringValue), Charset.forName("utf-8")); }
/** * Unmarshalls the response headers or the json doc in the payload to the * list */ public List<T> unmarshall(JsonUnmarshallerContext context) throws Exception { if (context.isInsideResponseHeader()) { return unmarshallResponseHeaderToList(context); } return unmarshallJsonToList(context); }
public String unmarshall(JsonUnmarshallerContext unmarshallerContext) throws Exception { String stringValue = super.unmarshall(unmarshallerContext); return !unmarshallerContext.isInsideResponseHeader() ? stringValue : new String(Base64.decode(stringValue), Charset.forName("utf-8")); }
/** * Unmarshalls the response headers or the json doc in the payload to the * list */ public List<T> unmarshall(JsonUnmarshallerContext context) throws Exception { if (context.isInsideResponseHeader()) { return unmarshallResponseHeaderToList(context); } return unmarshallJsonToList(context); }