com.openhtmltopdf.extend.HttpStream Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openhtmltopdf-core Show documentation
Show all versions of openhtmltopdf-core Show documentation
Open HTML to PDF is a CSS 2.1 renderer written in Java. This artifact contains the core rendering and layout code.
package com.openhtmltopdf.extend;
import java.io.InputStream;
import java.io.Reader;
/**
* Represents an http or https stream. We have a getReader method in case the connection knows more
* about the charset encoding through the headers returned from the object.
*/
public interface HttpStream {
public InputStream getStream();
public Reader getReader();
}