Package org.eclipse.jetty.fcgi.generator
Class ServerGenerator
- java.lang.Object
-
- org.eclipse.jetty.fcgi.generator.Generator
-
- org.eclipse.jetty.fcgi.generator.ServerGenerator
-
public class ServerGenerator extends Generator
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jetty.fcgi.generator.Generator
Generator.Result
-
-
Field Summary
Fields Modifier and Type Field Description private static byte[]
COLON
private static byte[]
EOL
private boolean
sendStatus200
private static byte[]
STATUS
-
Fields inherited from class org.eclipse.jetty.fcgi.generator.Generator
byteBufferPool, MAX_CONTENT_LENGTH
-
-
Constructor Summary
Constructors Constructor Description ServerGenerator(ByteBufferPool byteBufferPool)
ServerGenerator(ByteBufferPool byteBufferPool, boolean sendStatus200)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.nio.ByteBuffer
generateEndRequest(int request, boolean aborted)
Generator.Result
generateResponseContent(int request, java.nio.ByteBuffer content, boolean lastContent, boolean aborted, Callback callback)
Generator.Result
generateResponseHeaders(int request, int code, java.lang.String reason, HttpFields fields, Callback callback)
-
Methods inherited from class org.eclipse.jetty.fcgi.generator.Generator
generateContent
-
-
-
-
Constructor Detail
-
ServerGenerator
public ServerGenerator(ByteBufferPool byteBufferPool)
-
ServerGenerator
public ServerGenerator(ByteBufferPool byteBufferPool, boolean sendStatus200)
-
-
Method Detail
-
generateResponseHeaders
public Generator.Result generateResponseHeaders(int request, int code, java.lang.String reason, HttpFields fields, Callback callback)
-
generateResponseContent
public Generator.Result generateResponseContent(int request, java.nio.ByteBuffer content, boolean lastContent, boolean aborted, Callback callback)
-
generateEndRequest
private java.nio.ByteBuffer generateEndRequest(int request, boolean aborted)
-
-