Index

A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

accumulateBody(CompositeByteBuf, Http3DataFrame) - Static method in class org.mockserver.netty.http3.Http3RequestBridge
Accumulate body data from an HTTP/3 data frame into a composite buffer.
add(RecordedMessage) - Method in class org.mockserver.async.subscribe.BoundedMessageStore
Add a message to the store.
AltSvcHeaderHandler - Class in org.mockserver.netty.unification
Outbound handler that adds an Alt-Svc header to responses served over the TCP (HTTP/1.1 and HTTP/2) paths when HTTP/3 is enabled.
AltSvcHeaderHandler(int, long) - Constructor for class org.mockserver.netty.unification.AltSvcHeaderHandler
 
applyIfEnabled(ServerBootstrap, Configuration) - Static method in class org.mockserver.netty.proxy.MockServerIpTransparentHelper
Applies the IP_TRANSPARENT channel option to the server bootstrap if TPROXY mode is enabled in configuration and the epoll transport is available.
applySecurity(Properties, KafkaSecurity) - Static method in class org.mockserver.async.security.KafkaSecurityProperties
Apply security settings to the given Kafka client properties.
AsyncApiChannel - Class in org.mockserver.async.asyncapi
Represents a single channel from an AsyncAPI specification, with its name, zero or more message payload examples, and optional publish-time bindings (MQTT qos/retain, Kafka key).
AsyncApiChannel(String, List<JsonNode>, JsonNode) - Constructor for class org.mockserver.async.asyncapi.AsyncApiChannel
Backward-compatible constructor — no bindings.
AsyncApiChannel(String, List<JsonNode>, JsonNode, Integer, Boolean, String) - Constructor for class org.mockserver.async.asyncapi.AsyncApiChannel
Full constructor with optional binding fields.
AsyncApiChannel(String, List<JsonNode>, JsonNode, Integer, Boolean, String, List<AsyncApiMessage>) - Constructor for class org.mockserver.async.asyncapi.AsyncApiChannel
Full constructor with optional binding fields and explicit multi-message list.
AsyncApiChannel(String, List<JsonNode>, JsonNode, Integer, Boolean, String, List<AsyncApiMessage>, String) - Constructor for class org.mockserver.async.asyncapi.AsyncApiChannel
Full constructor with optional binding fields, explicit multi-message list, and correlation ID location for single-message channels.
AsyncApiControlPlaneImpl - Class in org.mockserver.async.controlplane
Implementation of AsyncApiControlPlane that lives in the mockserver-async module and is registered into the core's AsyncApiControlPlaneRegistry at server startup.
AsyncApiControlPlaneImpl() - Constructor for class org.mockserver.async.controlplane.AsyncApiControlPlaneImpl
 
AsyncApiMessage - Class in org.mockserver.async.asyncapi
Represents a single message definition within an AsyncAPI channel.
AsyncApiMessage(String, JsonNode, List<JsonNode>, String) - Constructor for class org.mockserver.async.asyncapi.AsyncApiMessage
Backward-compatible constructor — no correlation ID.
AsyncApiMessage(String, JsonNode, List<JsonNode>, String, String) - Constructor for class org.mockserver.async.asyncapi.AsyncApiMessage
Full constructor with correlation ID location.
AsyncApiMockOrchestrator - Class in org.mockserver.async
Orchestrates publishing of example messages derived from an AsyncAPI spec to a message broker via a MessagePublisher.
AsyncApiMockOrchestrator(AsyncApiSpec, MessagePublisher) - Constructor for class org.mockserver.async.AsyncApiMockOrchestrator
 
AsyncApiMockOrchestrator(AsyncApiSpec, MessagePublisher, MessageExampleGenerator) - Constructor for class org.mockserver.async.AsyncApiMockOrchestrator
Constructor for use with a custom generator (used by the control-plane implementation and tests).
AsyncApiParser - Class in org.mockserver.async.asyncapi
Parses an AsyncAPI 2.x or 3.x document (JSON or YAML) into an AsyncApiSpec.
AsyncApiParser() - Constructor for class org.mockserver.async.asyncapi.AsyncApiParser
 
AsyncApiSchemaValidator - Class in org.mockserver.async.validation
Validates JSON payloads against an AsyncAPI channel's JSON Schema definition, reusing JsonSchemaValidator from mockserver-core (which uses the com.networknt:json-schema-validator library under the hood).
AsyncApiSchemaValidator() - Constructor for class org.mockserver.async.validation.AsyncApiSchemaValidator
 
AsyncApiSchemaValidator(MockServerLogger) - Constructor for class org.mockserver.async.validation.AsyncApiSchemaValidator
Constructor accepting an external logger instance, consistent with the codebase pattern of injecting or per-instance loggers.
AsyncApiSchemaValidator.ValidationResult - Class in org.mockserver.async.validation
Result of a schema validation.
AsyncApiSpec - Class in org.mockserver.async.asyncapi
A parsed AsyncAPI specification containing the channels and their message definitions.
AsyncApiSpec(String, String, List<AsyncApiChannel>) - Constructor for class org.mockserver.async.asyncapi.AsyncApiSpec
 
authority() - Method in class org.mockserver.netty.http3.Http3RequestBridge.ParsedHeaders
 

B

BinaryRequestProxyingHandler - Class in org.mockserver.netty.proxy
 
BinaryRequestProxyingHandler(Configuration, MockServerLogger, Scheduler, NettyHttpClient, HttpState) - Constructor for class org.mockserver.netty.proxy.BinaryRequestProxyingHandler
 
bindServerPorts(List<Integer>) - Method in class org.mockserver.lifecycle.LifeCycle
 
bossGroup - Variable in class org.mockserver.lifecycle.LifeCycle
 
BoundedMessageStore - Class in org.mockserver.async.subscribe
A thread-safe, bounded FIFO store for RecordedMessage instances.
BoundedMessageStore() - Constructor for class org.mockserver.async.subscribe.BoundedMessageStore
 
BoundedMessageStore(int) - Constructor for class org.mockserver.async.subscribe.BoundedMessageStore
 
build() - Method in class org.mockserver.async.security.KafkaSecurity.Builder
 
build() - Method in class org.mockserver.async.security.MqttSecurity.Builder
 
buildConnectOptions(MqttSecurity) - Static method in class org.mockserver.async.security.MqttSecurityOptions
Build connect options with security settings applied.
buildDataFrame(byte[]) - Static method in class org.mockserver.netty.http3.GrpcHttp3Adapter
Build an HTTP/3 DATA frame from gRPC-framed bytes.
builder() - Static method in class org.mockserver.async.security.KafkaSecurity
 
builder() - Static method in class org.mockserver.async.security.MqttSecurity
 
buildInitialHeadersFrame() - Static method in class org.mockserver.netty.http3.GrpcHttp3Adapter
Build the initial HTTP/3 HEADERS frame for a gRPC response.
buildTrailersOnlyFrame(String, String) - Static method in class org.mockserver.netty.http3.GrpcHttp3Adapter
Build a "trailers-only" HTTP/3 HEADERS frame that combines :status, content-type, and grpc-status/grpc-message in a single HEADERS frame (no DATA frame follows).
buildTrailingHeadersFrame(String, String) - Static method in class org.mockserver.netty.http3.GrpcHttp3Adapter
Build the trailing HTTP/3 HEADERS frame for a gRPC response.

C

CallbackWebSocketServerHandler - Class in org.mockserver.netty.websocketregistry
 
CallbackWebSocketServerHandler(HttpState) - Constructor for class org.mockserver.netty.websocketregistry.CallbackWebSocketServerHandler
 
callTool(String, JsonNode) - Method in class org.mockserver.netty.mcp.McpToolRegistry
 
channelActive(ChannelHandlerContext) - Method in class org.mockserver.netty.proxy.relay.DownstreamProxyRelayHandler
 
channelActive(ChannelHandlerContext) - Method in class org.mockserver.netty.proxy.relay.UpstreamProxyRelayHandler
 
channelActive(ChannelHandlerContext) - Method in class org.mockserver.netty.proxy.TransparentProxyHandler
 
channelInactive(ChannelHandlerContext) - Method in class org.mockserver.dashboard.DashboardWebSocketHandler
 
channelInactive(ChannelHandlerContext) - Method in class org.mockserver.netty.grpc.GrpcBidiStreamHandler
Handles channel deactivation (client disconnect, connection closed, abandoned stream).
channelInactive(ChannelHandlerContext) - Method in class org.mockserver.netty.http3.Http3ConnectUdpHandler
 
channelInactive(ChannelHandlerContext) - Method in class org.mockserver.netty.http3.Http3MockServerHandler
 
channelInactive(ChannelHandlerContext) - Method in class org.mockserver.netty.proxy.relay.DownstreamProxyRelayHandler
 
channelInactive(ChannelHandlerContext) - Method in class org.mockserver.netty.proxy.relay.UpstreamProxyRelayHandler
 
channelInputClosed(ChannelHandlerContext) - Method in class org.mockserver.netty.http3.Http3MockServerHandler
 
channelRead(ChannelHandlerContext, Http3DataFrame) - Method in class org.mockserver.netty.http3.Http3MockServerHandler
 
channelRead(ChannelHandlerContext, Http3HeadersFrame) - Method in class org.mockserver.netty.http3.Http3MockServerHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class org.mockserver.dashboard.DashboardWebSocketHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class org.mockserver.netty.grpc.GrpcBidiReflectionHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class org.mockserver.netty.grpc.GrpcBidiRouterHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class org.mockserver.netty.grpc.GrpcBidiStreamHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class org.mockserver.netty.http3.Http3ConnectUdpHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class org.mockserver.netty.mcp.McpStreamableHttpHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class org.mockserver.netty.proxy.ProxyProtocolOriginalDestinationHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class org.mockserver.netty.unification.TcpChaosHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class org.mockserver.netty.unification.TraceContextHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class org.mockserver.netty.websocketregistry.CallbackWebSocketServerHandler
 
channelRead0(ChannelHandlerContext, ByteBuf) - Method in class org.mockserver.netty.proxy.BinaryRequestProxyingHandler
 
channelRead0(ChannelHandlerContext, DatagramDnsQuery) - Method in class org.mockserver.netty.dns.DnsRequestHandler
 
channelRead0(ChannelHandlerContext, FullHttpRequest) - Method in class org.mockserver.netty.proxy.relay.UpstreamProxyRelayHandler
 
channelRead0(ChannelHandlerContext, HttpObject) - Method in class org.mockserver.netty.proxy.relay.DownstreamProxyRelayHandler
 
channelRead0(ChannelHandlerContext, HttpObject) - Method in class org.mockserver.netty.unification.EarlyMatchingHandler
 
channelRead0(ChannelHandlerContext, Socks4CommandRequest) - Method in class org.mockserver.netty.proxy.socks.Socks4ProxyHandler
 
channelRead0(ChannelHandlerContext, Socks5Message) - Method in class org.mockserver.netty.proxy.socks.Socks5ProxyHandler
 
channelRead0(ChannelHandlerContext, HttpRequest) - Method in class org.mockserver.netty.grpc.GrpcToHttpRequestHandler
 
channelRead0(ChannelHandlerContext, HttpRequest) - Method in class org.mockserver.netty.HttpRequestHandler
 
channelRead0(ChannelHandlerContext, T) - Method in class org.mockserver.netty.proxy.relay.RelayConnectHandler
 
