public <T> T patch(final Class<T> type, @DelegatesTo(HttpConfig.class) final Closure closure) {
        return type.cast(interceptors.get(HttpVerb.PATCH).apply(configureRequest(type, HttpVerb.PATCH, closure), this::doPatch));
    }
public < T > T patch ( final Class < T > type , @ DelegatesTo ( HttpConfig . class ) final Closure closure ) { return type . cast ( interceptors . get ( HttpVerb . PATCH ) . apply ( configureRequest ( type , HttpVerb . PATCH , closure ) , this :: doPatch ) ) ; }
Executes a PATCH request on the configured URI, with additional configuration provided by the configuration closure. The result will be cast to
the specified `type`.

[source,groovy]
----
def http = HttpBuilder.configure {
request.uri = 'http://localhost:10101'
}
String result = http.patch(String){
request.uri.path = '/something'
}
----

The configuration `closure` allows additional configuration for this request based on the {@link HttpConfig} interface.

@param type the type of the response content
@param closure the additional configuration closure (delegated to {@link HttpConfig})
@return the resulting content cast to the specified type