java.io.Closeable
, java.lang.AutoCloseable
public class UpgradeServletInputStream
extends javax.servlet.ServletInputStream
Constructor | Description |
---|---|
UpgradeServletInputStream(org.xnio.channels.StreamSourceChannel channel,
io.undertow.connector.ByteBufferPool bufferPool,
java.util.concurrent.Executor ioExecutor) |
Modifier and Type | Method | Description |
---|---|---|
int |
available() |
|
void |
close() |
|
boolean |
isFinished() |
|
boolean |
isReady() |
|
int |
read() |
|
int |
read(byte[] b) |
|
int |
read(byte[] b,
int off,
int len) |
|
void |
setReadListener(javax.servlet.ReadListener readListener) |
mark, markSupported, readAllBytes, readNBytes, reset, skip, transferTo
public UpgradeServletInputStream(org.xnio.channels.StreamSourceChannel channel, io.undertow.connector.ByteBufferPool bufferPool, java.util.concurrent.Executor ioExecutor)
public boolean isFinished()
isFinished
in class javax.servlet.ServletInputStream
public boolean isReady()
isReady
in class javax.servlet.ServletInputStream
public void setReadListener(javax.servlet.ReadListener readListener)
setReadListener
in class javax.servlet.ServletInputStream
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] b) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int available() throws java.io.IOException
available
in class java.io.InputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable
close
in class java.io.InputStream
java.io.IOException
Copyright © 2018. All rights reserved.