public static class SingleThreadedHttpEndPoint.TransferToSocket extends OutputStream implements SingleThreadedHttpEndPoint.DirectionalTransfer
| 构造器和说明 |
|---|
TransferToSocket(SingleThreadedHttpEndPoint.Client client) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
void |
closeClient() |
void |
transfer(ByteBuffer data) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
flushpublic TransferToSocket(SingleThreadedHttpEndPoint.Client client)
public void transfer(ByteBuffer data) throws IOException
public void closeClient()
throws IOException
public void write(int b)
throws IOException
write 在类中 OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write 在类中 OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write 在类中 OutputStreamIOExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 OutputStreamIOExceptionCopyright © 2025 onecode. All rights reserved.