All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nu.art.http.consts.HttpMethod Maven / Gradle / Ivy

There is a newer version: 1.2.59
Show newest version
/*
 * Copyright (c) 2016 to Adam van der Kruk (Zehavi) AKA TacB0sS - Nu-Art
 *
 * Restricted usage under specific license
 *
 */

package com.nu.art.http.consts;

public enum HttpMethod {
	Get("GET", false),
	Post("POST", true),
	Put("PUT", true),
	Delete("DELETE", false),;

	public final String method;

	public final boolean hasBody;

	HttpMethod(String method, boolean hasBody) {
		this.method = method;
		this.hasBody = hasBody;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy