Class ServerGenerator


  • public class ServerGenerator
    extends Generator
    • Constructor Detail

      • ServerGenerator

        public ServerGenerator​(ByteBufferPool byteBufferPool)
      • ServerGenerator

        public ServerGenerator​(ByteBufferPool byteBufferPool,
                               boolean useDirectByteBuffers,
                               boolean sendStatus200)
    • Method Detail

      • generateResponseContent

        public Generator.Result generateResponseContent​(int request,
                                                        java.nio.ByteBuffer content,
                                                        boolean lastContent,
                                                        boolean aborted,
                                                        Callback callback)