public interface LineFormatter
| 限定符和类型 | 方法和说明 |
|---|---|
void |
formatHeader(CharArrayBuffer buffer,
Header header)
Formats a header.
|
void |
formatRequestLine(CharArrayBuffer buffer,
RequestLine reqline)
Formats a request line.
|
void |
formatStatusLine(CharArrayBuffer buffer,
StatusLine statline)
Formats a status line.
|
void formatRequestLine(CharArrayBuffer buffer, RequestLine reqline)
buffer - buffer to write formatted content to.reqline - the request line to formatvoid formatStatusLine(CharArrayBuffer buffer, StatusLine statline)
buffer - buffer to write formatted content to.statline - the status line to formatvoid formatHeader(CharArrayBuffer buffer, Header header)
buffer - buffer to write formatted content to.header - the header to formatCopyright © 2023. All rights reserved.