Package org.mockserver.codec
package org.mockserver.codec
-
ClassesClassDescriptionDecodes a
multipart/form-datarequest body into field-levelParametersmaps that can be matched the same way form parameters are.Immutable holder for the three field-level views of a decoded multipart body.AnHttpContentchunk that carries two pieces of out-of-band state for a streaming HTTP/2 response: whether the frame ends the stream, and (historically) the stream id it belongs to.Closes the channel when anIdleStateEventfires, which indicates that no streaming chunk has been received within the configured idle timeout period.AnHttpObjectAggregatorthat can recognise streaming responses — specifically Server-Sent Events (Content-Type: text/event-stream) — so that, when MockServer is acting as a proxy, such responses can be relayed to the client incrementally instead of being fully buffered in memory before being forwarded.