/** * Creates a request with the PUT method. * * @param uri URI * @param body body * @param body type * @return {@code this} */ public static Builder put(String uri, Observable<ByteBuf> body) { return new Builder(PUT, uri).body(body); }
/** * Creates a request with the PATCH method. * * @param uri URI * @param body body * @param body type * @return {@code this} */ public static Builder patch(String uri, Observable<ByteBuf> body) { return new Builder(PATCH, uri).body(body); }
/** * Creates a request with the POST method. * * @param uri URI * @param body body * @param body type * @return {@code this} */ public static Builder post(String uri, Observable<ByteBuf> body) { return new Builder(POST, uri).body(body); }