Class UnregisterRequestFilter

  • All Implemented Interfaces:
    org.littleshoot.proxy.HttpFilters

    public class UnregisterRequestFilter
    extends org.littleshoot.proxy.HttpFiltersAdapter
    Unregisters this request with the ActivityMonitor when the LastHttpContent is sent to the client.
    • Field Summary

      • Fields inherited from class org.littleshoot.proxy.HttpFiltersAdapter

        ctx, NOOP_FILTER, originalRequest
    • Constructor Summary

      Constructors 
      Constructor Description
      UnregisterRequestFilter​(io.netty.handler.codec.http.HttpRequest originalRequest, io.netty.channel.ChannelHandlerContext ctx, ActivityMonitor activityMonitor)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      io.netty.handler.codec.http.HttpObject proxyToClientResponse​(io.netty.handler.codec.http.HttpObject httpObject)  
      • Methods inherited from class org.littleshoot.proxy.HttpFiltersAdapter

        clientToProxyRequest, proxyToServerConnectionFailed, proxyToServerConnectionQueued, proxyToServerConnectionSSLHandshakeStarted, proxyToServerConnectionStarted, proxyToServerConnectionSucceeded, proxyToServerRequest, proxyToServerRequestSending, proxyToServerRequestSent, proxyToServerResolutionFailed, proxyToServerResolutionStarted, proxyToServerResolutionSucceeded, serverToProxyResponse, serverToProxyResponseReceived, serverToProxyResponseReceiving, serverToProxyResponseTimedOut
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UnregisterRequestFilter

        public UnregisterRequestFilter​(io.netty.handler.codec.http.HttpRequest originalRequest,
                                       io.netty.channel.ChannelHandlerContext ctx,
                                       ActivityMonitor activityMonitor)
    • Method Detail

      • proxyToClientResponse

        public io.netty.handler.codec.http.HttpObject proxyToClientResponse​(io.netty.handler.codec.http.HttpObject httpObject)
        Specified by:
        proxyToClientResponse in interface org.littleshoot.proxy.HttpFilters
        Overrides:
        proxyToClientResponse in class org.littleshoot.proxy.HttpFiltersAdapter