public class ForwardClient extends Interface_Client
Constructor and Description |
---|
ForwardClient(java.lang.String user,
java.lang.String pw) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
executeGet(java.lang.String urlStr,
java.util.Map<java.lang.String,java.lang.String> paramsMap)
Executes a rerouted HTTP GET request as a POST on the specified URL
|
java.lang.String |
executePost(EngineInstance instance,
java.util.Map<java.lang.String,java.lang.String> params,
java.lang.String path) |
java.lang.String |
executePost(java.lang.String urlStr,
java.util.Map<java.lang.String,java.lang.String> paramsMap)
Executes a HTTP POST request on the url specified.
|
protected java.lang.String |
forward(EngineInstance instance,
java.util.Map<java.lang.String,java.lang.String> params,
java.lang.String path,
java.lang.String method) |
getReply, initPostConnection, prepareParamMap, send, setReadTimeout, stripOuterElement, successful
public java.lang.String executeGet(java.lang.String urlStr, java.util.Map<java.lang.String,java.lang.String> paramsMap) throws java.io.IOException
Interface_Client
executeGet
in class Interface_Client
urlStr
- the URL to send the GET toparamsMap
- a set of attribute-value pairs that make up the posted datajava.io.IOException
- when there's some kind of communication problempublic java.lang.String executePost(java.lang.String urlStr, java.util.Map<java.lang.String,java.lang.String> paramsMap) throws java.io.IOException
Interface_Client
executePost
in class Interface_Client
urlStr
- the URL to send the POST toparamsMap
- a set of attribute-value pairs that make up the posted datajava.io.IOException
- when there's some kind of communication problempublic java.lang.String executePost(EngineInstance instance, java.util.Map<java.lang.String,java.lang.String> params, java.lang.String path) throws java.io.IOException
java.io.IOException
protected java.lang.String forward(EngineInstance instance, java.util.Map<java.lang.String,java.lang.String> params, java.lang.String path, java.lang.String method) throws java.io.IOException
java.io.IOException
Copyright © 2004-2014 The YAWL Foundation.