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