- java.lang.Object
-
- swim.warp.Envelope
-
- All Implemented Interfaces:
Debug
- Direct Known Subclasses:
HostAddressed
,LaneAddressed
public abstract class Envelope extends Object implements Debug
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Value
body()
abstract Envelope
body(Value body)
abstract <T> Output<T>
debug(Output<T> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.static Decoder<Envelope>
decoder()
static Encoder<Envelope,Envelope>
encoder()
abstract Form<? extends Envelope>
form()
static <E extends Envelope>
Form<E>form(String tag)
static Envelope
fromValue(Value value)
abstract Uri
laneUri()
abstract Envelope
laneUri(Uri lane)
abstract Uri
nodeUri()
abstract Envelope
nodeUri(Uri node)
static Envelope
parseRecon(String recon)
Encoder<?,Envelope>
reconEncoder()
Writer<?,?>
reconWriter()
abstract String
tag()
String
toRecon()
String
toString()
Value
toValue()
Writer<?,?>
writeRecon(Output<?> output)
-
-
-
Method Detail
-
tag
public abstract String tag()
-
nodeUri
public abstract Uri nodeUri()
-
laneUri
public abstract Uri laneUri()
-
body
public abstract Value body()
-
toValue
public Value toValue()
-
reconWriter
public Writer<?,?> reconWriter()
-
toRecon
public String toRecon()
-
debug
public abstract <T> Output<T> debug(Output<T> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
-