Package | Description |
---|---|
io.parallec.core |
Main package, including most user-facing classes such as the ParallelClient,
ParallelTask etc.
|
io.parallec.core.actor |
Actors to execute parallel task and return responses.
|
io.parallec.core.bean |
Beans.
|
Modifier and Type | Method and Description |
---|---|
ParallelTaskBuilder |
ParallelTaskBuilder.saveResponseHeaders(ResponseHeaderMeta responseHeaderMeta)
Sets the HTTP response header meta data.
|
Modifier and Type | Field and Description |
---|---|
private ResponseHeaderMeta |
HttpWorker.responseHeaderMeta
The response header meta: which keys are needed to get from response
header.
|
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 ResponseHeaderMeta |
TaskRequest.responseHeaderMeta
The response header meta.
|
private ResponseHeaderMeta |
HttpMeta.responseHeaderMeta
The response header meta: which keys are needed to get from response header.
|
Modifier and Type | Method and Description |
---|---|
ResponseHeaderMeta |
TaskRequest.getResponseHeaderMeta()
Gets the response header meta.
|
ResponseHeaderMeta |
HttpMeta.getResponseHeaderMeta()
Gets the response header meta.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpMeta.setResponseHeaderMeta(ResponseHeaderMeta responseHeaderMeta)
Sets the response header meta.
|
Constructor and Description |
---|
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.
|