List of usage examples for java.io InputStream subclass-usage
From source file cn.ctyun.amazonaws.http.HttpMethodReleaseInputStream.java
/**
* Utility class to wrap InputStreams obtained from an HttpClient library's
* HttpMethod object, and ensure the stream and HTTP connection are properly
* released.
* <p>
* This input stream wrapper is used to ensure that input streams obtained
From source file org.apache.james.util.SizeLimitedInputStream.java
/** * Wraps an underlying input stream, limiting the allowable size * of incoming data. The size limit is configured in the conf file, * and when the limit is reached, a MessageSizeException is thrown. */ public class SizeLimitedInputStream extends InputStream {
From source file CharTerminatedInputStream.java
/**
* An InputStream class that terminates the stream when it encounters a
* particular byte sequence.
*
* @version 1.0.0, 24/04/1999
*/
From source file org.jets3t.service.impl.rest.httpclient.HttpMethodReleaseInputStream.java
/**
* Utility class to wrap InputStreams obtained from an HttpClient library's HttpMethod object, and
* ensure the stream and HTTP connection is cleaned up properly.
* <p>
* This input stream wrapper is used to ensure that input streams obtained through HttpClient
* connections are cleaned up correctly once the caller has read all the contents of the
From source file stargate.server.volume.InterceptableInputStream.java
/** * * @author iychoi */ public class InterceptableInputStream extends InputStream { private static final Log LOG = LogFactory.getLog(InterceptableInputStream.class);
From source file UnicodeInputStream.java
/**
* This is an input stream that is unicode BOM aware. This allows you to e.g.
* read Windows Notepad Unicode files as Velocity templates.
*
* It allows you to check the actual encoding of a file by calling
* {@link #getEncodingFromStream()} on the input stream reader.
From source file ConcatInputStream.java
/**
* An input stream which reads sequentially from multiple sources.
* More information about this class is available from <a target="_top" href=
* "http://ostermiller.org/utils/">ostermiller.org</a>.
*
* @author Stephen Ostermiller http://ostermiller.org/contact.pl?regarding=Java+Utilities
From source file org.openqa.jetty.http.ChunkingInputStream.java
/** Dechunk input. * Or limit content length. */ public class ChunkingInputStream extends InputStream { private static Log log = LogFactory.getLog(ChunkingInputStream.class); private static final String __UNEXPECTED_EOF = "Unexpected EOF while chunking";
From source file org.browsermob.proxy.jetty.http.ChunkingInputStream.java
/** Dechunk input. * Or limit content length. */ public class ChunkingInputStream extends InputStream { private static Log log = LogFactory.getLog(ChunkingInputStream.class); private static final String __UNEXPECTED_EOF = "Unexpected EOF while chunking";
From source file net.lightbody.bmp.proxy.jetty.http.ChunkingInputStream.java
/** Dechunk input. * Or limit content length. */ public class ChunkingInputStream extends InputStream { private static Log log = LogFactory.getLog(ChunkingInputStream.class); private static final String __UNEXPECTED_EOF = "Unexpected EOF while chunking";