ReferenceInputStream and
corresponding adjustments in InputHandler@Deprecated public class LazyHttpInputStream extends InputStream
InputStream internally. HTTP connection is established
in a lazy fashion, i.e. on first read attempt.
This class shall prevent timeout issues with I/O streaming in the WPS framework.| Constructor and Description |
|---|
LazyHttpInputStream(String dataURLString,
String mimeType)
Deprecated.
Constructor for HTTP/GET
|
LazyHttpInputStream(String dataURLString,
String body,
String mimeType)
Deprecated.
Constructor for HTTP/POST
|
| Modifier and Type | Method and Description |
|---|---|
int |
available()
Deprecated.
|
void |
close()
Deprecated.
|
void |
mark(int readlimit)
Deprecated.
|
boolean |
markSupported()
Deprecated.
|
int |
read()
Deprecated.
|
void |
reset()
Deprecated.
|
read, read, skippublic LazyHttpInputStream(String dataURLString, String body, String mimeType)
dataURLString - body - mimeType - public int read()
throws IOException
read in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic void mark(int readlimit)
mark in class InputStreampublic void reset()
throws IOException
reset in class InputStreamIOExceptionpublic boolean markSupported()
markSupported in class InputStreamCopyright © 2019. All Rights Reserved.