|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TResponseInfoContent
TResponseInfoContent represents the interface for Tamino XML document response informations. This mainly comprises the information contained within the result documents that are handed back from Tamino due to specific request. Furthermore all header field specific key/value pairs can be querried in a generic way by requesting the relevant collections.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |