Package nxt.http.proxy
Class ResponseConfirmation
java.lang.Object
nxt.http.proxy.ResponseConfirmation
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionResponseConfirmation(org.eclipse.jetty.client.HttpClient httpClient, javax.servlet.http.HttpServletRequest clientRequest) -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanaddListener(Listener<ResponseConfirmation> listener, ResponseConfirmation.Event eventType) static booleanremoveListener(Listener<ResponseConfirmation> listener, ResponseConfirmation.Event eventType) voidstartConfirmation(List<URI> nodesUrls, int idleTimeout)
-
Constructor Details
-
ResponseConfirmation
public ResponseConfirmation(org.eclipse.jetty.client.HttpClient httpClient, javax.servlet.http.HttpServletRequest clientRequest)
-
-
Method Details
-
addListener
public static boolean addListener(Listener<ResponseConfirmation> listener, ResponseConfirmation.Event eventType) -
removeListener
public static boolean removeListener(Listener<ResponseConfirmation> listener, ResponseConfirmation.Event eventType) -
startConfirmation
-
getInitialNode
- Returns:
- The address of the node which provided the initial response, the one which is being confirmed
-
getReport
-