Package org.mockserver.netty.connection


package org.mockserver.netty.connection
  • Classes
    Class
    Description
    Times one HTTP/2 stream for mock_server_request_transport_duration_seconds: from its first HEADERS frame reaching the stream's channel to the write of the frame that ends the response stream completing.
    Resets an HTTP/2 stream whose response has data waiting in the connection's flow controller that the client has taken none of for responseWriteStallTimeoutMillis.
    Counts HTTP/1.1 exchanges in progress on a connection for InboundConnectionIdleHandler: an exchange starts when a request head is decoded and ends when the last part of its response has been written to the socket, so a delayed, paused or streaming response keeps the connection busy.
    Times each HTTP/1.1 exchange on a connection for mock_server_request_transport_duration_seconds: from the request head being decoded to the write of the last part of its response completing on the socket.
    What an inbound connection is doing, so InboundConnectionIdleHandler closes only connections that are genuinely quiet.
    Closes an inbound connection that has read and written nothing for inboundConnectionIdleTimeoutMillis and has nothing in progress (see InboundConnectionActivity.isBusy(io.netty.channel.Channel)).
    Counts the inbound connections a MockServer holds open and, when maxInboundConnections is set, refuses any connection accepted beyond it.
    Closes an inbound connection when bytes have been waiting for its client for responseWriteStallTimeoutMillis and the client has taken none of them, so a client that stops reading cannot hold what is queued for it (and, for a streamed response, its upstream connection) indefinitely.