Uses of Class
org.microproxy.extras.ServerReplay.Builder
Packages that use ServerReplay.Builder
-
Uses of ServerReplay.Builder in org.microproxy.extras
Methods in org.microproxy.extras that return ServerReplay.BuilderModifier and TypeMethodDescriptionServerReplay.Builder.add(Collection<RecordedExchange> recorded) Adds recorded exchanges.static ServerReplay.BuilderServerReplay.builder()Starts a builder with no recordings and mitmproxy's defaults.ServerReplay.Builder.extra(ServerReplay.Extra extra) What happens to requests without a recording (defaultServerReplay.Extra.forward()).ServerReplay.Builder.ignoreContent(boolean ignore) Ignores request bodies when matching (default false).ServerReplay.Builder.ignoreHost(boolean ignore) Ignores the host when matching (default false).ServerReplay.Builder.ignoreParams(String... names) Query parameters to ignore when matching.ServerReplay.Builder.ignorePayloadParams(String... names) Form fields ofapplication/x-www-form-urlencodedbodies to ignore when matching; the other fields are compared instead of the whole body.ServerReplay.Builder.ignorePort(boolean ignore) Ignores the port when matching (default false).Adds the exchanges recorded in a HAR or WARC file, or in every such file of a directory (seeRecordedExchange.load(java.nio.file.Path)).ServerReplay.Builder.maxBodySize(int bytes) Largest request body buffered to compare it (default 16 MiB); a larger one is answered with413, unless bodies are ignored.ServerReplay.Builder.refresh(boolean refresh) Shifts the dates of replayed responses by the time since they were recorded (default true).ServerReplay.Builder.reuse(boolean reuse) Keeps answering with a recording rather than using it up (default false: each answers once).ServerReplay.Builder.useHeaders(String... names) Request headers that must match too.