@Override
    public void end() {
        // Called when the upload to the 'API' is complete.  This is when we
        // need to response with the connection response.
        handler.handle(AsyncResultImpl.<IApiConnectionResponse>create(this));
    }
@see io.apiman.gateway.engine.io.IWriteStream#end()
gateway/engine/policies/src/main/java/io/apiman/gateway/engine/policies/caching/CacheConnectorInterceptor.java