Constructor and Description |
---|
StreamOptions() |
StreamOptions(InStream.StreamOptions other) |
Modifier and Type | Method and Description |
---|---|
InStream.StreamOptions |
clone() |
EncryptionAlgorithm |
getAlgorithm() |
int |
getBufferSize() |
CompressionCodec |
getCodec() |
byte[] |
getIv() |
Key |
getKey() |
boolean |
isCompressed() |
String |
toString() |
InStream.StreamOptions |
withBufferSize(int value) |
InStream.StreamOptions |
withCodec(CompressionCodec value) |
InStream.StreamOptions |
withEncryption(EncryptionAlgorithm algorithm,
Key key,
byte[] iv) |
public StreamOptions(InStream.StreamOptions other)
public StreamOptions()
public InStream.StreamOptions withCodec(CompressionCodec value)
public InStream.StreamOptions withBufferSize(int value)
public InStream.StreamOptions withEncryption(EncryptionAlgorithm algorithm, Key key, byte[] iv)
public boolean isCompressed()
public CompressionCodec getCodec()
public int getBufferSize()
public EncryptionAlgorithm getAlgorithm()
public Key getKey()
public byte[] getIv()
public InStream.StreamOptions clone()
Copyright © 2013–2023 The Apache Software Foundation. All rights reserved.