public class ServerGenerator extends Generator
Generator.ResultbyteBufferPool, MAX_CONTENT_LENGTH| Constructor and Description |
|---|
ServerGenerator(ByteBufferPool byteBufferPool) |
| Modifier and Type | Method and Description |
|---|---|
Generator.Result |
generateResponseContent(int request,
ByteBuffer content,
boolean lastContent,
boolean aborted,
Callback callback) |
Generator.Result |
generateResponseHeaders(int request,
int code,
String reason,
HttpFields fields,
Callback callback) |
generateContentpublic ServerGenerator(ByteBufferPool byteBufferPool)
public Generator.Result generateResponseHeaders(int request, int code, String reason, HttpFields fields, Callback callback)
public Generator.Result generateResponseContent(int request, ByteBuffer content, boolean lastContent, boolean aborted, Callback callback)
Copyright © 1995-2014 Mort Bay Consulting. All Rights Reserved.