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.
|
Modifier and Type | Field and Description |
---|---|
private HttpMethod |
HttpWorker.httpMethod
The http method.
|
Constructor and Description |
---|
HttpWorker(int actorMaxOperationTimeoutSec,
com.ning.http.client.AsyncHttpClient client,
java.lang.String requestUrl,
HttpMethod httpMethod,
java.lang.String postData,
java.util.Map<java.lang.String,java.lang.String> httpHeaderMap,
ResponseHeaderMeta responseHeaderMeta)
Instantiates a new http worker.
|
Modifier and Type | Field and Description |
---|---|
private HttpMethod |
TaskRequest.httpMethod
The http method.
|
private HttpMethod |
HttpMeta.httpMethod
The http method.
|
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,
java.lang.String requestUrlPostfix,
java.lang.String entityBody,
java.lang.String requestPort,
ParallecHeader parallecHeader)
Instantiates a new http meta.
|
TaskRequest(int actorMaxOperationTimeoutSec,
RequestProtocol protocol,
java.lang.String host,
java.lang.String hostUniform,
int port,
java.lang.String resourcePath,
java.lang.String requestContent,
HttpMethod httpMethod,
boolean pollable,
java.util.Map<java.lang.String,java.lang.String> httpHeaderMap,
ParallecResponseHandler handler,
java.util.Map<java.lang.String,java.lang.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(java.lang.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.
|