public class JsonMediaTypeHandler extends Object implements MediaTypeHandler
| Constructor and Description |
|---|
JsonMediaTypeHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(String contentType) |
static boolean |
couldBeJsonContent(String contentType) |
String |
createXmlRepresentation(HttpResponse response) |
public boolean canHandle(String contentType)
canHandle in interface MediaTypeHandlerpublic static boolean couldBeJsonContent(String contentType)
public String createXmlRepresentation(HttpResponse response)
createXmlRepresentation in interface MediaTypeHandlerCopyright © 2013. All Rights Reserved.