Package org.eclipse.jetty.fcgi.generator
Class ServerGenerator
java.lang.Object
org.eclipse.jetty.fcgi.generator.Generator
org.eclipse.jetty.fcgi.generator.ServerGenerator
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.fcgi.generator.Generator
Generator.Result
-
Field Summary
Fields inherited from class org.eclipse.jetty.fcgi.generator.Generator
MAX_CONTENT_LENGTH
-
Constructor Summary
ConstructorDescriptionServerGenerator
(ByteBufferPool byteBufferPool) ServerGenerator
(ByteBufferPool byteBufferPool, boolean useDirectByteBuffers, boolean sendStatus200) -
Method Summary
Modifier and TypeMethodDescriptiongenerateResponseContent
(int request, ByteBuffer content, boolean lastContent, boolean aborted, Callback callback) generateResponseHeaders
(int request, int code, String reason, HttpFields fields, Callback callback) Methods inherited from class org.eclipse.jetty.fcgi.generator.Generator
generateContent
-
Constructor Details
-
ServerGenerator
-
ServerGenerator
public ServerGenerator(ByteBufferPool byteBufferPool, boolean useDirectByteBuffers, boolean sendStatus200)
-
-
Method Details
-
generateResponseHeaders
public Generator.Result generateResponseHeaders(int request, int code, String reason, HttpFields fields, Callback callback) -
generateResponseContent
public Generator.Result generateResponseContent(int request, ByteBuffer content, boolean lastContent, boolean aborted, Callback callback)
-