channelReadComplete(ChannelHandlerContext) - Method in class org.mockserver.dashboard.DashboardWebSocketHandler
 
channelReadComplete(ChannelHandlerContext) - Method in class org.mockserver.netty.HttpRequestHandler
 
channelReadComplete(ChannelHandlerContext) - Method in class org.mockserver.netty.mcp.McpStreamableHttpHandler
 
channelReadComplete(ChannelHandlerContext) - Method in class org.mockserver.netty.proxy.BinaryRequestProxyingHandler
 
channelReadComplete(ChannelHandlerContext) - Method in class org.mockserver.netty.proxy.socks.SocksProxyHandler
 
channelReadComplete(ChannelHandlerContext) - Method in class org.mockserver.netty.websocketregistry.CallbackWebSocketServerHandler
 
clear() - Method in class org.mockserver.async.subscribe.BoundedMessageStore
Clear all messages.
ClientAndServer - Class in org.mockserver.integration
 
ClientAndServer(Integer...) - Constructor for class org.mockserver.integration.ClientAndServer
 
ClientAndServer(String, Integer, Integer...) - Constructor for class org.mockserver.integration.ClientAndServer
 
ClientAndServer(Configuration, Integer...) - Constructor for class org.mockserver.integration.ClientAndServer
 
ClientAndServer(Configuration, String, Integer, Integer...) - Constructor for class org.mockserver.integration.ClientAndServer
 
close() - Method in class org.mockserver.async.publish.KafkaMessagePublisher
 
close() - Method in interface org.mockserver.async.publish.MessagePublisher
Release any resources held by this publisher (producer connections, etc.).
close() - Method in class org.mockserver.async.publish.MqttMessagePublisher
 
close() - Method in class org.mockserver.async.subscribe.KafkaMessageSubscriber
 
close() - Method in interface org.mockserver.async.subscribe.MessageSubscriber
Clear all recorded messages and stop all subscriptions.
close() - Method in class org.mockserver.async.subscribe.MqttMessageSubscriber
 
close() - Method in class org.mockserver.lifecycle.LifeCycle
 
close(ChannelHandlerContext, ChannelPromise) - Method in class org.mockserver.netty.unification.TcpChaosHandler
 
CompositeOriginalDestinationResolver - Class in org.mockserver.netty.proxy
A composite TransparentProxyHandler.OriginalDestinationResolver that tries an ordered chain of resolution strategies and returns the first non-null result.
CompositeOriginalDestinationResolver(List<TransparentProxyHandler.OriginalDestinationResolver>) - Constructor for class org.mockserver.netty.proxy.CompositeOriginalDestinationResolver
Creates a composite resolver with the given ordered strategies.
configuration - Variable in class org.mockserver.netty.proxy.socks.SocksProxyHandler
 
ConntrackOriginalDestinationResolver - Class in org.mockserver.netty.proxy
Resolves the original destination of a transparently intercepted TCP connection by reading the Linux conntrack table (/proc/net/nf_conntrack).
ConntrackOriginalDestinationResolver() - Constructor for class org.mockserver.netty.proxy.ConntrackOriginalDestinationResolver
 
createSession() - Method in class org.mockserver.netty.mcp.McpSessionManager
 

D

DashboardHandler - Class in org.mockserver.dashboard
 
DashboardHandler() - Constructor for class org.mockserver.dashboard.DashboardHandler
 
DashboardLogEntryDTO - Class in org.mockserver.dashboard.model
 
DashboardLogEntryDTO(String, String, String, LogEntry.LogMessageType) - Constructor for class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
DashboardLogEntryDTO(LogEntry) - Constructor for class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
DashboardLogEntryDTOGroup - Class in org.mockserver.dashboard.model
 
DashboardLogEntryDTOGroup(DescriptionProcessor) - Constructor for class org.mockserver.dashboard.model.DashboardLogEntryDTOGroup
 
DashboardLogEntryDTOGroupSerializer - Class in org.mockserver.dashboard.serializers
 
DashboardLogEntryDTOGroupSerializer() - Constructor for class org.mockserver.dashboard.serializers.DashboardLogEntryDTOGroupSerializer
 
DashboardLogEntryDTOSerializer - Class in org.mockserver.dashboard.serializers
 
DashboardLogEntryDTOSerializer() - Constructor for class org.mockserver.dashboard.serializers.DashboardLogEntryDTOSerializer
 
DashboardWebSocketHandler - Class in org.mockserver.dashboard
 
DashboardWebSocketHandler(HttpState, boolean, boolean) - Constructor for class org.mockserver.dashboard.DashboardWebSocketHandler
 
decode(ChannelHandlerContext, ByteBuf, List<Object>) - Method in class org.mockserver.netty.unification.PortUnificationHandler
 
DEFAULT_MAX_RECORDED_MESSAGES - Static variable in class org.mockserver.async.subscribe.BoundedMessageStore
Default maximum number of recorded messages per channel.
DEFAULT_PROTOCOL_VERSION - Static variable in class org.mockserver.netty.mcp.McpContractTest
Default MCP protocol version advertised by the client when the caller supplies none.
defaultChain() - Static method in class org.mockserver.netty.proxy.CompositeOriginalDestinationResolver
Returns the default chain without TPROXY or eBPF: [SO_ORIGINAL_DST, conntrack, dns-intent].
defaultChain(Configuration) - Static method in class org.mockserver.netty.proxy.CompositeOriginalDestinationResolver
Returns the default chain: [TPROXY, eBPF, SO_ORIGINAL_DST, conntrack, dns-intent].
description(Object) - Method in class org.mockserver.dashboard.serializers.DescriptionProcessor
 
description(Object, String) - Method in class org.mockserver.dashboard.serializers.DescriptionProcessor
 
Description - Interface in org.mockserver.dashboard.serializers
 
DescriptionProcessor - Class in org.mockserver.dashboard.serializers
 
DescriptionProcessor() - Constructor for class org.mockserver.dashboard.serializers.DescriptionProcessor
 
DescriptionSerializer - Class in org.mockserver.dashboard.serializers
 
DescriptionSerializer() - Constructor for class org.mockserver.dashboard.serializers.DescriptionSerializer
 
disableSslDownstream(Channel) - Static method in class org.mockserver.netty.unification.PortUnificationHandler
 
DnsIntentOriginalDestinationResolver - Class in org.mockserver.netty.proxy
Resolves the original destination of a transparently intercepted TCP connection by consulting the DnsIntentRegistry — a record of hostname-to-IP answers that MockServer's DNS server has handed out.
DnsIntentOriginalDestinationResolver() - Constructor for class org.mockserver.netty.proxy.DnsIntentOriginalDestinationResolver
 
DnsRequestHandler - Class in org.mockserver.netty.dns
 
DnsRequestHandler(MockServerLogger, HttpState) - Constructor for class org.mockserver.netty.dns.DnsRequestHandler
 
DownstreamProxyRelayHandler - Class in org.mockserver.netty.proxy.relay
 
DownstreamProxyRelayHandler(MockServerLogger, Channel) - Constructor for class org.mockserver.netty.proxy.relay.DownstreamProxyRelayHandler
 

E

EarlyMatchingHandler - Class in org.mockserver.netty.unification
Inspects the incoming Netty HttpRequest (headers only) and, when a matching expectation is configured with respondBeforeBody=true, dispatches the response and closes the connection before HttpObjectAggregator buffers the request body.
EarlyMatchingHandler(Configuration, HttpState, HttpActionHandler, boolean) - Constructor for class org.mockserver.netty.unification.EarlyMatchingHandler
 
EarlyNettyResponseWriter - Class in org.mockserver.netty.responsewriter
Response writer for the early-dispatch path.
EarlyNettyResponseWriter(Configuration, MockServerLogger, ChannelHandlerContext, Scheduler) - Constructor for class org.mockserver.netty.responsewriter.EarlyNettyResponseWriter
 
EbpfOriginalDestinationResolver - Class in org.mockserver.netty.proxy
Resolves the original destination of a transparently intercepted TCP connection by reading a pinned BPF hash map populated by an external eBPF program.
EbpfOriginalDestinationResolver(Configuration) - Constructor for class org.mockserver.netty.proxy.EbpfOriginalDestinationResolver
 
empty() - Static method in class org.mockserver.async.security.KafkaSecurity
Returns a new empty (no-op) security instance.
empty() - Static method in class org.mockserver.async.security.MqttSecurity
Returns a new empty (no-op) security instance.
enableSslDownstream(Channel) - Static method in class org.mockserver.netty.unification.PortUnificationHandler
 
enableSslUpstreamAndDownstream(Channel) - Static method in class org.mockserver.netty.unification.PortUnificationHandler
 
encode(ChannelHandlerContext, DefaultHttpMessage, List) - Method in class org.mockserver.netty.unification.HttpContentLengthRemover
 
encode(ChannelHandlerContext, HttpResponse, List<Object>) - Method in class org.mockserver.netty.grpc.GrpcToHttpResponseHandler
 
error(Object, int, String) - Static method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcResponse
 
error(Object, int, String, JsonNode) - Static method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcResponse
 
errorResponse(GrpcStatusMapper.GrpcStatusCode, String) - Static method in class org.mockserver.netty.http3.GrpcHttp3Adapter
Build an error response (trailers-only pattern) for gRPC over HTTP/3.
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.dashboard.DashboardWebSocketHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.netty.dns.DnsRequestHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.netty.grpc.GrpcBidiReflectionHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.netty.grpc.GrpcBidiStreamHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.netty.http3.Http3ConnectUdpHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.netty.http3.Http3MockServerHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.netty.HttpRequestHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.netty.mcp.McpStreamableHttpHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.netty.proxy.BinaryRequestProxyingHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.netty.proxy.relay.DownstreamProxyRelayHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.netty.proxy.relay.RelayConnectHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.netty.proxy.relay.UpstreamProxyRelayHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.netty.proxy.socks.SocksProxyHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.netty.unification.EarlyMatchingHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.netty.unification.PortUnificationHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.mockserver.netty.websocketregistry.CallbackWebSocketServerHandler
 
ExchangeResult(int, String, JsonNode, String) - Constructor for class org.mockserver.netty.mcp.McpContractTest.ExchangeResult
 
ExpectationsListener - Interface in org.mockserver.lifecycle
 

F

failureResponse(Object) - Method in class org.mockserver.netty.proxy.connect.HttpConnectHandler
 
failureResponse(Object) - Method in class org.mockserver.netty.proxy.relay.RelayConnectHandler
 
failureResponse(Object) - Method in class org.mockserver.netty.proxy.socks.Socks4ConnectHandler
 
failureResponse(Object) - Method in class org.mockserver.netty.proxy.socks.Socks5ConnectHandler
 
fieldsExcludedFromEqualsAndHashCode() - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
forwardConnection(ChannelHandlerContext, ChannelHandler, String, int) - Method in class org.mockserver.netty.proxy.socks.SocksProxyHandler
 

G

generateExample(AsyncApiChannel) - Method in class org.mockserver.async.MessageExampleGenerator
Generate an example payload for a single channel.
generateExample(AsyncApiMessage) - Method in class org.mockserver.async.MessageExampleGenerator
Generate an example payload for a single AsyncApiMessage.
generateExamples(AsyncApiSpec) - Method in class org.mockserver.async.MessageExampleGenerator
Generate example payloads for all channels in the spec.
getActionHandler() - Method in class org.mockserver.netty.MockServerUnificationInitializer
 
