Package org.mockserver.netty.connection
package org.mockserver.netty.connection
-
ClassesClassDescriptionTimes 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 forresponseWriteStallTimeoutMillis.Counts HTTP/1.1 exchanges in progress on a connection forInboundConnectionIdleHandler: 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 formock_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, soInboundConnectionIdleHandlercloses only connections that are genuinely quiet.Closes an inbound connection that has read and written nothing forinboundConnectionIdleTimeoutMillisand has nothing in progress (seeInboundConnectionActivity.isBusy(io.netty.channel.Channel)).Counts the inbound connections a MockServer holds open and, whenmaxInboundConnectionsis set, refuses any connection accepted beyond it.Closes an inbound connection when bytes have been waiting for its client forresponseWriteStallTimeoutMillisand 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.