public class HttpClientTransaction extends AbstractTransaction
Transaction.TransactionState| Modifier and Type | Field and Description |
|---|---|
private SiteToSiteRestApiClient |
apiClient |
private String |
transactionUrl |
codec, dataAvailable, destinationId, direction, eventReporter, logger, peer, protocolVersion, state| Constructor and Description |
|---|
HttpClientTransaction(int protocolVersion,
Peer peer,
TransferDirection direction,
boolean useCompression,
String portId,
int penaltyMillis,
EventReporter eventReporter) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
close() |
void |
initialize(SiteToSiteRestApiClient apiUtil,
String transactionUrl) |
protected Response |
readTransactionResponse() |
protected void |
writeTransactionResponse(ResponseCode response,
String explanation,
boolean flush) |
cancel, complete, confirm, error, getCommunicant, getState, receive, send, send, toString, writeTransactionResponse, writeTransactionResponseprivate SiteToSiteRestApiClient apiClient
private String transactionUrl
public HttpClientTransaction(int protocolVersion,
Peer peer,
TransferDirection direction,
boolean useCompression,
String portId,
int penaltyMillis,
EventReporter eventReporter)
throws IOException
IOExceptionpublic void initialize(SiteToSiteRestApiClient apiUtil, String transactionUrl) throws IOException
IOExceptionprotected Response readTransactionResponse() throws IOException
readTransactionResponse in class AbstractTransactionIOExceptionprotected void writeTransactionResponse(ResponseCode response, String explanation, boolean flush) throws IOException
writeTransactionResponse in class AbstractTransactionIOExceptionprotected void close()
throws IOException
close in class AbstractTransactionIOExceptionCopyright © 2023 Apache NiFi Project. All rights reserved.