public TaskSummary removeApplication ( String brooklynId ) throws IOException { Invocation invocation = getJerseyClient ( ) . target ( getEndpoint ( ) + "/v1/applications/" + brooklynId ) . request ( ) . buildDelete ( ) ; return invocation . invoke ( ) . readEntity ( TaskSummary . class ) ; }
Creates a proxied HTTP DELETE request to Apache Brooklyn to remove an application