WireType
- serialization type of the wire contentspublic class WireContents<WireType>
extends java.lang.Object
Constructor and Description |
---|
WireContents(WireType serialization,
java.lang.String wireSchema)
Constructs a new wrapper around serialized data.
|
Modifier and Type | Method and Description |
---|---|
WireType |
getSerialization()
Returns the contents for the wire in their serialized form.
|
java.lang.String |
getWireSchema()
Returns the identifier of the wire schema that was used to serialize
the contents.
|
public WireContents(WireType serialization, java.lang.String wireSchema)
serialization
- the serialized datawireSchema
- the wire schema identifier of the serialized datapublic WireType getSerialization()
public java.lang.String getWireSchema()