public class TaskRequest extends Object
| Constructor and Description |
|---|
TaskRequest(int actorMaxOperationTimeoutSec,
RequestProtocol protocol,
String host,
String hostUniform,
int port,
String resourcePath,
String requestContent,
HttpMethod httpMethod,
boolean pollable,
Map<String,String> httpHeaderMap,
ParallecResponseHandler handler,
Map<String,Object> responseContext,
SshMeta sshMeta,
TcpMeta tcpMeta,
UdpMeta udpMeta,
PingMeta pingMeta,
ResponseHeaderMeta responseHeaderMeta)
Instantiates a new task request.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getActorMaxOperationTimeoutSec()
Gets the actor max operation timeout sec.
|
ParallecResponseHandler |
getHandler()
Gets the handler.
|
String |
getHost()
Gets the host.
|
String |
getHostUniform()
Gets the host uniform.
|
Map<String,String> |
getHttpHeaderMap()
Gets the http header map.
|
HttpMethod |
getHttpMethod()
Gets the http method.
|
PingMeta |
getPingMeta()
Gets the ping meta.
|
int |
getPort()
Gets the port.
|
String |
getPostData()
Gets the post data.
|
RequestProtocol |
getProtocol()
Gets the protocol.
|
String |
getRequestContent()
Gets the request content.
|
String |
getResourcePath()
Gets the resource path.
|
Map<String,Object> |
getResponseContext()
Gets the response context.
|
ResponseHeaderMeta |
getResponseHeaderMeta()
Gets the response header meta.
|
SshMeta |
getSshMeta()
Gets the ssh meta.
|
TcpMeta |
getTcpMeta()
Gets the tcp meta.
|
UdpMeta |
getUdpMeta()
Gets the udp meta.
|
boolean |
isPollable()
Checks if is pollable.
|
String |
toString() |
public TaskRequest(int actorMaxOperationTimeoutSec,
RequestProtocol protocol,
String host,
String hostUniform,
int port,
String resourcePath,
String requestContent,
HttpMethod httpMethod,
boolean pollable,
Map<String,String> httpHeaderMap,
ParallecResponseHandler handler,
Map<String,Object> responseContext,
SshMeta sshMeta,
TcpMeta tcpMeta,
UdpMeta udpMeta,
PingMeta pingMeta,
ResponseHeaderMeta responseHeaderMeta)
actorMaxOperationTimeoutSec - the actor max operation timeout secprotocol - the protocolhost - the hosthostUniform - the host uniformport - the portresourcePath - the resource pathrequestContent - the request contenthttpMethod - the http methodpollable - the pollablehttpHeaderMap - the http header maphandler - the handlerresponseContext - the response contextsshMeta - the ssh metatcpMeta - the tcp metaudpMeta - the udp metapingMeta - the ping metaresponseHeaderMeta - the response header metapublic String getResourcePath()
public HttpMethod getHttpMethod()
public String getPostData()
public String getRequestContent()
public boolean isPollable()
public Map<String,String> getHttpHeaderMap()
public RequestProtocol getProtocol()
public String getHost()
public String getHostUniform()
public int getPort()
public SshMeta getSshMeta()
public int getActorMaxOperationTimeoutSec()
public TcpMeta getTcpMeta()
public PingMeta getPingMeta()
public ParallecResponseHandler getHandler()
public Map<String,Object> getResponseContext()
public UdpMeta getUdpMeta()
public ResponseHeaderMeta getResponseHeaderMeta()
Copyright © 2015–2017 eBay. All rights reserved.