Package com.sun.xml.ws.client
Class ResponseContext
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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractMap
clone, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
ResponseContext
- Parameters:
packet- ThePacketto wrap.
-
-
Method Details
-
containsKey
- Specified by:
containsKeyin interfaceMap<String,Object> - Overrides:
containsKeyin classAbstractMap<String,Object>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
entrySet
-