public class THeaderEnlister
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
THeaderEnlister()
Default initialization.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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)
Copyright (c) 2017 Software AG. All Rights Reserved.