Uses of Class
org.mockserver.imports.ImportRedaction.Options
Packages that use ImportRedaction.Options
-
Uses of ImportRedaction.Options in org.mockserver.imports
Methods in org.mockserver.imports that return ImportRedaction.OptionsModifier and TypeMethodDescriptionstatic ImportRedaction.OptionsImportRedaction.Options.disabled()static ImportRedaction.OptionsImportRedaction.Options.enabled()ImportRedaction.Options.withAdditionalSensitiveBodyFields(Collection<String> bodyFields) Add JSON body field names to redact on top ofImportRedaction.DEFAULT_SENSITIVE_BODY_FIELDS.ImportRedaction.Options.withAdditionalSensitiveHeaders(Collection<String> headerNames) Add header names to redact on top ofFixtureRedactor.defaultSensitiveHeaders().ImportRedaction.Options.withEnabled(boolean enabled) Methods in org.mockserver.imports with parameters of type ImportRedaction.OptionsModifier and TypeMethodDescriptionHarImporter.importExpectations(String harJson, ImportRedaction.Options redactionOptions) Parses a HAR JSON string and returns one expectation per entry, applying the supplied redaction options before the expectations are returned.PostmanCollectionImporter.importExpectations(String collectionJson, ImportRedaction.Options redactionOptions) Parses a Postman Collection v2.x JSON string and returns one expectation per saved example response, applying the supplied redaction options before the expectations are returned.static List<Expectation>ImportRedaction.redact(List<Expectation> expectations, ImportRedaction.Options options) Redact the supplied expectations according tooptions. -
Uses of ImportRedaction.Options in org.mockserver.mock.pact
Methods in org.mockserver.mock.pact with parameters of type ImportRedaction.OptionsModifier and TypeMethodDescriptionPactImporter.importExpectations(String pactJson, ImportRedaction.Options redactionOptions) Parses a Pact v3 contract and returns one expectation per interaction, applying the supplied redaction options before the expectations are returned.