public < T > T put ( final Class < T > type , final Consumer < HttpConfig > configuration ) { return type . cast ( interceptors . get ( HttpVerb . PUT ) . apply ( configureRequest ( type , HttpVerb . PUT , configuration ) , this :: doPut ) ) ; }
Executes a PUT request on the configured URI with additional configuration provided by the configuration function . The result will be cast to the specified type .