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