public static class SingleThreadedHttpEndPoint.TransferToWorker extends InputStream implements SingleThreadedHttpEndPoint.DirectionalTransfer
| 构造器和说明 |
|---|
TransferToWorker(SingleThreadedHttpEndPoint.Client client) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
void |
closeClient() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
transfer(ByteBuffer data) |
available, mark, markSupported, reset, skippublic TransferToWorker(SingleThreadedHttpEndPoint.Client client)
public int read(byte[] b)
throws IOException
read 在类中 InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read 在类中 InputStreamIOExceptionpublic int read()
throws IOException
read 在类中 InputStreamIOExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 InputStreamIOExceptionpublic void transfer(ByteBuffer data) throws IOException
public void closeClient()
throws IOException
Copyright © 2025 onecode. All rights reserved.