public class StreamUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static InputStream |
limitedInputStream(InputStream is,
int limit) |
static InputStream |
markSupportedInputStream(InputStream is) |
static InputStream |
markSupportedInputStream(InputStream is,
int markBufferSize) |
static void |
skipUnusedStream(InputStream is) |
public static InputStream limitedInputStream(InputStream is, int limit) throws IOException
IOExceptionpublic static InputStream markSupportedInputStream(InputStream is, int markBufferSize)
public static InputStream markSupportedInputStream(InputStream is)
public static void skipUnusedStream(InputStream is) throws IOException
IOExceptionCopyright © 2011–2018 The Dubbo Project. All rights reserved.