Implements "response context" on top of
Packet .
This class creates a read-only
Map view that
gets exposed to client applications after an invocation
is complete.
The design goal of this class is to make it efficient
to create a new
ResponseContext , at the expense
of making some
Map operations slower. This is
justified because the response context is mostly just
used to query a few known values, and operations like
enumeration isn't likely.
Some of the
Map methods requre this class to
build the complete
Set of properties, but we
try to avoid that as much as possible.
TODO: are we exposing all strongly-typed fields, or
do they have appliation/handler scope notion?
author: Kohsuke Kawaguchi |