Package org.apache.nifi.remote.io.http
Class HttpServerCommunicationsSession
java.lang.Object
org.apache.nifi.remote.AbstractCommunicationsSession
org.apache.nifi.remote.io.http.HttpCommunicationsSession
org.apache.nifi.remote.io.http.HttpServerCommunicationsSession
- All Implemented Interfaces:
Closeable
,AutoCloseable
,CommunicationsSession
-
Field Summary
Modifier and TypeFieldDescriptionprivate ResponseCode
private Transaction.TransactionState
private final String
Fields inherited from class org.apache.nifi.remote.io.http.HttpCommunicationsSession
checksum, input, output, timeout
Fields inherited from interface org.apache.nifi.remote.protocol.CommunicationsSession
MAGIC_BYTES
-
Constructor Summary
ConstructorDescriptionHttpServerCommunicationsSession
(InputStream inputStream, OutputStream outputStream, String transactionId, String userDn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
putHandshakeParam
(HandshakeProperty key, String value) void
setResponseCode
(ResponseCode responseCode) void
Methods inherited from class org.apache.nifi.remote.io.http.HttpCommunicationsSession
close, createTransitUri, getBytesRead, getBytesWritten, getChecksum, getInput, getOutput, getTimeout, interrupt, isClosed, isDataAvailable, setChecksum, setDataTransferUrl, setTimeout
Methods inherited from class org.apache.nifi.remote.AbstractCommunicationsSession
getUserDn, setUserDn
-
Field Details
-
handshakeParams
-
transactionId
-
status
-
responseCode
-
-
Constructor Details
-
HttpServerCommunicationsSession
public HttpServerCommunicationsSession(InputStream inputStream, OutputStream outputStream, String transactionId, String userDn)
-
-
Method Details
-
getStatus
-
setStatus
-
getTransactionId
-
getResponseCode
-
setResponseCode
-
putHandshakeParam
-
getHandshakeParams
-