public final class BodyObfuscator extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BodyObfuscator.Builder |
Modifier and Type | Method and Description |
---|---|
static BodyObfuscator.Builder |
custom()
Returns a builder to create custom body obfuscators.
|
static BodyObfuscator |
defaultObfuscator()
Returns a default body obfuscator.
|
String |
obfuscateBody(CharSequence body)
Obfuscates the given body as necessary.
|
String |
obfuscateBody(InputStream bodyStream,
Charset charset)
Obfuscates the body from the given stream as necessary.
|
String |
obfuscateBody(Reader bodyStream)
Obfuscates the body from the given stream as necessary.
|
public String obfuscateBody(CharSequence body)
public String obfuscateBody(InputStream bodyStream, Charset charset) throws IOException
charset
- The charset to use to read the body input stream.IOException
public String obfuscateBody(Reader bodyStream) throws IOException
IOException
public static BodyObfuscator.Builder custom()
public static BodyObfuscator defaultObfuscator()
Copyright © 2024 Worldline Global Collect. All rights reserved.