public class HttpProtocolHandle extends ProtocolStreamHandle
_contentLength, _source| 构造器和说明 |
|---|
HttpProtocolHandle(ByteBuffer source) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
ReadFirstLine() |
HashMap<String,Object> |
ReadHeaders() |
void |
WriteHeaders(HashMap<String,Object> headers) |
void |
WriteRequestFirstLine(String requestVerb,
String url) |
void |
WriteResponseFirstLine(String httpStatusCode,
String reasonPhrase) |
ReadByte, ReadBytes, ReadContent, WriteByte, WriteBytes, WriteContentpublic HttpProtocolHandle(ByteBuffer source)
Copyright © 2020. All rights reserved.