Gridarta Editor
|
Classes | |
class | Code |
Public Member Functions | |
void | prepare () throws IOException |
void | release () throws IOException |
boolean | send (ChannelIO cio) throws IOException |
Package Functions | |
Reply (Code rc, Content c) | |
Reply (Code rc, Content c, Request.Action head) | |
Private Member Functions | |
ByteBuffer | headers () |
Private Attributes | |
Code | code |
Content | content |
ByteBuffer | hbb = null |
boolean | headersOnly |
Static Private Attributes | |
static Charset | ascii = Charset.forName("US-ASCII") |
static String | CRLF = "\r\n" |
An object used for sending Content to the requestor.
Definition at line 51 of file Reply.java.
Definition at line 74 of file Reply.java.
|
package |
Definition at line 78 of file Reply.java.
References code, content, Request.Action.HEAD, and headersOnly.
|
private |
Definition at line 89 of file Reply.java.
References ascii, code, content, CRLF, Content.length(), Reply.Code.toString(), and Content.type().
Referenced by prepare().
void Reply.prepare | ( | ) | throws IOException |
Implements Sendable.
Definition at line 110 of file Reply.java.
References content, hbb, headers(), and Sendable.prepare().
Referenced by RequestServicer.build(), and RequestHandler.handle().
void Reply.release | ( | ) | throws IOException |
Implements Sendable.
Definition at line 136 of file Reply.java.
References content, and Sendable.release().
Referenced by RequestServicer.build(), RequestHandler.handle(), and RequestServicer.service().
boolean Reply.send | ( | ChannelIO | cio | ) | throws IOException |
Implements Sendable.
Definition at line 115 of file Reply.java.
References content, hbb, headersOnly, and Sendable.send().
Referenced by RequestHandler.send(), and RequestServicer.service().
|
staticprivate |
Definition at line 85 of file Reply.java.
Referenced by headers().
|
private |
Definition at line 70 of file Reply.java.
|
private |
|
staticprivate |
Definition at line 84 of file Reply.java.
Referenced by headers().
|
private |
Definition at line 87 of file Reply.java.
|
private |
Definition at line 72 of file Reply.java.