public class BlendingSpec extends AbstractBlock implements Serializable, Dumpable
Represents a the Blending specification of the router block.
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
CRLF
Constructor and Description |
---|
BlendingSpec(org.bouncycastle.asn1.ASN1Encodable to)
Create object from ASN.1 code.
|
BlendingSpec(String blendingEndpointAddress) |
Modifier and Type | Method and Description |
---|---|
String |
dumpValueNotation(String prefix,
DumpType dumpType) |
String |
getBlendingType() |
String |
getMedia() |
String |
getRecipientAddress() |
protected void |
parse(org.bouncycastle.asn1.ASN1Encodable to) |
String |
setBlendingType(String blendingType)
Sets the media type of the blender spec.
|
String |
setMedia(String media)
Sets the media type of the blender spec.
|
String |
setRecipientAddress(String recipientAddress)
sets the receiver address of the blender spec.
|
org.bouncycastle.asn1.ASN1Object |
toAsn1Object(DumpType dumpType)
Dumps an ASN.1 representation of the object.
|
fromBase64, fromHex, parse, prepareDump, toBase64, toBitString, toBytes, toDer, toHex
public static final long serialVersionUID
public BlendingSpec(org.bouncycastle.asn1.ASN1Encodable to) throws IOException
Create object from ASN.1 code.
to
- the ASN.1 codeIOException
- if parsing of ASN.1 code failspublic BlendingSpec(String blendingEndpointAddress)
protected final void parse(org.bouncycastle.asn1.ASN1Encodable to) throws IOException
parse
in class AbstractBlock
IOException
public org.bouncycastle.asn1.ASN1Object toAsn1Object(DumpType dumpType) throws IOException
Dumpable
Dumps an ASN.1 representation of the object.
toAsn1Object
in interface Dumpable
dumpType
- the dump type to be usedIOException
- if dumping of the object fails due to an illegal internal state of the
objectpublic String dumpValueNotation(String prefix, DumpType dumpType) throws IOException
dumpValueNotation
in interface Block
IOException
public String getRecipientAddress()
public String setRecipientAddress(String recipientAddress)
sets the receiver address of the blender spec.
recipientAddress
- the encoded recipient addresspublic String getMedia()
public String setMedia(String media)
Sets the media type of the blender spec.
media
- the named media to setpublic String getBlendingType()
Copyright © 2023. All rights reserved.