1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the GNU General Public License v3+, or later.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package cc
.squirreljme
.plugin
.util
;
13 * This represents the HTTP method.
17 public enum SimpleHTTPMethod
31 /** Has request body? */
32 public final boolean hasRequestBody
;
34 /** Has response body? */
35 public final boolean hasResponseBody
;
38 * Represents the HTTP method.
40 * @param __hasRequestBody Does this have a request body?
41 * @param __hasResponseBody Does this have a response body?
44 SimpleHTTPMethod(boolean __hasRequestBody
, boolean __hasResponseBody
)
46 this.hasRequestBody
= __hasRequestBody
;
47 this.hasResponseBody
= __hasResponseBody
;