final OutboundRequest request = nextRequest(distilled);
// must wrap to provide getUnfulfilledConstraints implementation
return new OutboundRequest() {
public void populateContext(Collection context) {
request.populateContext(context);
}
public InvocationConstraints getUnfulfilledConstraints() {
return distilled.getUnfulfilledConstraints();
}
public OutputStream getRequestOutputStream() {