Code example for HttpEntity

Methods: getContentType

0
    public long getContentLength() { 
        return wrappedEntity.getContentLength();
    } 
 
    public Header getContentType() {
        return wrappedEntity.getContentType();
    } 
 
    public Header getContentEncoding() {
        return wrappedEntity.getContentEncoding();
    } 
 
    public InputStream getContent()
        throws IOException { 
        return wrappedEntity.getContent();
    } 
 
    public void writeTo(final OutputStream outstream)
        throws IOException { 
        wrappedEntity.writeTo(outstream);
    }