org.apache.http.client.fluent
Class ContentResponseHandler

java.lang.Object
  extended by org.apache.http.impl.client.AbstractResponseHandler<Content>
      extended by org.apache.http.client.fluent.ContentResponseHandler
All Implemented Interfaces:
ResponseHandler<Content>

public class ContentResponseHandler
extends AbstractResponseHandler<Content>

ResponseHandler implementation that converts HttpResponse messages to Content instances.

Since:
4.4
See Also:
Content

Constructor Summary
ContentResponseHandler()
           
 
Method Summary
 Content handleEntity(HttpEntity entity)
           
 
Methods inherited from class org.apache.http.impl.client.AbstractResponseHandler
handleResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentResponseHandler

public ContentResponseHandler()
Method Detail

handleEntity

public Content handleEntity(HttpEntity entity)
                     throws IOException
Specified by:
handleEntity in class AbstractResponseHandler<Content>
Throws:
IOException


Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.