public class OslcTestRouterHandler extends BaseRouterHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONNECTTIMEOUT
The connection timeout property name.
|
static java.lang.String |
COOKIES |
static java.lang.String |
HEADERS |
static java.lang.String |
HTTP_ETAG
The binding key for programmatic setting of url properties for HTTP GET.
|
static java.lang.String |
HTTP_HEADERPROPS
The binding key for programmatic setting of url properties for HTTP GET.
|
static java.lang.String |
HTTP_REQUEST_COOKIES
The binding key for programmatic setting of url properties for HTTP GET.
|
static java.lang.String |
HTTPEXIT
The exit class property name for processing HTTP request and response.
|
static java.lang.String |
HTTPGET_URLPROPS
The binding key for programmatic setting of url properties for HTTP GET.
|
static java.lang.String |
HTTPMETHOD
The HTTP method name property.
|
static java.lang.String |
HTTPMETHOD_DELETE
HTTP DELETE.
|
static java.lang.String |
HTTPMETHOD_GET |
static java.lang.String |
HTTPMETHOD_POST
HTTP POST.
|
static java.lang.String |
HTTPMETHOD_PUT
HTTP PUT.
|
static java.lang.String |
READTIMEOUT
The connection timeout property name.
|
static java.lang.String |
RESPONSE_HEADERS |
static java.lang.String |
URL
The HTTP url binding property name.
|
BIDICONFIG, PASSWORD, USERNAME
Constructor and Description |
---|
OslcTestRouterHandler() |
Modifier and Type | Method and Description |
---|---|
java.util.List<RouterPropsInfo> |
getProperties() |
byte[] |
invoke(java.util.Map metaData,
byte[] data)
All directly extending classes should call super.invoke(metaData, data) before proceeding
with the invoke.
|
public static final java.lang.String HTTPMETHOD_GET
public static final java.lang.String HTTPMETHOD_POST
public static final java.lang.String HTTPMETHOD_PUT
public static final java.lang.String HTTPMETHOD_DELETE
public static final java.lang.String RESPONSE_HEADERS
public static final java.lang.String HTTPGET_URLPROPS
public static final java.lang.String HTTP_HEADERPROPS
public static final java.lang.String HTTP_REQUEST_COOKIES
public static final java.lang.String HTTP_ETAG
public static final java.lang.String HTTPEXIT
public static final java.lang.String HTTPMETHOD
public static final java.lang.String HEADERS
public static final java.lang.String COOKIES
public static final java.lang.String URL
public static final java.lang.String CONNECTTIMEOUT
public static final java.lang.String READTIMEOUT
public java.util.List<RouterPropsInfo> getProperties()
public byte[] invoke(java.util.Map metaData, byte[] data) throws MXException
BaseRouterHandler
invoke
in interface RouterHandler
invoke
in class BaseRouterHandler
MXException
RouterHandler.invoke(java.util.Map, byte[])