| 限定符和类型 | 字段和说明 |
|---|---|
protected HTTPServer.Headers |
HTTPServer.ChunkedInputStream.headers |
HTTPServer.Headers |
HTTPServer.MultipartIterator.Part.headers |
protected HTTPServer.Headers |
HTTPServer.Request.headers |
protected HTTPServer.Headers |
HTTPServer.Response.headers |
| 限定符和类型 | 方法和说明 |
|---|---|
HTTPServer.Headers |
HTTPServer.MultipartIterator.Part.getHeaders()
Returns the part's headers.
|
HTTPServer.Headers |
HTTPServer.Request.getHeaders()
Returns the request headers.
|
HTTPServer.Headers |
HTTPServer.Response.getHeaders()
Returns the request headers collection.
|
static HTTPServer.Headers |
HTTPServer.readHeaders(InputStream in)
Reads headers from the given stream.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
HTTPServer.Headers.addAll(HTTPServer.Headers headers)
Adds all given headers to the end of this collection of headers,
in their original order.
|
void |
HTTPServer.ChunkedOutputStream.writeTrailingChunk(HTTPServer.Headers headers)
Writes the trailing chunk which marks the end of the stream.
|
| 构造器和说明 |
|---|
ChunkedInputStream(InputStream in,
HTTPServer.Headers headers)
Constructs a ChunkedInputStream with the given underlying stream, and
a headers container to which the stream's trailing headers will be
added.
|
Copyright © 2022. All rights reserved.