Implementations of this class listen for requests arriving from the gateway server and notified by {@link RHTTPClient}.
6667686970717273747576
{ String targetId = "1"; final RHTTPClient client = new JettyClient(httpClient, address, server.getContext().getContextPath()+GatewayServer.DFT_CONNECT_PATH, targetId); final AtomicReference<Integer> requestId = new AtomicReference<Integer>(); final AtomicReference<Exception> exceptionRef = new AtomicReference<Exception>(); client.addListener(new RHTTPListener() { public void onRequest(RHTTPRequest request) { try {
8788899091929394959697
try { String targetId = "1"; final RHTTPClient client = new JettyClient(httpClient, address, server.getContext().getContextPath()+GatewayServer.DFT_CONNECT_PATH, targetId); final AtomicReference<Exception> exception = new AtomicReference<Exception>(); client.addListener(new RHTTPListener() { public void onRequest(RHTTPRequest request) { try {
7475767778798081828384
try { String targetId = "1"; final RHTTPClient client = new JettyClient(httpClient, address, server.getContext().getContextPath()+GatewayServer.DFT_CONNECT_PATH, targetId); final AtomicReference<Exception> exceptionRef = new AtomicReference<Exception>(); client.addListener(new RHTTPListener() { public void onRequest(RHTTPRequest request) { try {