// partial response
closeInputStream(connection);
if (isOneway(exchange) && responseCode > 300) {
throw new HTTPException(responseCode, connection.getResponseMessage(), connection.getURL());
}
ClientCallback cc = exchange.get(ClientCallback.class);
if (null != cc) {
//REVISIT move the decoupled destination property name into api
Endpoint ep = exchange.getEndpoint();
if (null != ep && null != ep.getEndpointInfo() && null == ep.getEndpointInfo().
getProperty("org.apache.cxf.ws.addressing.MAPAggregator.decoupledDestination")) {
cc.handleResponse(null, null);
}
}
if (in != null) {
in.close();
}