getActiveConnectionCount() - Method in class org.mockserver.netty.http3.Http3Server
Returns the current number of active QUIC (HTTP/3) connections.
getAllRecordedMessages() - Method in class org.mockserver.async.subscribe.KafkaMessageSubscriber
 
getAllRecordedMessages() - Method in interface org.mockserver.async.subscribe.MessageSubscriber
Return all messages recorded across all channels.
getAllRecordedMessages() - Method in class org.mockserver.async.subscribe.MqttMessageSubscriber
 
getArguments() - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
getAsyncApiVersion() - Method in class org.mockserver.async.asyncapi.AsyncApiSpec
The AsyncAPI version string (e.g. "2.6.0" or "3.0.0").
getBecause() - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
getBody() - Method in class org.mockserver.netty.mcp.McpContractTest.ExchangeResult
 
getBody() - Method in class org.mockserver.netty.mcp.McpRequestProcessor.McpResult
JSON body bytes, or empty for no-body responses.
getChannel() - Method in class org.mockserver.async.subscribe.RecordedMessage
 
getChannels() - Method in class org.mockserver.async.asyncapi.AsyncApiSpec
All channels extracted from the spec.
getCheck() - Method in class org.mockserver.netty.mcp.McpContractTest.CheckResult
 
getChecks() - Method in class org.mockserver.netty.mcp.McpContractTest.Report
 
getClientRegistry() - Method in class org.mockserver.dashboard.DashboardWebSocketHandler
 
getCode() - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcError
 
