public interface TResponseInfoContent extends TResponseContent
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the entire information content that is up to the current time given.
|
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 TResponseInfoItem given by the specifier is contained within
the response info instance.
|
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.
|
void setHeader(TStreamHeader header)
header
- the new headers.java.util.Collection getHeaderFieldKeys()
java.lang.String getHeaderFieldValue(java.lang.String key)
void putItem(java.lang.String specifier, TResponseContentItem responseContentItem)
specifier
- specifies the concrete result state item.responseContentItem
- is the item to be inserted.TResponseContentItem getItem(int index, java.lang.String specifier)
int getItemSize(java.lang.String specifier)
specifier
- identifies the specific content item for which the capacity is requested.void clear()
boolean hasItem(java.lang.String specifier)
Copyright (c) 2017 Software AG. All Rights Reserved.