Class ServerGenerator
java.lang.Object
org.eclipse.jetty.fcgi.generator.Generator
org.eclipse.jetty.fcgi.generator.ServerGenerator
-
Field Summary
Fields inherited from class Generator
MAX_CONTENT_LENGTH -
Constructor Summary
ConstructorsConstructorDescriptionServerGenerator(ByteBufferPool bufferPool) ServerGenerator(ByteBufferPool bufferPool, boolean useDirectByteBuffers, boolean sendStatus200) -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateResponseContent(ByteBufferPool.Accumulator accumulator, int request, ByteBuffer content, boolean lastContent, boolean aborted) voidgenerateResponseHeaders(ByteBufferPool.Accumulator accumulator, int request, int code, String reason, HttpFields fields) Methods inherited from class 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)
-