org.codegist.crest
Interface HttpResource


public interface HttpResource

HttpResource abstraction that provides methods to access resource stream and release network resources.

Author:
Laurent Gilles (laurent.gilles@codegist.org)

Method Summary
 InputStream getContent()
           
 void release()
          Release the network resources used by the resource
 

Method Detail

getContent

InputStream getContent()
                       throws HttpException
Returns:
the underlying http resource data stream
Throws:
HttpException

release

void release()
             throws HttpException
Release the network resources used by the resource

Throws:
HttpException


Copyright © 2011. All Rights Reserved.