com.eviware.soapui.impl.rest.support.handlers
Class JsonMediaTypeHandler

java.lang.Object
  extended by com.eviware.soapui.impl.rest.support.handlers.JsonMediaTypeHandler
All Implemented Interfaces:
MediaTypeHandler

public class JsonMediaTypeHandler
extends java.lang.Object
implements MediaTypeHandler


Constructor Summary
JsonMediaTypeHandler()
           
 
Method Summary
 boolean canHandle(java.lang.String contentType)
           
static boolean couldBeJsonContent(java.lang.String contentType)
           
 java.lang.String createXmlRepresentation(HttpResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonMediaTypeHandler

public JsonMediaTypeHandler()
Method Detail

canHandle

public boolean canHandle(java.lang.String contentType)
Specified by:
canHandle in interface MediaTypeHandler

couldBeJsonContent

public static boolean couldBeJsonContent(java.lang.String contentType)

createXmlRepresentation

public java.lang.String createXmlRepresentation(HttpResponse response)
Specified by:
createXmlRepresentation in interface MediaTypeHandler


Copyright © 2005-2008 eviware.com. All Rights Reserved.