121122123124125126127
public static GetRequest head(String url) { return new GetRequest(HttpMethod.HEAD, url); } public static HttpRequestWithBody options(String url) { return new HttpRequestWithBody(HttpMethod.OPTIONS, url); }
125126127128129130131
public static HttpRequestWithBody options(String url) { return new HttpRequestWithBody(HttpMethod.OPTIONS, url); } public static HttpRequestWithBody post(String url) { return new HttpRequestWithBody(HttpMethod.POST, url); }
129130131132133134135
public static HttpRequestWithBody post(String url) { return new HttpRequestWithBody(HttpMethod.POST, url); } public static HttpRequestWithBody delete(String url) { return new HttpRequestWithBody(HttpMethod.DELETE, url); }
133134135136137138139
public static HttpRequestWithBody delete(String url) { return new HttpRequestWithBody(HttpMethod.DELETE, url); } public static HttpRequestWithBody patch(String url) { return new HttpRequestWithBody(HttpMethod.PATCH, url); }
137138139140141142143
public static HttpRequestWithBody patch(String url) { return new HttpRequestWithBody(HttpMethod.PATCH, url); } public static HttpRequestWithBody put(String url) { return new HttpRequestWithBody(HttpMethod.PUT, url); }