Class HttpPipelineOptAddOn

  • All Implemented Interfaces:
    AddOn

    public class HttpPipelineOptAddOn
    extends java.lang.Object
    implements AddOn
    The plugin, that optimizes processing of pipelined HTTP requests by buffering HTTP responses and then writing them as one operation. Please note, this addon is not thread-safe, so it can't be used with HTTP requests, that require asynchronous processing.
    Author:
    Alexey Stashok
    • Constructor Detail

      • HttpPipelineOptAddOn

        public HttpPipelineOptAddOn()
        Constructs HttpPipelineOptAddOn.
      • HttpPipelineOptAddOn

        public HttpPipelineOptAddOn​(int maxBufferSize)
        Constructs HttpPipelineOptAddOn.
        Parameters:
        maxBufferSize - the max number of response bytes to buffer before flush