return execute.execute(context, request).get();
}
});
}else if(request.getOperate()==Operate.Cancel){
completionService.submit(new Callable<Response>() {
private WorkerBeCancel cancel=new WorkerBeCancel();
public Response call() throws Exception {
return cancel.execute(context, request).get();
}
});
}
}else if(sm.getKind()==Kind.RESPONSE){
final Response resp=Response.newBuilder().mergeFrom(sm.getBody()).build();