public class TResponseInfoContentImpl extends java.lang.Object implements TResponseInfoContent
Constructor and Description |
---|
TResponseInfoContentImpl()
Default initialization.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the entire information content that is given up to the current time.
|
java.util.Collection |
getHeaderFieldKeys()
Gets all keys for the header contained within the response message obtained from Tamino.
|
java.lang.String |
getHeaderFieldValue(java.lang.String key)
Gets a specific header value for the specified header key.
|
TResponseContentItem |
getItem(int index,
java.lang.String specifier)
Gets the TResponseInfoItem instance that matches the given specifier with the given
index.
|
int |
getItemSize(java.lang.String specifier)
Returns the number of response content items that have been put into the info content
for the given specifier.
|
boolean |
hasItem(java.lang.String specifier)
Indicates if a TResultStateItem given by the specifier is contained within
the result state.
|
void |
putItem(java.lang.String specifier,
TResponseContentItem responseContentItem)
Puts the given TResponseContentItem with the given specifier to this info content.
|
void |
setHeader(TStreamHeader header)
Sets a new header represented by the given TStreamHeader instance.
|
public TResponseInfoContentImpl()
public void setHeader(TStreamHeader header)
setHeader
in interface TResponseInfoContent
header
- the new headers.public java.util.Collection getHeaderFieldKeys()
getHeaderFieldKeys
in interface TResponseInfoContent
public java.lang.String getHeaderFieldValue(java.lang.String key)
getHeaderFieldValue
in interface TResponseInfoContent
public void putItem(java.lang.String specifier, TResponseContentItem responseContentItem)
putItem
in interface TResponseInfoContent
specifier
- specifies the concrete result state item.responseContentItem
- is the item to be inserted.public TResponseContentItem getItem(int index, java.lang.String specifier)
getItem
in interface TResponseInfoContent
public int getItemSize(java.lang.String specifier)
getItemSize
in interface TResponseInfoContent
specifier
- identifies the specific content item for which the capacity is requested.public void clear()
clear
in interface TResponseInfoContent
public boolean hasItem(java.lang.String specifier)
hasItem
in interface TResponseInfoContent
Copyright (c) 2017 Software AG. All Rights Reserved.