Package org.eclipse.jetty.fcgi.generator
Class ServerGenerator
java.lang.Object
org.eclipse.jetty.fcgi.generator.Generator
org.eclipse.jetty.fcgi.generator.ServerGenerator
-
Field Summary
Fields inherited from class org.eclipse.jetty.fcgi.generator.Generator
MAX_CONTENT_LENGTH
-
Constructor Summary
ConstructorDescriptionServerGenerator
(ByteBufferPool bufferPool) ServerGenerator
(ByteBufferPool bufferPool, boolean useDirectByteBuffers, boolean sendStatus200) -
Method Summary
Modifier and TypeMethodDescriptionvoid
generateResponseContent
(ByteBufferPool.Accumulator accumulator, int request, ByteBuffer content, boolean lastContent, boolean aborted) void
generateResponseHeaders
(ByteBufferPool.Accumulator accumulator, int request, int code, String reason, HttpFields fields) Methods inherited from class org.eclipse.jetty.fcgi.generator.Generator
generateContent, getByteBufferPool, isUseDirectByteBuffers
-
Constructor Details
-
ServerGenerator
-
ServerGenerator
public ServerGenerator(ByteBufferPool bufferPool, boolean useDirectByteBuffers, boolean sendStatus200)
-
-
Method Details
-
generateResponseHeaders
public void generateResponseHeaders(ByteBufferPool.Accumulator accumulator, int request, int code, String reason, HttpFields fields) -
generateResponseContent
public void generateResponseContent(ByteBufferPool.Accumulator accumulator, int request, ByteBuffer content, boolean lastContent, boolean aborted)
-