| Package | Description |
|---|---|
| io.parallec.core.actor |
Actors to execute parallel task and return responses.
|
| io.parallec.core.bean |
Beans.
|
| io.parallec.core.resources |
External resources on async http client stores, thread pools for netty/ping/ssh.
|
| Constructor and Description |
|---|
HttpWorker(int actorMaxOperationTimeoutSec,
com.ning.http.client.AsyncHttpClient client,
String requestUrl,
HttpMethod httpMethod,
String postData,
Map<String,String> httpHeaderMap,
ResponseHeaderMeta responseHeaderMeta)
Instantiates a new http worker.
|
| Modifier and Type | Method and Description |
|---|---|
HttpMethod |
TaskRequest.getHttpMethod()
Gets the http method.
|
HttpMethod |
HttpMeta.getHttpMethod()
Gets the http method.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HttpMeta.setHttpMethod(HttpMethod httpMethod)
Sets the http method.
|
| Constructor and Description |
|---|
HttpMeta(HttpMethod httpMethod,
String requestUrlPostfix,
String entityBody,
String requestPort,
ParallecHeader parallecHeader)
Instantiates a new http meta.
|
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 |
|---|---|
static HttpMethod |
HttpMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethod[] |
HttpMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2015–2017 eBay. All rights reserved.