|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.tamino.db.api.response.THeaderEnlister
public class THeaderEnlister
THeaderdEnlister provides services so that specific headers either given within a stream header or response can be enlisted at a TDataObject. Only headers that are of interest to the TDataObject are enlisted. Currently of interest are the last-modified and the content-type fields. This class implements the singleton pattern so only one instance is generally available.
Constructor Summary | |
---|---|
protected |
THeaderEnlister()
Default initialization. |
Method Summary | |
---|---|
TDataObject |
enlistAll(TInputStream inputStream,
TDataObject dataObject)
Enlists all relevant headers that might be given within the streams header instance on the given TDataObject and hands this instance back. |
TDataObject |
enlistAll(TResponseHandle responseHandle,
TDataObject dataObject)
Enlists all relevant headers that might be given within the response instance on the given TDataObject and hands this instance back. |
TDataObject |
enlistContentType(TInputStream inputStream,
TDataObject dataObject)
Enlists the content-type header on the TDataObject instance and hands back this instance. |
TDataObject |
enlistContentType(TResponseHandle responseHandle,
TDataObject dataObject)
Enlists the content-type header on the TDataObject instance and hands back this instance. |
TDataObject |
enlistLastModified(TInputStream inputStream,
TDataObject dataObject)
Enlists the last-modified header on the TDataObject instance and hands back this instance. |
TDataObject |
enlistLastModified(TResponseHandle responseHandle,
TDataObject dataObject)
Enlists the last-modified header on the TDataObject instance and hands back this instance. |
static THeaderEnlister |
getInstance()
Gets the singleton instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected THeaderEnlister()
Method Detail |
---|
public static THeaderEnlister getInstance()
public TDataObject enlistAll(TInputStream inputStream, TDataObject dataObject)
public TDataObject enlistAll(TResponseHandle responseHandle, TDataObject dataObject)
public TDataObject enlistLastModified(TInputStream inputStream, TDataObject dataObject)
public TDataObject enlistLastModified(TResponseHandle responseHandle, TDataObject dataObject)
public TDataObject enlistContentType(TInputStream inputStream, TDataObject dataObject)
public TDataObject enlistContentType(TResponseHandle responseHandle, TDataObject dataObject)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |