public abstract class AbstractHTTP2OutputStream extends HTTPOutputStream
| 限定符和类型 | 字段和说明 |
|---|---|
protected boolean |
isChunked |
protected static org.slf4j.Logger |
log |
static String |
SERVER_VALUE |
static String |
X_POWERED_BY_VALUE |
clientMode, closed, committed, info| 构造器和说明 |
|---|
AbstractHTTP2OutputStream(MetaData info,
boolean clientMode) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
void |
commit() |
protected void |
commit(boolean endStream) |
protected abstract Stream |
getStream() |
void |
write(ByteBuffer data) |
protected void |
writeDataFrame(DataFrame dataFrame) |
void |
writeFrame(Frame frame) |
protected void |
writeHeadersFrame(HeadersFrame headersFrame) |
isClosed, isCommitted, write, write, writeWithContentLength, writeWithContentLength, writeWithContentLengthflush, writepublic AbstractHTTP2OutputStream(MetaData info, boolean clientMode)
public void commit()
throws IOException
commit 在类中 HTTPOutputStreamIOExceptionpublic void write(ByteBuffer data) throws IOException
write 在类中 HTTPOutputStreamIOExceptionpublic void writeFrame(Frame frame)
protected void writeDataFrame(DataFrame dataFrame)
protected void writeHeadersFrame(HeadersFrame headersFrame)
public void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 OutputStreamIOExceptionprotected void commit(boolean endStream)
throws IOException
IOExceptionprotected abstract Stream getStream()
Copyright © 2017. All rights reserved.