|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.tamino.db.api.invocation.TInvocationRequestWriter
com.softwareag.tamino.db.api.invocation.wsl.TWSLInvocationRequestWriter
public class TWSLInvocationRequestWriter
TWSLInvocationRequestWriter constructs a multipart/form-data documents which will be transmitted to Tamino via a POST request.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.softwareag.tamino.db.api.invocation.TInvocationRequestWriter |
---|
TInvocationRequestWriter.TCommandItemPairWriter |
Constructor Summary | |
---|---|
TWSLInvocationRequestWriter()
Creates new TWSLInvocationRequestWriter |
Method Summary | |
---|---|
protected void |
close()
Closes the invocation request. |
protected boolean |
isClosed()
Indicates if request writer is currently closed meaning that it is not possible to write any command statements into a Tamino request. |
void |
setConnection(WSL wsl)
Sets a new WSL connection so that a new invocation request can be written. |
protected void |
write(java.lang.String key,
java.lang.String value)
Writes the given key/value pair into the invocation request. |
protected void |
write(java.lang.String key,
TStreamable value)
Writes the given key/value pair into the invocation request. |
Methods inherited from class com.softwareag.tamino.db.api.invocation.TInvocationRequestWriter |
---|
getLocale, setLocale, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TWSLInvocationRequestWriter()
Method Detail |
---|
public void setConnection(WSL wsl) throws TInvocationRequestNotWritableException
wsl
- to be initialized for communication.
TInvocationRequestNotWritableException
- if any problems during writing occur.protected void write(java.lang.String key, java.lang.String value) throws TInvocationRequestNotWritableException
write
in class TInvocationRequestWriter
key
- that identifies a Tamino specific command key (e.g. _process).value
- is referred to the key and might be the content for a Tamino
specific command.
TInvocationRequestNotWritableException
- if any problems during writing occur.protected void write(java.lang.String key, TStreamable value) throws TInvocationRequestNotWritableException
write
in class TInvocationRequestWriter
key
- that identifies a Tamino specific command key (e.g. _process).value
- is referred to the key and might be the content for a Tamino
specific command. The value is here given as a TStreamable instance.
TInvocationRequestNotWritableException
- if any problems during writing occur.protected void close() throws TInvocationRequestNotWritableException
close
in class TInvocationRequestWriter
TInvocationRequestNotWritableException
- if any problems during writing occur.protected boolean isClosed()
isClosed
in class TInvocationRequestWriter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |