public class HtmlMediaTypeHandler extends Object implements MediaTypeHandler
Constructor and Description |
---|
HtmlMediaTypeHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(String contentType) |
String |
createXmlRepresentation(HttpResponse response) |
String |
createXmlRepresentation(TypedContent typedContent) |
public boolean canHandle(String contentType)
canHandle
in interface MediaTypeHandler
public String createXmlRepresentation(HttpResponse response)
createXmlRepresentation
in interface MediaTypeHandler
public String createXmlRepresentation(TypedContent typedContent)
createXmlRepresentation
in interface MediaTypeHandler
Copyright © 2019. All Rights Reserved.