public class TStreamHeader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AUTHENTICATION_KEY
Key that identifies the authentication key.
|
static java.lang.String |
CLIENTREQUESTID
Key that identifies the the Tamino X-INO-clientRequestId parameter.
|
static java.lang.String |
COLLECTION
Key that identifies the collection.
|
static java.lang.String |
DOCTYPE
Key that identifies the schema.
|
static java.lang.String |
GROUPS
Key that identifies the the Tamino X-INO-Groups parameter.
|
static java.lang.String |
ID
Key that identifies the object id value key.
|
static java.lang.String |
ISOLATION_DEGREE
Key that identifies the the Tamino _ISOLATIONLEVEL parameter.
|
static java.lang.String |
ISOLATION_LEVEL
Key that identifies the the Tamino _ISOLATION parameter.
|
static java.lang.String |
LAST_MODIFIED
Key that identifies the last modified time.
|
static java.lang.String |
LOCK_MODE
Key that identifies the the Tamino _LOCKMODE parameter.
|
static java.lang.String |
LOCKWAIT_MODE
Key that identifies the the Tamino _LOCKWAIT parameter.
|
static java.lang.String |
RESPONSE_WRAPPER
Key that identifies the the response wrapper mode.
|
static java.lang.String |
RETURN_VALUE
Key that identifies the return value key.
|
static java.lang.String |
SESSION_ID
Key that identifies the session id that might have been send by Tamino within a session context.
|
static java.lang.String |
SESSION_KEY
Key that identifies the session key that might have been send by Tamino within a session context.
|
static java.lang.String |
VERSION_KEY
Key that identifies the version key.
|
Constructor and Description |
---|
TStreamHeader()
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(java.lang.String key)
Indicates if the specified key is given.
|
boolean |
containsValue(java.lang.String value)
Indicates if the specified value is given.
|
java.util.Collection<java.lang.String> |
getKeys()
Gets all keys for the header contained within the response message obtained from Tamino.
|
java.lang.String |
getValue(java.lang.String key)
Gets a specific header value for the specified header key.
|
java.lang.String |
getValue(java.lang.String key,
java.lang.String defaultValue)
Gets a specific header value for the specified header key.
|
java.util.Collection<java.lang.String> |
getValues()
Gets all values for the header contained within the response message obtained from Tamino.
|
boolean |
hasValue(java.lang.String key)
Tests whether a given key has a value, i.e.
|
void |
put(java.lang.String key,
java.lang.String value)
Puts the specified key/value pair into the header.
|
void |
remove(java.lang.String key)
Removes the mapping for the key if present.
|
void |
removeAdditional()
Removes all additional headers.
|
java.lang.String |
toString()
Returns a string representation of this stream header.
|
public static final java.lang.String LAST_MODIFIED
public static final java.lang.String SESSION_ID
public static final java.lang.String SESSION_KEY
public static final java.lang.String AUTHENTICATION_KEY
public static final java.lang.String VERSION_KEY
public static final java.lang.String RETURN_VALUE
public static final java.lang.String ID
public static final java.lang.String COLLECTION
public static final java.lang.String DOCTYPE
public static final java.lang.String RESPONSE_WRAPPER
public static final java.lang.String ISOLATION_LEVEL
public static final java.lang.String ISOLATION_DEGREE
public static final java.lang.String LOCK_MODE
public static final java.lang.String LOCKWAIT_MODE
public static final java.lang.String CLIENTREQUESTID
public static final java.lang.String GROUPS
public void put(java.lang.String key, java.lang.String value)
public void remove(java.lang.String key)
public void removeAdditional()
public java.util.Collection<java.lang.String> getKeys()
public java.util.Collection<java.lang.String> getValues()
public java.lang.String getValue(java.lang.String key)
key
- the key to look uppublic java.lang.String getValue(java.lang.String key, java.lang.String defaultValue)
key
- the key to look updefaultValue
- the value returned, if nothing is found for the given keypublic boolean hasValue(java.lang.String key)
key
- the key to look uppublic boolean containsKey(java.lang.String key)
public boolean containsValue(java.lang.String value)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 2017 Software AG. All Rights Reserved.