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
FieldsModifier and TypeFieldDescriptionprivate static final byte[]
private static final byte[]
private final boolean
private static final byte[]
Fields inherited from class org.eclipse.jetty.fcgi.generator.Generator
byteBufferPool, MAX_CONTENT_LENGTH
-
Constructor Summary
ConstructorsConstructorDescriptionServerGenerator
(ByteBufferPool byteBufferPool) ServerGenerator
(ByteBufferPool byteBufferPool, boolean sendStatus200) -
Method Summary
Modifier and TypeMethodDescriptionprivate ByteBuffer
generateEndRequest
(int request, boolean aborted) generateResponseContent
(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
-
Field Details
-
STATUS
private static final byte[] STATUS -
COLON
private static final byte[] COLON -
EOL
private static final byte[] EOL -
sendStatus200
private final boolean sendStatus200
-
-
Constructor Details
-
ServerGenerator
-
ServerGenerator
-
-
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) -
generateEndRequest
-