mockzilla_platform_interface library

Classes

CommonPartialMockzillaHttpResponse
Used to define partial overrides of standard responses in Dashboard overrides
DashboardOptionsConfig
A collection of preset responses from an endpoint that can be selected in the desktop management app.
DashboardOverridePreset
Definition for a preset response that can be selected in the desktop management app.
DefaultImpl
EndpointConfig
Configuration for an endpoint including how requests should be handled and desktop app presets.
MockzillaConfig
MockzillaHttpRequest
A representation of a request to the Mockzilla server; this is passed to an endpoint handler in order to generate an appropriate response.
MockzillaHttpResponse
Created and returned by an endpoint handler in response to an incoming HTTP request.
MockzillaLogger
MockzillaPlatform
MockzillaRuntimeParams
PartialMockzillaHttpResponse

Extensions

DashboardOptionsConfigPatterns on DashboardOptionsConfig
Adds pattern-matching-related methods to DashboardOptionsConfig.
DashboardOverridePresetPatterns on DashboardOverridePreset
Adds pattern-matching-related methods to DashboardOverridePreset.
EndpointConfigPatterns on EndpointConfig
Adds pattern-matching-related methods to EndpointConfig.
MockzillaConfigPatterns on MockzillaConfig
Adds pattern-matching-related methods to MockzillaConfig.
MockzillaHttpRequestPatterns on MockzillaHttpRequest
Adds pattern-matching-related methods to MockzillaHttpRequest.
MockzillaHttpResponsePatterns on MockzillaHttpResponse
Adds pattern-matching-related methods to MockzillaHttpResponse.
MockzillaRuntimeParamsPatterns on MockzillaRuntimeParams
Adds pattern-matching-related methods to MockzillaRuntimeParams.
PartialMockzillaHttpResponsePatterns on PartialMockzillaHttpResponse
Adds pattern-matching-related methods to PartialMockzillaHttpResponse.

Exceptions / Errors

MockzillaPlatformException
Passed to custom Mockzilla logger instances when an exception is thrown in the platform Mockzilla implementation.
MockzillaPortConflictException
Thrown when attempting to start Mockzilla on a port currently occupied by another process. To resolve, either terminate the other process or choose a different port for the Mockzilla server.