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