public class ServerGenerator extends Generator
Generator.ResultbyteBufferPool, MAX_CONTENT_LENGTH| Constructor | Description |
|---|---|
ServerGenerator(org.eclipse.jetty.io.ByteBufferPool byteBufferPool) |
|
ServerGenerator(org.eclipse.jetty.io.ByteBufferPool byteBufferPool,
boolean sendStatus200) |
| Modifier and Type | Method | Description |
|---|---|---|
Generator.Result |
generateResponseContent(int request,
java.nio.ByteBuffer content,
boolean lastContent,
boolean aborted,
org.eclipse.jetty.util.Callback callback) |
|
Generator.Result |
generateResponseHeaders(int request,
int code,
java.lang.String reason,
org.eclipse.jetty.http.HttpFields fields,
org.eclipse.jetty.util.Callback callback) |
generateContentpublic ServerGenerator(org.eclipse.jetty.io.ByteBufferPool byteBufferPool)
public ServerGenerator(org.eclipse.jetty.io.ByteBufferPool byteBufferPool,
boolean sendStatus200)
public Generator.Result generateResponseHeaders(int request, int code, java.lang.String reason, org.eclipse.jetty.http.HttpFields fields, org.eclipse.jetty.util.Callback callback)
public Generator.Result generateResponseContent(int request, java.nio.ByteBuffer content, boolean lastContent, boolean aborted, org.eclipse.jetty.util.Callback callback)
Copyright © 1995–2018 Webtide. All rights reserved.