Constructor and description |
---|
SoapUIAMFConnection
() Creates a default AMF connection instance. |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addAmfHeader(java.lang.String name, boolean mustUnderstand, java.lang.Object data) Adds an AMF packet-level header which is sent with every request for the life of this AMF connection. |
|
void |
addAmfHeader(java.lang.String name, java.lang.Object data) Add an AMF packet-level header with mustUnderstand=false, which is sent with every request for the life of this AMF connection. |
|
void |
addHttpRequestHeader(java.lang.String name, java.lang.String value) Adds a Http request header to the underlying connection. |
|
java.lang.Object |
call(PropertyExpansionContext context, java.lang.String command, java.lang.Object arguments) |
|
void |
close() Closes the underlying URL connection, sets the url to null, and clears the cookies. |
|
void |
connect(java.lang.String url) Connects to the URL provided. |
|
int |
getObjectEncoding() |
|
java.lang.String |
getUrl() |
|
static void |
registerAlias(java.lang.String alias, java.lang.String className) Registers a custom alias for a class name bidirectionally. |
|
void |
removeAllAmfHeaders() Removes all AMF headers. |
|
void |
removeAllHttpRequestHeaders() Removes all Http request headers. |
|
boolean |
removeAmfHeader(java.lang.String name) Removes any AMF headers found with the name given. |
|
boolean |
removeHttpRequestHeader(java.lang.String name) Removes the Http header found with the name given. |
|
void |
setObjectEncoding(int objectEncoding) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Adds an AMF packet-level header which is sent with every request for the life of this AMF connection.
name
- The name of the header.mustUnderstand
- Whether the header must be processed or not.data
- The value of the header.Add an AMF packet-level header with mustUnderstand=false, which is sent with every request for the life of this AMF connection.
name
- The name of the header.data
- The value of the header.Adds a Http request header to the underlying connection.
name
- The name of the Http header.value
- The value of the Http header.Closes the underlying URL connection, sets the url to null, and clears the cookies.
Connects to the URL provided. Any previous connections are closed.
url
- The url to connect to.Registers a custom alias for a class name bidirectionally.
alias
- The alias for the class name.className
- The concrete class name.Removes all AMF headers.
Removes all Http request headers.
Removes any AMF headers found with the name given.
name
- The name of the header(s) to remove.Removes the Http header found with the name given.
name
- The name of the Http header.