getCorrelationId() - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
getCorrelationIdLocation() - Method in class org.mockserver.async.asyncapi.AsyncApiMessage
The AsyncAPI correlation ID runtime expression (e.g.
getCreatedAt() - Method in class org.mockserver.netty.mcp.McpSession
 
getData() - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcError
 
getDescription() - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
getDescription() - Method in class org.mockserver.netty.mcp.McpResourceRegistry.ResourceDefinition
 
getDescription() - Method in class org.mockserver.netty.mcp.McpToolRegistry.ToolDefinition
 
getDescriptionProcessor() - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTOGroup
 
getDetail() - Method in class org.mockserver.netty.mcp.McpContractTest.CheckResult
 
getDnsPort() - Method in class org.mockserver.netty.MockServer
 
getError() - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcResponse
 
getErrors() - Method in class org.mockserver.async.validation.AsyncApiSchemaValidator.ValidationResult
 
getEventLoopGroup() - Method in class org.mockserver.lifecycle.LifeCycle
 
getExecutor() - Method in class org.mockserver.netty.mcp.McpSessionManager
Returns the executor used for MCP request processing.
getHandler() - Method in class org.mockserver.netty.mcp.McpToolRegistry.ToolDefinition
 
getHeaders() - Method in class org.mockserver.async.publish.PublishOptions
 
getHeaders() - Method in class org.mockserver.async.subscribe.RecordedMessage
 
getHttp3ActiveConnectionCount() - Method in class org.mockserver.netty.MockServer
Returns the current number of active HTTP/3 (QUIC) connections, or 0 if the HTTP/3 server is not running.
getHttp3Port() - Method in class org.mockserver.netty.MockServer
Returns the bound HTTP/3 (QUIC) UDP port, or -1 if the HTTP/3 server is not running.
getHttpRequest() - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
getHttpRequests() - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
getHttpResponse() - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
getId() - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
getId() - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcRequest
 
getId() - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcResponse
 
getInetSocketAddress() - Method in class org.mockserver.netty.unification.PortBinding
 
getInputSchema() - Method in class org.mockserver.netty.mcp.McpToolRegistry.ToolDefinition
 
getJsonrpc() - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcNotification
 
getJsonrpc() - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcRequest
 
getJsonrpc() - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcResponse
 
getKafkaKey() - Method in class org.mockserver.async.asyncapi.AsyncApiChannel
Kafka message key from message-level bindings, or null if not derivable.
getKafkaKey() - Method in class org.mockserver.async.asyncapi.AsyncApiMessage
Kafka message key from message-level bindings, or null if not derivable.
getKey() - Method in class org.mockserver.async.publish.PublishOptions
 
getKey() - Method in class org.mockserver.async.subscribe.RecordedMessage
 
getLastAccessedAt() - Method in class org.mockserver.netty.mcp.McpSession
 
getLocalPort() - Method in class org.mockserver.integration.ClientAndServer
 
getLocalPort() - Method in class org.mockserver.lifecycle.LifeCycle
 
getLocalPorts() - Method in class org.mockserver.integration.ClientAndServer
 
getLocalPorts() - Method in class org.mockserver.lifecycle.LifeCycle
 
getLogEntryDTOS() - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTOGroup
 
getMaxHttpRequestLength() - Method in class org.mockserver.dashboard.serializers.DescriptionProcessor
 
getMaxLogEventLength() - Method in class org.mockserver.dashboard.serializers.DescriptionProcessor
 
getMaxOpenAPILength() - Method in class org.mockserver.dashboard.serializers.DescriptionProcessor
 
getMaxOpenAPIObjectLength() - Method in class org.mockserver.dashboard.serializers.DescriptionProcessor
 
getMcpSessionManager() - Method in class org.mockserver.netty.MockServerUnificationInitializer
 
getMessage() - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcError
 
getMessageFormat() - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
getMessages() - Method in class org.mockserver.async.asyncapi.AsyncApiChannel
Returns all messages for this channel as a uniform list.
getMethod() - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcNotification
 
getMethod() - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcRequest
 
getMimeType() - Method in class org.mockserver.netty.mcp.McpResourceRegistry.ResourceDefinition
 
getMqttQos() - Method in class org.mockserver.async.asyncapi.AsyncApiChannel
MQTT QoS level (0, 1, or 2) from operation-level bindings, or null if not specified.
getMqttRetain() - Method in class org.mockserver.async.asyncapi.AsyncApiChannel
MQTT retain flag from operation-level bindings, or null if not specified.
getName() - Method in class org.mockserver.async.asyncapi.AsyncApiChannel
 
getName() - Method in class org.mockserver.async.asyncapi.AsyncApiMessage
The message name, or null for anonymous / unnamed messages.
getName() - Method in class org.mockserver.netty.mcp.McpResourceRegistry.ResourceDefinition
 
getName() - Method in class org.mockserver.netty.mcp.McpToolRegistry.ToolDefinition
 
getOriginalDestination(Channel) - Static method in class org.mockserver.netty.proxy.SoOriginalDstHelper
Attempts to read the original destination of the connection associated with the given Netty channel.
getParams() - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcNotification
 
getParams() - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcRequest
 
getPassword() - Method in class org.mockserver.async.security.MqttSecurity
 
getPayload() - Method in class org.mockserver.async.subscribe.RecordedMessage
 
getPayloadExamples() - Method in class org.mockserver.async.asyncapi.AsyncApiChannel
Explicit examples found in the spec for the channel's message payload.
getPayloadExamples() - Method in class org.mockserver.async.asyncapi.AsyncApiMessage
Explicit examples found in the spec for this message's payload.
getPayloadSchema() - Method in class org.mockserver.async.asyncapi.AsyncApiChannel
The JSON Schema describing the payload (may be null if not present).
getPayloadSchema() - Method in class org.mockserver.async.asyncapi.AsyncApiMessage
The JSON Schema describing the payload (may be null if not present).
getPort() - Method in class org.mockserver.integration.ClientAndServer
 
getPort() - Method in class org.mockserver.lifecycle.LifeCycle
Deprecated.
use getLocalPort instead of getPort
getPort() - Method in class org.mockserver.netty.http3.Http3Server
Returns the bound UDP port, or -1 if not started.
getPortExtension() - Method in class org.mockserver.netty.unification.PortBinding
 
getProtocolVersion() - Method in class org.mockserver.netty.mcp.McpContractTest.Report
 
getQos() - Method in class org.mockserver.async.publish.MqttMessagePublisher
 
getQos() - Method in class org.mockserver.async.publish.PublishOptions
 
getRecordedMessages(String) - Method in class org.mockserver.async.subscribe.KafkaMessageSubscriber
 
getRecordedMessages(String) - Method in interface org.mockserver.async.subscribe.MessageSubscriber
Return all messages recorded on the given channel since subscription started (or since the last reset).
getRecordedMessages(String) - Method in class org.mockserver.async.subscribe.MqttMessageSubscriber
 
getRemoteAddress() - Method in class org.mockserver.integration.ClientAndServer
 
getRemoteAddress() - Method in class org.mockserver.netty.MockServer
 
getResources() - Method in class org.mockserver.netty.mcp.McpResourceRegistry
 
getResult() - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcResponse
 
getRetain() - Method in class org.mockserver.async.publish.PublishOptions
 
getSaslJaasConfig() - Method in class org.mockserver.async.security.KafkaSecurity
 
getSaslMechanism() - Method in class org.mockserver.async.security.KafkaSecurity
 
getScheduler() - Method in class org.mockserver.lifecycle.LifeCycle
 
getSecurityProtocol() - Method in class org.mockserver.async.security.KafkaSecurity
 
getServerName() - Method in class org.mockserver.netty.mcp.McpContractTest.Report
 
getServerVersion() - Method in class org.mockserver.netty.mcp.McpContractTest.Report
 
getSession(String) - Method in class org.mockserver.netty.mcp.McpSessionManager
 
getSessionId() - Method in class org.mockserver.netty.mcp.McpContractTest.ExchangeResult
 
getSessionId() - Method in class org.mockserver.netty.mcp.McpRequestProcessor.McpResult
Non-null only for initialize responses.
getSessionId() - Method in class org.mockserver.netty.mcp.McpSession
 
getSessionManager() - Method in class org.mockserver.netty.mcp.McpRequestProcessor
Returns the session manager used by this processor.
getSslKeyPassword() - Method in class org.mockserver.async.security.KafkaSecurity
 
getSslKeystoreLocation() - Method in class org.mockserver.async.security.KafkaSecurity
 
getSslKeystorePassword() - Method in class org.mockserver.async.security.KafkaSecurity
 
getSslProperties() - Method in class org.mockserver.async.security.MqttSecurity
Returns the SSL properties to pass through to Paho's MqttConnectOptions.setSSLProperties().
getSslTruststoreLocation() - Method in class org.mockserver.async.security.KafkaSecurity
 
getSslTruststorePassword() - Method in class org.mockserver.async.security.KafkaSecurity
 
getStatusCode() - Method in class org.mockserver.netty.mcp.McpContractTest.CheckResult
 
getStatusCode() - Method in class org.mockserver.netty.mcp.McpContractTest.ExchangeResult
 
getStatusCode() - Method in class org.mockserver.netty.mcp.McpRequestProcessor.McpResult
 
getStyle() - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
getThrowable() - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
getTimestamp() - Method in class org.mockserver.async.subscribe.RecordedMessage
 
getTimestamp() - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
getTitle() - Method in class org.mockserver.async.asyncapi.AsyncApiSpec
The title from info.title, or null if absent.
getTools() - Method in class org.mockserver.netty.mcp.McpToolRegistry
 
getTransportError() - Method in class org.mockserver.netty.mcp.McpContractTest.ExchangeResult
 
getType() - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
getUri() - Method in class org.mockserver.netty.mcp.McpResourceRegistry.ResourceDefinition
 
getUsername() - Method in class org.mockserver.async.security.MqttSecurity
 
getValidationErrors() - Method in class org.mockserver.netty.mcp.McpContractTest.CheckResult
 
GrpcBidiReflectionHandler - Class in org.mockserver.netty.grpc
Per-stream handler for serving gRPC Server Reflection interactively over the bidirectional-streaming multiplex pipeline.
GrpcBidiReflectionHandler(GrpcServerReflectionHandler) - Constructor for class org.mockserver.netty.grpc.GrpcBidiReflectionHandler
Creates a new per-stream bidi reflection handler.
GrpcBidiRouterHandler - Class in org.mockserver.netty.grpc
Per-stream router that inspects the first Http2HeadersFrame to determine whether this stream is a true bidirectional-streaming gRPC method.
GrpcBidiRouterHandler(Configuration, GrpcProtoDescriptorStore, MockServerLogger, boolean, Certificate[], CallbackWebSocketServerHandler, DashboardWebSocketHandler, McpStreamableHttpHandler, TraceContextHandler, AltSvcHeaderHandler, GrpcToHttpResponseHandler, GrpcToHttpRequestHandler, HttpRequestHandler) - Constructor for class org.mockserver.netty.grpc.GrpcBidiRouterHandler
 
GrpcBidiRouterHandler(Configuration, GrpcProtoDescriptorStore, MockServerLogger, boolean, Certificate[], CallbackWebSocketServerHandler, DashboardWebSocketHandler, McpStreamableHttpHandler, TraceContextHandler, AltSvcHeaderHandler, GrpcToHttpResponseHandler, GrpcToHttpRequestHandler, HttpRequestHandler, HttpState) - Constructor for class org.mockserver.netty.grpc.GrpcBidiRouterHandler
 
GrpcBidiStreamHandler - Class in org.mockserver.netty.grpc
Per-stream handler for true bidirectional gRPC streaming.
GrpcBidiStreamHandler(Descriptors.MethodDescriptor, GrpcJsonMessageConverter, Function<String, List<String>>) - Constructor for class org.mockserver.netty.grpc.GrpcBidiStreamHandler
Phase 3a constructor: function-based responder (backward compatible).
GrpcBidiStreamHandler(Descriptors.MethodDescriptor, GrpcJsonMessageConverter, GrpcBidiResponse) - Constructor for class org.mockserver.netty.grpc.GrpcBidiStreamHandler
Phase 3b constructor: GrpcBidiResponse-driven (without completion callback).
GrpcBidiStreamHandler(Descriptors.MethodDescriptor, GrpcJsonMessageConverter, GrpcBidiResponse, Runnable) - Constructor for class org.mockserver.netty.grpc.GrpcBidiStreamHandler
Phase 3b constructor: GrpcBidiResponse-driven with completion callback.
grpcFrameBytes() - Method in class org.mockserver.netty.http3.GrpcHttp3Adapter.GrpcResponseParts
 
GrpcHttp3Adapter - Class in org.mockserver.netty.http3
Adapter that bridges gRPC request/response framing for the HTTP/3 path.
GrpcHttp3Adapter.GrpcResponseParts - Class in org.mockserver.netty.http3
Holds the parts of a gRPC response for HTTP/3 framing: the gRPC-framed body bytes, the grpc-status value, and an optional grpc-message.
grpcMessage() - Method in class org.mockserver.netty.http3.GrpcHttp3Adapter.GrpcResponseParts
 
GrpcMultiplexChildInitializer - Class in org.mockserver.netty.grpc
Per-stream child initializer used with Http2MultiplexHandler when the gRPC bidi-streaming multiplex pipeline is enabled.
GrpcMultiplexChildInitializer(Configuration, LifeCycle, HttpState, HttpActionHandler, MockServerLogger, McpSessionManager, boolean, Certificate[]) - Constructor for class org.mockserver.netty.grpc.GrpcMultiplexChildInitializer
 
GrpcResponseParts(byte[], String, String) - Constructor for class org.mockserver.netty.http3.GrpcHttp3Adapter.GrpcResponseParts
 
grpcStatus() - Method in class org.mockserver.netty.http3.GrpcHttp3Adapter.GrpcResponseParts
 
GrpcToHttpRequestHandler - Class in org.mockserver.netty.grpc
 
GrpcToHttpRequestHandler(MockServerLogger, GrpcProtoDescriptorStore) - Constructor for class org.mockserver.netty.grpc.GrpcToHttpRequestHandler
 
GrpcToHttpRequestHandler(MockServerLogger, GrpcProtoDescriptorStore, GrpcHealthCheckHandler) - Constructor for class org.mockserver.netty.grpc.GrpcToHttpRequestHandler
 
GrpcToHttpRequestHandler(MockServerLogger, GrpcProtoDescriptorStore, GrpcHealthCheckHandler, GrpcChaosRegistry, HttpQuotaRegistry) - Constructor for class org.mockserver.netty.grpc.GrpcToHttpRequestHandler
 
GrpcToHttpResponseHandler - Class in org.mockserver.netty.grpc
 
GrpcToHttpResponseHandler(MockServerLogger, GrpcProtoDescriptorStore) - Constructor for class org.mockserver.netty.grpc.GrpcToHttpResponseHandler
 

H

handleDelete(String) - Method in class org.mockserver.netty.mcp.McpRequestProcessor
Process an MCP DELETE request.
handleGet() - Method in class org.mockserver.netty.mcp.McpRequestProcessor
Process an MCP GET request (currently not supported -- returns 405).
handleOptions(boolean) - Method in class org.mockserver.netty.mcp.McpRequestProcessor
Process an MCP OPTIONS request (CORS preflight or method-not-allowed).
handlePost(String, String) - Method in class org.mockserver.netty.mcp.McpRequestProcessor
Process an MCP POST request.
handlerAdded(ChannelHandlerContext) - Method in class org.mockserver.dashboard.DashboardWebSocketHandler
 
handlerAdded(ChannelHandlerContext) - Method in class org.mockserver.netty.grpc.GrpcBidiReflectionHandler
 
handlerAdded(ChannelHandlerContext) - Method in class org.mockserver.netty.grpc.GrpcBidiStreamHandler
 
handlerAdded(ChannelHandlerContext) - Method in class org.mockserver.netty.MockServerUnificationInitializer
 
handlerRemoved(ChannelHandlerContext) - Method in class org.mockserver.dashboard.DashboardWebSocketHandler
 
handlerRemoved(ChannelHandlerContext) - Method in class org.mockserver.netty.http3.Http3ConnectUdpHandler
 
handlerRemoved(ChannelHandlerContext) - Method in class org.mockserver.netty.http3.Http3MockServerHandler
 
handlerRemoved(ChannelHandlerContext) - Method in class org.mockserver.netty.proxy.ProxyProtocolOriginalDestinationHandler
 
hasBody() - Method in class org.mockserver.netty.http3.GrpcHttp3Adapter.GrpcResponseParts
 
hasBody() - Method in class org.mockserver.netty.mcp.McpRequestProcessor.McpResult
 
hasStarted() - Method in class org.mockserver.integration.ClientAndServer
 
headers() - Method in class org.mockserver.netty.http3.Http3RequestBridge.ParsedHeaders
 
HealthCheck - Class in org.mockserver.cli
 
HealthCheck() - Constructor for class org.mockserver.cli.HealthCheck
 
host - Variable in class org.mockserver.netty.proxy.relay.RelayConnectHandler
 
http2Enabled(Channel) - Static method in class org.mockserver.netty.unification.PortUnificationHandler
 
Http3ConnectUdpHandler - Class in org.mockserver.netty.http3
HTTP/3 CONNECT-UDP (MASQUE, RFC 9298) relay handler.
Http3ConnectUdpHandler() - Constructor for class org.mockserver.netty.http3.Http3ConnectUdpHandler
 
Http3GrpcBidiStreamHandler - Class in org.mockserver.netty.http3
Drives true bidirectional gRPC streaming over a single QUIC bidirectional stream (HTTP/3).
Http3GrpcBidiStreamHandler(ChannelHandlerContext, Descriptors.MethodDescriptor, GrpcJsonMessageConverter, GrpcBidiResponse, Runnable, MockServerLogger) - Constructor for class org.mockserver.netty.http3.Http3GrpcBidiStreamHandler
 
Http3GrpcResponseWriter - Class in org.mockserver.netty.http3
A ResponseWriter that writes gRPC responses over HTTP/3 with correct gRPC wire framing: initial HEADERS (:status=200, content-type=application/grpc), DATA (gRPC length-prefixed message), and trailing HEADERS (grpc-status, grpc-message).
Http3GrpcResponseWriter(Configuration, MockServerLogger, ChannelHandlerContext, GrpcProtoDescriptorStore, String, String) - Constructor for class org.mockserver.netty.http3.Http3GrpcResponseWriter
 
Http3MockServerHandler - Class in org.mockserver.netty.http3
HTTP/3 request stream handler that bridges incoming QUIC requests into MockServer's standard request-processing pipeline (expectation matching, actions, recording, proxy forwarding).
Http3MockServerHandler(Configuration, MockServerLogger, HttpState, HttpActionHandler, Metrics) - Constructor for class org.mockserver.netty.http3.Http3MockServerHandler
 
Http3MockServerHandler(Configuration, MockServerLogger, HttpState, HttpActionHandler, Metrics, McpRequestProcessor) - Constructor for class org.mockserver.netty.http3.Http3MockServerHandler
 
Http3RequestBridge - Class in org.mockserver.netty.http3
Converts between HTTP/3 frames and MockServer's HttpRequest/HttpResponse model.
Http3RequestBridge.ParsedHeaders - Class in org.mockserver.netty.http3
Parsed HTTP/3 pseudo-headers and regular headers.
Http3ResponseWriter - Class in org.mockserver.netty.http3
A ResponseWriter that serialises the MockServer HttpResponse as HTTP/3 frames and writes them to a QUIC stream channel.
Http3ResponseWriter(Configuration, MockServerLogger, ChannelHandlerContext) - Constructor for class org.mockserver.netty.http3.Http3ResponseWriter
 
Http3Server - Class in org.mockserver.netty.http3
HTTP/3 (QUIC) server for MockServer, integrated with the full request pipeline.
Http3Server() - Constructor for class org.mockserver.netty.http3.Http3Server
Legacy constructor for backwards compatibility (echo-only mode).
Http3Server(Configuration, MockServerLogger, HttpState, HttpActionHandler) - Constructor for class org.mockserver.netty.http3.Http3Server
Create an HTTP/3 server wired into MockServer's request pipeline (no MCP).
Http3Server(Configuration, MockServerLogger, HttpState, HttpActionHandler, LifeCycle, McpSessionManager) - Constructor for class org.mockserver.netty.http3.Http3Server
Create an HTTP/3 server wired into MockServer's request pipeline, with MCP support.
HttpConnectHandler - Class in org.mockserver.netty.proxy.connect
 
HttpConnectHandler(Configuration, LifeCycle, MockServerLogger, String, int) - Constructor for class org.mockserver.netty.proxy.connect.HttpConnectHandler
 
HttpContentLengthRemover - Class in org.mockserver.netty.unification
 
HttpContentLengthRemover() - Constructor for class org.mockserver.netty.unification.HttpContentLengthRemover
 
httpEnabled(Channel) - Static method in class org.mockserver.netty.unification.PortUnificationHandler
 
HttpRequestHandler - Class in org.mockserver.netty
 
HttpRequestHandler(Configuration, LifeCycle, HttpState, HttpActionHandler) - Constructor for class org.mockserver.netty.HttpRequestHandler
 
httpState - Variable in class org.mockserver.lifecycle.LifeCycle
 

I

initChannel(Http2StreamChannel) - Method in class org.mockserver.netty.grpc.GrpcMultiplexChildInitializer
 
INTERNAL_ERROR - Static variable in class org.mockserver.netty.mcp.JsonRpcMessage
 
invalid(String) - Static method in class org.mockserver.async.validation.AsyncApiSchemaValidator.ValidationResult
 
INVALID_PARAMS - Static variable in class org.mockserver.netty.mcp.JsonRpcMessage
 
INVALID_REQUEST - Static variable in class org.mockserver.netty.mcp.JsonRpcMessage
 
isEmpty() - Method in class org.mockserver.async.publish.PublishOptions
 
isEmpty() - Method in class org.mockserver.async.security.KafkaSecurity
Returns true when no security fields are set (all null or blank).
isEmpty() - Method in class org.mockserver.async.security.MqttSecurity
Returns true when no security fields are set.
isEnabled() - Method in class org.mockserver.netty.proxy.TransparentProxyInitializer
 
isGrpcRequest(String) - Static method in class org.mockserver.netty.http3.GrpcHttp3Adapter
Detect whether the given content-type indicates a gRPC request.
isHttp2Enabled(Channel) - Static method in class org.mockserver.netty.unification.PortUnificationHandler
 
isHttpEnabled(Channel) - Static method in class org.mockserver.netty.unification.PortUnificationHandler
 
isIdPresent() - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcRequest
 
isInitialized() - Method in class org.mockserver.netty.mcp.McpSession
 
isMcpPath(String) - Static method in class org.mockserver.netty.mcp.McpRequestProcessor
Check if a path matches the MCP endpoint.
isNotification() - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcRequest
 
isPassed() - Method in class org.mockserver.netty.mcp.McpContractTest.CheckResult
 
isPlatformSupported() - Method in class org.mockserver.netty.proxy.EbpfOriginalDestinationResolver
Returns true if the platform supports eBPF map operations: Linux OS, Netty epoll transport, and JNA.
isQuicAvailable() - Static method in class org.mockserver.netty.http3.Http3Server
Check whether the native QUIC transport is available on this platform.
isRunning() - Method in class org.mockserver.integration.ClientAndServer
 
isRunning() - Method in class org.mockserver.lifecycle.LifeCycle
 
isSocks4(ByteBuf, int) - Static method in class org.mockserver.netty.proxy.socks.SocksDetector
 
isSocks5(ByteBuf, int) - Static method in class org.mockserver.netty.proxy.socks.SocksDetector
 
isSslEnabledDownstream(Channel) - Static method in class org.mockserver.netty.unification.PortUnificationHandler
 
isSslEnabledUpstream(Channel) - Static method in class org.mockserver.netty.unification.PortUnificationHandler
 
isSupported() - Static method in class org.mockserver.netty.proxy.SoOriginalDstHelper
Returns true if the current OS is Linux, which is the only platform where SO_ORIGINAL_DST / conntrack-based original destination resolution is supported.
isSupported() - Method in class org.mockserver.netty.proxy.SoOriginalDstResolver
Returns true if this resolver can function on the current platform: Linux OS, Netty epoll transport available, and JNA native loadable.
isValid() - Method in class org.mockserver.async.validation.AsyncApiSchemaValidator.ValidationResult
 
isValidSession(String) - Method in class org.mockserver.netty.mcp.McpSessionManager
 

J

JsonRpcError() - Constructor for class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcError
 
JsonRpcMessage - Class in org.mockserver.netty.mcp
 
JsonRpcMessage() - Constructor for class org.mockserver.netty.mcp.JsonRpcMessage
 
JsonRpcMessage.JsonRpcError - Class in org.mockserver.netty.mcp
 
JsonRpcMessage.JsonRpcNotification - Class in org.mockserver.netty.mcp
 
JsonRpcMessage.JsonRpcRequest - Class in org.mockserver.netty.mcp
 
JsonRpcMessage.JsonRpcResponse - Class in org.mockserver.netty.mcp
 
JsonRpcNotification() - Constructor for class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcNotification
 
JsonRpcRequest() - Constructor for class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcRequest
 
JsonRpcResponse() - Constructor for class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcResponse
 

K

KafkaMessagePublisher - Class in org.mockserver.async.publish
A MessagePublisher that delegates to a Kafka KafkaProducer.
KafkaMessagePublisher(String) - Constructor for class org.mockserver.async.publish.KafkaMessagePublisher
Create a publisher connected to the given Kafka bootstrap servers using plaintext (no security).
KafkaMessagePublisher(String, KafkaSecurity) - Constructor for class org.mockserver.async.publish.KafkaMessagePublisher
Create a publisher connected to the given Kafka bootstrap servers with optional security configuration.
KafkaMessageSubscriber - Class in org.mockserver.async.subscribe
A MessageSubscriber that uses a Kafka KafkaConsumer to subscribe to topics and record received messages.
KafkaMessageSubscriber(String, String) - Constructor for class org.mockserver.async.subscribe.KafkaMessageSubscriber
Create a subscriber connected to the given Kafka bootstrap servers using plaintext (no security).
KafkaMessageSubscriber(String, String, int) - Constructor for class org.mockserver.async.subscribe.KafkaMessageSubscriber
Create a subscriber with a custom recorded-message cap per channel.
KafkaMessageSubscriber(String, String, int, KafkaSecurity) - Constructor for class org.mockserver.async.subscribe.KafkaMessageSubscriber
Create a subscriber with optional security configuration.
KafkaSecurity - Class in org.mockserver.async.security
Immutable carrier for Kafka security configuration (SASL and/or SSL).
KafkaSecurity.Builder - Class in org.mockserver.async.security
 
KafkaSecurityProperties - Class in org.mockserver.async.security
Utility for applying KafkaSecurity settings to Kafka client Properties.

L

length() - Method in interface org.mockserver.dashboard.serializers.Description
 
length() - Method in class org.mockserver.dashboard.serializers.LogMessageDescription
 
length() - Method in class org.mockserver.dashboard.serializers.RequestDefinitionDescription
 
length() - Method in class org.mockserver.dashboard.serializers.RequestDefinitionObjectDescription
 
LifeCycle - Class in org.mockserver.lifecycle
 
LifeCycle(Configuration) - Constructor for class org.mockserver.lifecycle.LifeCycle
 
load(String) - Method in class org.mockserver.async.controlplane.AsyncApiControlPlaneImpl
 
LOCAL_HOST_HEADERS - Static variable in class org.mockserver.netty.HttpRequestHandler
 
logLevel - Enum constant in enum class org.mockserver.cli.Main.Arguments
 
LogMessageDescription - Class in org.mockserver.dashboard.serializers
 
LogMessageDescription(String, String, DescriptionProcessor) - Constructor for class org.mockserver.dashboard.serializers.LogMessageDescription
 
logStyle(DashboardLogEntryDTO) - Method in class org.mockserver.dashboard.serializers.DashboardLogEntryDTOSerializer
 
longEnvironmentVariableName() - Method in enum class org.mockserver.cli.Main.Arguments
 

M

main(String...) - Static method in class org.mockserver.cli.HealthCheck
 
main(String...) - Static method in class org.mockserver.cli.Main
Run the MockServer directly providing the arguments as specified below.
Main - Class in org.mockserver.cli
 
Main() - Constructor for class org.mockserver.cli.Main
 
Main.Arguments - Enum Class in org.mockserver.cli
 
markInitialized() - Method in class org.mockserver.netty.mcp.McpSession
 
MAX_LENGTH - Static variable in interface org.mockserver.dashboard.serializers.Description
 
McpContractTest - Class in org.mockserver.netty.mcp
Deterministic conformance / contract tester for a target MCP (Model Context Protocol) server reachable over Streamable HTTP.
McpContractTest(ObjectMapper) - Constructor for class org.mockserver.netty.mcp.McpContractTest
 
McpContractTest.CheckResult - Class in org.mockserver.netty.mcp
Outcome of a single named conformance check.
McpContractTest.ExchangeResult - Class in org.mockserver.netty.mcp
Result of a single JSON-RPC exchange.
McpContractTest.JsonRpcExchange - Interface in org.mockserver.netty.mcp
One JSON-RPC exchange against the target server.
McpContractTest.Report - Class in org.mockserver.netty.mcp
Full conformance report.
McpRequestProcessor - Class in org.mockserver.netty.mcp
Transport-neutral MCP (Model Context Protocol) JSON-RPC request processor.
McpRequestProcessor(HttpState, LifeCycle, McpSessionManager) - Constructor for class org.mockserver.netty.mcp.McpRequestProcessor
 
McpRequestProcessor.McpResult - Class in org.mockserver.netty.mcp
Result of processing an MCP request.
McpResourceRegistry - Class in org.mockserver.netty.mcp
 
McpResourceRegistry(HttpState) - Constructor for class org.mockserver.netty.mcp.McpResourceRegistry
 
McpResourceRegistry.ResourceDefinition - Class in org.mockserver.netty.mcp
 
McpResult(int, byte[], String) - Constructor for class org.mockserver.netty.mcp.McpRequestProcessor.McpResult
 
McpSession - Class in org.mockserver.netty.mcp
 
McpSession(String) - Constructor for class org.mockserver.netty.mcp.McpSession
 
McpSessionManager - Class in org.mockserver.netty.mcp
 
McpSessionManager(MockServerLogger) - Constructor for class org.mockserver.netty.mcp.McpSessionManager
 
McpStreamableHttpHandler - Class in org.mockserver.netty.mcp
Netty channel handler that intercepts MCP (Model Context Protocol) requests on the TCP (HTTP/1.1 and HTTP/2) path.
McpStreamableHttpHandler(HttpState, LifeCycle, McpSessionManager) - Constructor for class org.mockserver.netty.mcp.McpStreamableHttpHandler
 
McpToolRegistry - Class in org.mockserver.netty.mcp
 
McpToolRegistry(HttpState, LifeCycle) - Constructor for class org.mockserver.netty.mcp.McpToolRegistry
 
McpToolRegistry.ToolDefinition - Class in org.mockserver.netty.mcp
 
MessageExampleGenerator - Class in org.mockserver.async
Generates example JSON payloads for each channel in an AsyncApiSpec.
MessageExampleGenerator() - Constructor for class org.mockserver.async.MessageExampleGenerator
 
MessagePublisher - Interface in org.mockserver.async.publish
Publishes a message payload to a named channel (topic).
MessageSubscriber - Interface in org.mockserver.async.subscribe
Subscribes to a message broker channel and records received messages for later retrieval/verification — the consumer counterpart of MessagePublisher.
method() - Method in class org.mockserver.netty.http3.Http3RequestBridge.ParsedHeaders
 
METHOD_NOT_FOUND - Static variable in class org.mockserver.netty.mcp.JsonRpcMessage
 
MockServer - Class in org.mockserver.netty
 
MockServer(Integer...) - Constructor for class org.mockserver.netty.MockServer
Start the instance using the ports provided
MockServer(Integer, String, Integer...) - Constructor for class org.mockserver.netty.MockServer
Start the instance using the ports provided
MockServer(Configuration, Integer...) - Constructor for class org.mockserver.netty.MockServer
Start the instance using the ports provided
MockServer(Configuration, Integer, String, Integer...) - Constructor for class org.mockserver.netty.MockServer
Start the instance using the ports provided
MockServer(Configuration, List<ProxyConfiguration>, Integer...) - Constructor for class org.mockserver.netty.MockServer
Start the instance using the ports provided configuring forwarded or proxied requests to go via an additional proxy
MockServer(Configuration, List<ProxyConfiguration>, String, Integer, Integer...) - Constructor for class org.mockserver.netty.MockServer
Start the instance using the ports provided configuring forwarded or proxied requests to go via an additional proxy
MockServer(Configuration, ProxyConfiguration, String, Integer, Integer...) - Constructor for class org.mockserver.netty.MockServer
Start the instance using the ports provided configuring forwarded or proxied requests to go via an additional proxy
MockServer(ProxyConfiguration, Integer...) - Constructor for class org.mockserver.netty.MockServer
Start the instance using the ports provided configuring forwarded or proxied requests to go via an additional proxy
MockServerIpTransparentHelper - Class in org.mockserver.netty.proxy
Wires the IP_TRANSPARENT socket option on the server bootstrap when TPROXY mode is enabled.
mockServerLogger - Variable in class org.mockserver.lifecycle.LifeCycle
 
mockServerLogger - Variable in class org.mockserver.netty.proxy.socks.SocksProxyHandler
 
mockServerLogger - Variable in class org.mockserver.netty.unification.PortUnificationHandler
 
MockServerUnificationInitializer - Class in org.mockserver.netty
 
MockServerUnificationInitializer(Configuration, LifeCycle, HttpState, HttpActionHandler, NettySslContextFactory) - Constructor for class org.mockserver.netty.MockServerUnificationInitializer
 
MqttMessagePublisher - Class in org.mockserver.async.publish
A MessagePublisher that delegates to an MQTT MqttClient.
MqttMessagePublisher(String, String) - Constructor for class org.mockserver.async.publish.MqttMessagePublisher
Create a publisher connected to the given MQTT broker with default QoS (1) and no security.
MqttMessagePublisher(String, String, int) - Constructor for class org.mockserver.async.publish.MqttMessagePublisher
Create a publisher connected to the given MQTT broker with a specific QoS and no security.
MqttMessagePublisher(String, String, int, MqttSecurity) - Constructor for class org.mockserver.async.publish.MqttMessagePublisher
Create a publisher connected to the given MQTT broker with optional security configuration.
MqttMessageSubscriber - Class in org.mockserver.async.subscribe
A MessageSubscriber that uses an MQTT MqttClient to subscribe to topics and record received messages.
MqttMessageSubscriber(String, String) - Constructor for class org.mockserver.async.subscribe.MqttMessageSubscriber
Create a subscriber connected to the given MQTT broker with no security.
MqttMessageSubscriber(String, String, int) - Constructor for class org.mockserver.async.subscribe.MqttMessageSubscriber
Create a subscriber with a specific QoS level and no security.
MqttMessageSubscriber(String, String, int, int) - Constructor for class org.mockserver.async.subscribe.MqttMessageSubscriber
Create a subscriber with a specific QoS level and recorded-message cap, no security.
MqttMessageSubscriber(String, String, int, int, MqttSecurity) - Constructor for class org.mockserver.async.subscribe.MqttMessageSubscriber
Create a subscriber with optional security configuration.
MqttSecurity - Class in org.mockserver.async.security
Immutable carrier for MQTT security configuration (username/password and/or SSL).
MqttSecurity.Builder - Class in org.mockserver.async.security
 
MqttSecurityOptions - Class in org.mockserver.async.security
Utility for building MqttConnectOptions from MqttSecurity configuration.

N

names() - Static method in enum class org.mockserver.cli.Main.Arguments
 
NettyResponseWriter - Class in org.mockserver.netty.responsewriter
 
NettyResponseWriter(Configuration, MockServerLogger, ChannelHandlerContext, Scheduler) - Constructor for class org.mockserver.netty.responsewriter.NettyResponseWriter
 
nettySslContextFactory(Channel) - Static method in class org.mockserver.netty.unification.PortUnificationHandler
 
none() - Static method in class org.mockserver.async.publish.PublishOptions
 

O

onChannelInactive() - Method in class org.mockserver.netty.http3.Http3GrpcBidiStreamHandler
The QUIC stream / connection was torn down.
onData(byte[]) - Method in class org.mockserver.netty.http3.Http3GrpcBidiStreamHandler
Feed inbound request bytes: decode complete gRPC frames, convert each to JSON, and emit the first matching rule's responses.
onInputClosed() - Method in class org.mockserver.netty.http3.Http3GrpcBidiStreamHandler
The client half-closed (END_STREAM).
OpenAPISpecHandler - Class in org.mockserver.netty
Serves the embedded OpenAPI specification at GET /mockserver/openapi.yaml
OpenAPISpecHandler() - Constructor for class org.mockserver.netty.OpenAPISpecHandler
 
openUI() - Method in class org.mockserver.integration.ClientAndServer
Launch UI and wait the default period to allow the UI to launch and start collecting logs, this ensures that the log are visible in the UI even if MockServer is shutdown by a test shutdown function, such as After, AfterClass, AfterAll, etc
openUI(TimeUnit, long) - Method in class org.mockserver.integration.ClientAndServer
Launch UI and wait a specified period to allow the UI to launch and start collecting logs, this ensures that the log are visible in the UI even if MockServer is shutdown by a test shutdown function, such as After, AfterClass, AfterAll, etc
org.mockserver.async - package org.mockserver.async
 
org.mockserver.async.asyncapi - package org.mockserver.async.asyncapi
 
org.mockserver.async.controlplane - package org.mockserver.async.controlplane
 
org.mockserver.async.publish - package org.mockserver.async.publish
 
org.mockserver.async.security - package org.mockserver.async.security
 
org.mockserver.async.subscribe - package org.mockserver.async.subscribe
 
org.mockserver.async.validation - package org.mockserver.async.validation
 
org.mockserver.cli - package org.mockserver.cli
 
org.mockserver.dashboard - package org.mockserver.dashboard
 
org.mockserver.dashboard.model - package org.mockserver.dashboard.model
 
org.mockserver.dashboard.serializers - package org.mockserver.dashboard.serializers
 
org.mockserver.integration - package org.mockserver.integration
 
org.mockserver.lifecycle - package org.mockserver.lifecycle
 
org.mockserver.netty - package org.mockserver.netty
 
org.mockserver.netty.dns - package org.mockserver.netty.dns
 
org.mockserver.netty.grpc - package org.mockserver.netty.grpc
 
org.mockserver.netty.http3 - package org.mockserver.netty.http3
 
org.mockserver.netty.mcp - package org.mockserver.netty.mcp
 
org.mockserver.netty.proxy - package org.mockserver.netty.proxy
 
org.mockserver.netty.proxy.connect - package org.mockserver.netty.proxy.connect
 
org.mockserver.netty.proxy.relay - package org.mockserver.netty.proxy.relay
 
org.mockserver.netty.proxy.socks - package org.mockserver.netty.proxy.socks
 
org.mockserver.netty.responsewriter - package org.mockserver.netty.responsewriter
 
org.mockserver.netty.unification - package org.mockserver.netty.unification
 
org.mockserver.netty.websocketregistry - package org.mockserver.netty.websocketregistry
 

P

parse(String) - Method in class org.mockserver.async.asyncapi.AsyncApiParser
Parse an AsyncAPI document from a string (auto-detects JSON vs YAML).
PARSE_ERROR - Static variable in class org.mockserver.netty.mcp.JsonRpcMessage
 
ParsedHeaders(String, String, String, String, List<Map.Entry<String, String>>) - Constructor for class org.mockserver.netty.http3.Http3RequestBridge.ParsedHeaders
 
parseHeaders(Http3HeadersFrame) - Static method in class org.mockserver.netty.http3.Http3RequestBridge
Extract pseudo-headers and regular headers from an HTTP/3 headers frame.
password(String) - Method in class org.mockserver.async.security.MqttSecurity.Builder
 
path() - Method in class org.mockserver.netty.http3.Http3RequestBridge.ParsedHeaders
 
port - Variable in class org.mockserver.netty.proxy.relay.RelayConnectHandler
 
PortBinding - Class in org.mockserver.netty.unification
 
PortBinding(InetSocketAddress, String) - Constructor for class org.mockserver.netty.unification.PortBinding
 
PortUnificationHandler - Class in org.mockserver.netty.unification
 
PortUnificationHandler(Configuration, LifeCycle, HttpState, HttpActionHandler, NettySslContextFactory, McpSessionManager) - Constructor for class org.mockserver.netty.unification.PortUnificationHandler
 
PROXIED - Static variable in class org.mockserver.netty.proxy.relay.RelayConnectHandler
 
PROXIED_RESPONSE - Static variable in class org.mockserver.netty.proxy.relay.RelayConnectHandler
 
PROXIED_SECURE - Static variable in class org.mockserver.netty.proxy.relay.RelayConnectHandler
 
PROXYING - Static variable in class org.mockserver.netty.HttpRequestHandler
 
ProxyProtocolOriginalDestinationHandler - Class in org.mockserver.netty.proxy
Inbound handler that detects and parses PROXY protocol v1 (text format) and v2 (binary format) headers prepended to TCP connections by upstream load balancers (e.g., AWS GWLB, HAProxy, nginx with proxy_protocol on).
ProxyProtocolOriginalDestinationHandler(MockServerLogger) - Constructor for class org.mockserver.netty.proxy.ProxyProtocolOriginalDestinationHandler
 
proxyRemoteHost - Enum constant in enum class org.mockserver.cli.Main.Arguments
 
proxyRemotePort - Enum constant in enum class org.mockserver.cli.Main.Arguments
 
publish(String, String) - Method in class org.mockserver.async.publish.KafkaMessagePublisher
 
publish(String, String) - Method in interface org.mockserver.async.publish.MessagePublisher
Publish the given payload to the specified channel with no key or headers.
publish(String, String) - Method in class org.mockserver.async.publish.MqttMessagePublisher
 
publish(String, String, String, Map<String, String>) - Method in class org.mockserver.async.publish.KafkaMessagePublisher
Publish a message with a specific key and optional headers.
publish(String, String, String, Map<String, String>) - Method in interface org.mockserver.async.publish.MessagePublisher
Publish the given payload with an optional key and headers.
publish(String, String, PublishOptions) - Method in class org.mockserver.async.publish.KafkaMessagePublisher
Publish a message with per-message options from AsyncAPI bindings.
publish(String, String, PublishOptions) - Method in interface org.mockserver.async.publish.MessagePublisher
Publish the given payload with per-message options derived from AsyncAPI bindings.
publish(String, String, PublishOptions) - Method in class org.mockserver.async.publish.MqttMessagePublisher
Publish a message with per-message options from AsyncAPI bindings.
publishAll() - Method in class org.mockserver.async.AsyncApiMockOrchestrator
Publish the generated example message for each message in each channel, threading any AsyncAPI bindings (MQTT qos/retain, Kafka key) and correlation IDs as PublishOptions.
publishBytes(String, byte[]) - Method in class org.mockserver.async.publish.MqttMessagePublisher
Publish a binary payload to the given channel.
PublishOptions - Class in org.mockserver.async.publish
Immutable carrier for per-message publish-time options extracted from AsyncAPI bindings.
PublishOptions(String, Integer, Boolean) - Constructor for class org.mockserver.async.publish.PublishOptions
Backward-compatible constructor — no headers.
PublishOptions(String, Integer, Boolean, Map<String, String>) - Constructor for class org.mockserver.async.publish.PublishOptions
Full constructor with headers.

R

readAccumulatedBody(CompositeByteBuf) - Static method in class org.mockserver.netty.http3.Http3RequestBridge
Read the accumulated composite buffer into a byte array.
readResource(String) - Method in class org.mockserver.netty.mcp.McpResourceRegistry
 
RecordedMessage - Class in org.mockserver.async.subscribe
An immutable record of a message received from a broker subscription.
RecordedMessage(String, String, String, Map<String, String>) - Constructor for class org.mockserver.async.subscribe.RecordedMessage
 
registerIfAvailable() - Static method in class org.mockserver.async.controlplane.AsyncApiControlPlaneImpl
Register this implementation into the core registry.
registerListener(ExpectationsListener) - Method in class org.mockserver.integration.ClientAndServer
 
registerListener(ExpectationsListener) - Method in class org.mockserver.lifecycle.LifeCycle
 
registerListener(ExpectationsListener) - Method in class org.mockserver.netty.MockServer
 
registerListeners() - Method in class org.mockserver.dashboard.DashboardWebSocketHandler
 
RelayConnectHandler<T> - Class in org.mockserver.netty.proxy.relay
 
RelayConnectHandler(Configuration, LifeCycle, MockServerLogger, String, int) - Constructor for class org.mockserver.netty.proxy.relay.RelayConnectHandler
 
removeCodecSupport(ChannelHandlerContext) - Method in class org.mockserver.netty.proxy.connect.HttpConnectHandler
 
removeCodecSupport(ChannelHandlerContext) - Method in class org.mockserver.netty.proxy.relay.RelayConnectHandler
 
removeCodecSupport(ChannelHandlerContext) - Method in class org.mockserver.netty.proxy.socks.Socks4ConnectHandler
 
removeCodecSupport(ChannelHandlerContext) - Method in class org.mockserver.netty.proxy.socks.Socks5ConnectHandler
 
removeCodecSupport(ChannelHandlerContext) - Method in class org.mockserver.netty.proxy.socks.SocksConnectHandler
 
removeHandler(ChannelPipeline, ChannelHandler) - Method in class org.mockserver.netty.proxy.relay.RelayConnectHandler
 
removeHandler(ChannelPipeline, Class<? extends ChannelHandler>) - Method in class org.mockserver.netty.proxy.relay.RelayConnectHandler
 
removeSession(String) - Method in class org.mockserver.netty.mcp.McpSessionManager
 
renderDashboard(ChannelHandlerContext, HttpRequest) - Method in class org.mockserver.dashboard.DashboardHandler
 
renderOpenAPISpec(ChannelHandlerContext, HttpRequest) - Method in class org.mockserver.netty.OpenAPISpecHandler
 
Report() - Constructor for class org.mockserver.netty.mcp.McpContractTest.Report
 
RequestDefinitionDescription - Class in org.mockserver.dashboard.serializers
 
RequestDefinitionDescription(String, String, DescriptionProcessor, boolean) - Constructor for class org.mockserver.dashboard.serializers.RequestDefinitionDescription
 
RequestDefinitionObjectDescription - Class in org.mockserver.dashboard.serializers
 
RequestDefinitionObjectDescription(String, Object, String, DescriptionProcessor) - Constructor for class org.mockserver.dashboard.serializers.RequestDefinitionObjectDescription
 
reset() - Method in class org.mockserver.async.controlplane.AsyncApiControlPlaneImpl
 
resolve(Channel) - Method in class org.mockserver.netty.proxy.CompositeOriginalDestinationResolver
Tries each strategy in order.
resolve(Channel) - Method in class org.mockserver.netty.proxy.ConntrackOriginalDestinationResolver
 
resolve(Channel) - Method in class org.mockserver.netty.proxy.DnsIntentOriginalDestinationResolver
 
resolve(Channel) - Method in class org.mockserver.netty.proxy.EbpfOriginalDestinationResolver
 
resolve(Channel) - Method in class org.mockserver.netty.proxy.SoOriginalDstResolver
Resolves the original destination for the given channel.
resolve(Channel) - Method in class org.mockserver.netty.proxy.TproxyOriginalDestinationResolver
Resolves the original destination by reading the channel's local address.
resolve(Channel) - Method in interface org.mockserver.netty.proxy.TransparentProxyHandler.OriginalDestinationResolver
 
resolveTargetHost(String) - Method in class org.mockserver.netty.proxy.TransparentProxyInitializer
Returns the forwarding host for a transparent proxy request.
resolveTargetPort(String, boolean) - Method in class org.mockserver.netty.proxy.TransparentProxyInitializer
Returns the forwarding port for a transparent proxy request.
ResourceDefinition(String, String, String, String, Supplier<JsonNode>) - Constructor for class org.mockserver.netty.mcp.McpResourceRegistry.ResourceDefinition
 
run(String, String, McpContractTest.JsonRpcExchange) - Method in class org.mockserver.netty.mcp.McpContractTest
Run the conformance suite against the target server.

S

saslJaasConfig(String) - Method in class org.mockserver.async.security.KafkaSecurity.Builder
 
saslMechanism(String) - Method in class org.mockserver.async.security.KafkaSecurity.Builder
 
scheme() - Method in class org.mockserver.netty.http3.Http3RequestBridge.ParsedHeaders
 
securityProtocol(String) - Method in class org.mockserver.async.security.KafkaSecurity.Builder
 
send(ObjectNode, String) - Method in interface org.mockserver.netty.mcp.McpContractTest.JsonRpcExchange
Send a single JSON-RPC message (request or notification) to the target server.
sendResponse(HttpRequest, HttpResponse) - Method in class org.mockserver.netty.http3.Http3GrpcResponseWriter
 
sendResponse(HttpRequest, HttpResponse) - Method in class org.mockserver.netty.http3.Http3ResponseWriter
 
sendResponse(HttpRequest, HttpResponse) - Method in class org.mockserver.netty.responsewriter.EarlyNettyResponseWriter
 
sendResponse(HttpRequest, HttpResponse) - Method in class org.mockserver.netty.responsewriter.NettyResponseWriter
 
serialize(Throwable, JsonGenerator, SerializerProvider) - Method in class org.mockserver.dashboard.serializers.ThrowableSerializer
 
serialize(DashboardLogEntryDTOGroup, JsonGenerator, SerializerProvider) - Method in class org.mockserver.dashboard.serializers.DashboardLogEntryDTOGroupSerializer
 
serialize(DashboardLogEntryDTO, JsonGenerator, SerializerProvider) - Method in class org.mockserver.dashboard.serializers.DashboardLogEntryDTOSerializer
 
serialize(Description, JsonGenerator, SerializerProvider) - Method in class org.mockserver.dashboard.serializers.DescriptionSerializer
 
server - Variable in class org.mockserver.netty.proxy.socks.SocksProxyHandler
 
serverPort - Enum constant in enum class org.mockserver.cli.Main.Arguments
 
serverServerBootstrap - Variable in class org.mockserver.lifecycle.LifeCycle
 
setArguments(Object...) - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
setBecause(String) - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
setCode(int) - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcError
 
setCorrelationId(String) - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
setData(JsonNode) - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcError
 
setDescription(Description) - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
setError(JsonRpcMessage.JsonRpcError) - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcResponse
 
setHttpRequests(RequestDefinition[]) - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
setHttpResponse(HttpResponse) - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
setId(Object) - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcRequest
 
setId(Object) - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcResponse
 
setId(String) - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
setIdPresent(boolean) - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcRequest
 
setJsonrpc(String) - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcNotification
 
setJsonrpc(String) - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcRequest
 
setJsonrpc(String) - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcResponse
 
setLogEventListener(Consumer<LogEntry>) - Static method in class org.mockserver.integration.ClientAndServer
 
setMessage(String) - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcError
 
setMessageFormat(String) - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
setMethod(String) - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcNotification
 
setMethod(String) - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcRequest
 
setParams(JsonNode) - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcNotification
 
setParams(JsonNode) - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcRequest
 
setProxyingRequest(ChannelHandlerContext, Boolean) - Static method in class org.mockserver.netty.HttpRequestHandler
 
setResult(JsonNode) - Method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcResponse
 
setStyle(Map<String, String>) - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
setThrowable(String[]) - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
setTimestamp(String) - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
setType(LogEntry.LogMessageType) - Method in class org.mockserver.dashboard.model.DashboardLogEntryDTO
 
shortEnvironmentVariableName() - Method in enum class org.mockserver.cli.Main.Arguments
 
shutdown() - Method in class org.mockserver.netty.mcp.McpSessionManager
Shuts down the MCP executor gracefully.
size() - Method in class org.mockserver.async.subscribe.BoundedMessageStore
Return the current number of messages in the store.
size() - Method in class org.mockserver.netty.mcp.McpSessionManager
 
snapshot() - Method in class org.mockserver.async.subscribe.BoundedMessageStore
Return a snapshot copy of all messages currently in the store.
Socks4ConnectHandler - Class in org.mockserver.netty.proxy.socks
 
Socks4ConnectHandler(Configuration, MockServerLogger, LifeCycle, String, int) - Constructor for class org.mockserver.netty.proxy.socks.Socks4ConnectHandler
 
Socks4ProxyHandler - Class in org.mockserver.netty.proxy.socks
 
Socks4ProxyHandler(Configuration, MockServerLogger, LifeCycle) - Constructor for class org.mockserver.netty.proxy.socks.Socks4ProxyHandler
 
Socks5ConnectHandler - Class in org.mockserver.netty.proxy.socks
 
Socks5ConnectHandler(Configuration, MockServerLogger, LifeCycle, String, int) - Constructor for class org.mockserver.netty.proxy.socks.Socks5ConnectHandler
 
Socks5ProxyHandler - Class in org.mockserver.netty.proxy.socks
 
Socks5ProxyHandler(Configuration, MockServerLogger, LifeCycle) - Constructor for class org.mockserver.netty.proxy.socks.Socks5ProxyHandler
 
SocksConnectHandler<T> - Class in org.mockserver.netty.proxy.socks
 
SocksConnectHandler(Configuration, MockServerLogger, LifeCycle, String, int) - Constructor for class org.mockserver.netty.proxy.socks.SocksConnectHandler
 
SocksDetector - Class in org.mockserver.netty.proxy.socks
This class is expected to be used from within a ReplayingDecoder, or with enough bytes available.
SocksProxyHandler<T> - Class in org.mockserver.netty.proxy.socks
 
SocksProxyHandler(Configuration, MockServerLogger, LifeCycle) - Constructor for class org.mockserver.netty.proxy.socks.SocksProxyHandler
 
SoOriginalDstHelper - Class in org.mockserver.netty.proxy
Reads the original destination of an intercepted TCP connection on Linux.
SoOriginalDstResolver - Class in org.mockserver.netty.proxy
Resolves the original destination of a transparently intercepted TCP connection by calling getsockopt(fd, SOL_IP, SO_ORIGINAL_DST, ...) via JNA on Linux.
SoOriginalDstResolver() - Constructor for class org.mockserver.netty.proxy.SoOriginalDstResolver
 
sslKeyPassword(String) - Method in class org.mockserver.async.security.KafkaSecurity.Builder
 
sslKeystoreLocation(String) - Method in class org.mockserver.async.security.KafkaSecurity.Builder
 
sslKeystorePassword(String) - Method in class org.mockserver.async.security.KafkaSecurity.Builder
 
sslProperties(Map<String, String>) - Method in class org.mockserver.async.security.MqttSecurity.Builder
 
sslTruststoreLocation(String) - Method in class org.mockserver.async.security.KafkaSecurity.Builder
 
sslTruststorePassword(String) - Method in class org.mockserver.async.security.KafkaSecurity.Builder
 
start() - Method in class org.mockserver.netty.http3.Http3GrpcBidiStreamHandler
Write the initial response HEADERS and any eager messages.
start(int) - Method in class org.mockserver.netty.http3.Http3Server
Start the HTTP/3 server on the given UDP port.
startClientAndServer(Integer...) - Static method in class org.mockserver.integration.ClientAndServer
 
startClientAndServer(String, Integer, Integer...) - Static method in class org.mockserver.integration.ClientAndServer
 
startClientAndServer(List<Integer>) - Static method in class org.mockserver.integration.ClientAndServer
 
startClientAndServer(Configuration, Integer...) - Static method in class org.mockserver.integration.ClientAndServer
 
startClientAndServer(Configuration, String, Integer, Integer...) - Static method in class org.mockserver.integration.ClientAndServer
 
startClientAndServer(Configuration, List<Integer>) - Static method in class org.mockserver.integration.ClientAndServer
 
startedServer(List<Integer>) - Method in class org.mockserver.lifecycle.LifeCycle
 
startPublishing(long) - Method in class org.mockserver.async.AsyncApiMockOrchestrator
Start periodic publishing at the given interval.
status() - Method in class org.mockserver.async.controlplane.AsyncApiControlPlaneImpl
 
stop() - Method in class org.mockserver.async.AsyncApiMockOrchestrator
Stop periodic publishing.
stop() - Method in class org.mockserver.integration.ClientAndServer
 
stop() - Method in class org.mockserver.lifecycle.LifeCycle
 
stop() - Method in class org.mockserver.netty.http3.Http3Server
Stop the HTTP/3 server and release resources.
stopAsync() - Method in class org.mockserver.integration.ClientAndServer
 
stopAsync() - Method in class org.mockserver.lifecycle.LifeCycle
 
stopAsync() - Method in class org.mockserver.netty.MockServer
 
strategyCount() - Method in class org.mockserver.netty.proxy.CompositeOriginalDestinationResolver
Returns the number of strategies in this chain (useful for testing).
subscribe(String) - Method in class org.mockserver.async.subscribe.KafkaMessageSubscriber
 
subscribe(String) - Method in interface org.mockserver.async.subscribe.MessageSubscriber
Start subscribing to the given channel.
subscribe(String) - Method in class org.mockserver.async.subscribe.MqttMessageSubscriber
 
success(Object, JsonNode) - Static method in class org.mockserver.netty.mcp.JsonRpcMessage.JsonRpcResponse
 
successResponse(Object) - Method in class org.mockserver.netty.proxy.connect.HttpConnectHandler
 
successResponse(Object) - Method in class org.mockserver.netty.proxy.relay.RelayConnectHandler
 
successResponse(Object) - Method in class org.mockserver.netty.proxy.socks.Socks4ConnectHandler
 
successResponse(Object) - Method in class org.mockserver.netty.proxy.socks.Socks5ConnectHandler
 
systemPropertyName() - Method in enum class org.mockserver.cli.Main.Arguments
 

T

TcpChaosHandler - Class in org.mockserver.netty.unification
Netty ChannelDuplexHandler that injects raw TCP-layer faults before HTTP decoding, based on the TcpChaosProfile registered in TcpChaosRegistry for the connection's remote host.
TcpChaosHandler() - Constructor for class org.mockserver.netty.unification.TcpChaosHandler
 
ThrowableSerializer - Class in org.mockserver.dashboard.serializers
 
ThrowableSerializer() - Constructor for class org.mockserver.dashboard.serializers.ThrowableSerializer
 
toHttp3DataFrame(HttpResponse) - Static method in class org.mockserver.netty.http3.Http3RequestBridge
Convert the body of a MockServer HttpResponse into an HTTP/3 data frame.
toHttp3HeadersFrame(HttpResponse) - Static method in class org.mockserver.netty.http3.Http3RequestBridge
Convert a MockServer HttpResponse into an HTTP/3 headers frame.
toHttpRequest(String, String, String, String, List<Map.Entry<String, String>>, byte[]) - Static method in class org.mockserver.netty.http3.Http3RequestBridge
Build a MockServer HttpRequest from the HTTP/3 pseudo-headers and accumulated body bytes.
toObject() - Method in interface org.mockserver.dashboard.serializers.Description
 
toObject() - Method in class org.mockserver.dashboard.serializers.LogMessageDescription
 
toObject() - Method in class org.mockserver.dashboard.serializers.RequestDefinitionDescription
 
toObject() - Method in class org.mockserver.dashboard.serializers.RequestDefinitionObjectDescription
 
ToolDefinition(String, String, JsonNode, Function<JsonNode, JsonNode>) - Constructor for class org.mockserver.netty.mcp.McpToolRegistry.ToolDefinition
 
toPublishOptions() - Method in class org.mockserver.async.asyncapi.AsyncApiChannel
Build a PublishOptions from the parsed bindings on this channel.
toString() - Method in class org.mockserver.async.publish.PublishOptions
 
toString() - Method in class org.mockserver.async.subscribe.RecordedMessage
 
touch() - Method in class org.mockserver.netty.mcp.McpSession
 
TproxyOriginalDestinationResolver - Class in org.mockserver.netty.proxy
Resolves the original destination of a transparently intercepted TCP connection using the TPROXY (IP_TRANSPARENT) mechanism.
TproxyOriginalDestinationResolver(Configuration) - Constructor for class org.mockserver.netty.proxy.TproxyOriginalDestinationResolver
Creates a TPROXY resolver that checks whether TPROXY mode is active via the given configuration.
TRACE_CONTEXT - Static variable in class org.mockserver.netty.unification.TraceContextHandler
Delegates to the shared constant in mockserver-core so both the Netty handler and the core action handler use the same attribute key.
TraceContextHandler - Class in org.mockserver.netty.unification
Netty handler that extracts W3C traceparent / tracestate headers from inbound HttpRequest objects and stores the parsed W3CTraceContext as a channel attribute.
TraceContextHandler(Configuration) - Constructor for class org.mockserver.netty.unification.TraceContextHandler
 
transformGrpcRequest(HttpRequest, GrpcProtoDescriptorStore) - Static method in class org.mockserver.netty.http3.GrpcHttp3Adapter
Transform a gRPC request for the MockServer matching pipeline: decode the gRPC length-prefixed message(s), convert protobuf to JSON via the descriptor store, and tag the request with service/method markers.
transformGrpcResponse(HttpResponse, String, String, GrpcProtoDescriptorStore) - Static method in class org.mockserver.netty.http3.GrpcHttp3Adapter
Convert the response from the matching pipeline back to a gRPC-framed response.
TRANSPARENT_ORIGINAL_DST_RESOLVED - Static variable in class org.mockserver.netty.proxy.TransparentProxyHandler
Channel attribute indicating the transparent proxy original destination was resolved via SO_ORIGINAL_DST / conntrack (as opposed to Host header).
TransparentProxyHandler - Class in org.mockserver.netty.proxy
A Netty channel handler that resolves the original destination for transparently intercepted connections and stores it as the HttpActionHandler.REMOTE_SOCKET channel attribute.
TransparentProxyHandler(Configuration, MockServerLogger) - Constructor for class org.mockserver.netty.proxy.TransparentProxyHandler
 
TransparentProxyHandler(Configuration, MockServerLogger, TransparentProxyHandler.OriginalDestinationResolver) - Constructor for class org.mockserver.netty.proxy.TransparentProxyHandler
Constructor with injectable resolver for unit testing.
TransparentProxyHandler.OriginalDestinationResolver - Interface in org.mockserver.netty.proxy
Strategy interface for resolving the original destination.
TransparentProxyInitializer - Class in org.mockserver.netty.proxy
Utility for transparent HTTP proxy mode — provides Host-header parsing helpers and an TransparentProxyInitializer.isEnabled() configuration check.
TransparentProxyInitializer(Configuration, MockServerLogger) - Constructor for class org.mockserver.netty.proxy.TransparentProxyInitializer
 
transportError(String) - Static method in class org.mockserver.netty.mcp.McpContractTest.ExchangeResult
 

U

unsubscribe(String) - Method in class org.mockserver.async.subscribe.KafkaMessageSubscriber
 
unsubscribe(String) - Method in interface org.mockserver.async.subscribe.MessageSubscriber
Stop subscribing to the given channel.
unsubscribe(String) - Method in class org.mockserver.async.subscribe.MqttMessageSubscriber
 
updated(List<Expectation>) - Method in interface org.mockserver.lifecycle.ExpectationsListener
 
updated(MockServerEventLog) - Method in class org.mockserver.dashboard.DashboardWebSocketHandler
 
updated(RequestMatchers, MockServerMatcherNotifier.Cause) - Method in class org.mockserver.dashboard.DashboardWebSocketHandler
 
UpstreamProxyRelayHandler - Class in org.mockserver.netty.proxy.relay
 
UpstreamProxyRelayHandler(MockServerLogger, Channel, Channel) - Constructor for class org.mockserver.netty.proxy.relay.UpstreamProxyRelayHandler
 
username(String) - Method in class org.mockserver.async.security.MqttSecurity.Builder
 

V

valid() - Static method in class org.mockserver.async.validation.AsyncApiSchemaValidator.ValidationResult
 
validate(String, JsonNode) - Method in class org.mockserver.async.validation.AsyncApiSchemaValidator
Validate that the given JSON payload conforms to the given JSON Schema.
valueOf(String) - Static method in enum class org.mockserver.cli.Main.Arguments
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.mockserver.cli.Main.Arguments
Returns an array containing the constants of this enum class, in the order they are declared.
verify(String) - Method in class org.mockserver.async.controlplane.AsyncApiControlPlaneImpl
 

W

workerGroup - Variable in class org.mockserver.lifecycle.LifeCycle
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.mockserver.netty.unification.AltSvcHeaderHandler
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.mockserver.netty.unification.TraceContextHandler
 
writeGrpcStreamResponse(GrpcStreamResponse, HttpRequest) - Method in class org.mockserver.netty.http3.Http3GrpcResponseWriter
Write a server-streaming gRPC response over HTTP/3: an initial HEADERS frame (:status=200, content-type=application/grpc, plus any configured headers), one DATA frame per message honouring per-message Delay, then a trailing HEADERS frame carrying grpc-status / grpc-message, followed by a QUIC stream output shutdown (or connection close when configured).
A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form