qbit/core/src/main/java/io/advantageous/qbit/proxy/ProxyServiceImpl.java
private void handleBackendClientResponses(final HttpRequest clientRequest,
                                              final int code,
                                              final String contentType,
                                              final byte[] body,
                                              final MultiMap<String, String> headers) {

        /** If it is handled like it timed out already or some other error then don't do anything. */
        if (!clientRequest.isHandled()) {

            /* If it was handled, let everyone know so we don't get a timeout. */
            clientRequest.handled();

            /* Send the response out the front end. */
            clientRequest.getReceiver().response(code, contentType, body, headers);
        }
    }
private void handleBackendClientResponses(final HttpRequest clientRequest,
                                              final int code,
                                              final String contentType,
                                              final byte[] body,
                                              final MultiMap<String, String> headers) {

        /** If it is handled like it timed out already or some other error then don't do anything. */
        if (!clientRequest.isHandled()) {

            /* If it was handled, let everyone know so we don't get a timeout. */
            clientRequest.handled();

            /* Send the response out the front end. */
            clientRequest.getReceiver().response(code, contentType, body, headers);
        }
    }
Handle a response from the backend service

@param clientRequest clientRequest (original client request)
@param code          response code from the backend.
@param contentType   contentType from the backend.
@param body          body from the backend.
@param headers       headers from the backend.