public class HttpBodyDigestOutputStream
extends org.apache.commons.io.output.ProxyOutputStream
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_DIGEST_ALGORITHM |
out| Constructor and Description |
|---|
HttpBodyDigestOutputStream(OutputStream proxy) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
MessageDigest |
getDigest() |
void |
switchToDigest() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
public static final String DEFAULT_DIGEST_ALGORITHM
public HttpBodyDigestOutputStream(OutputStream proxy)
public void switchToDigest()
public void write(int b)
throws IOException
write in class org.apache.commons.io.output.ProxyOutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class org.apache.commons.io.output.ProxyOutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class org.apache.commons.io.output.ProxyOutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class org.apache.commons.io.output.ProxyOutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.commons.io.output.ProxyOutputStreamIOExceptionpublic MessageDigest getDigest()
Copyright © 2000–2023 LOCKSS Program. All rights reserved.