/** * Sends the specified response over the same endpoint as the request has * arrived. * * @param response the response */ public void sendResponse(Response response) { response.setDestination(request.getSource()); response.setDestinationPort(request.getSourcePort()); setResponse(response); endpoint.sendResponse(this, response); }
/** * Sends the specified response over the same endpoint as the request has * arrived. * * @param response the response */ public void sendResponse(Response response) { response.setDestination(request.getSource()); response.setDestinationPort(request.getSourcePort()); setResponse(response); endpoint.sendResponse(this, response); }