Commonize into PathUtils; On Linux/BSD try to use xdg-open/x-www-browser if Java...
[SquirrelJME.git] / buildSrc / src / main / java / cc / squirreljme / plugin / util / SimpleHTTPStatus.java
blobb687948c84f5732d1d07fbe85b49e55b3f9394b4
1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
3 // SquirrelJME
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;
12 /**
13 * HTTP status.
15 * @since 2020/06/26
17 public enum SimpleHTTPStatus
19 /** Okay. */
20 OK(200),
22 /** Not found. */
23 NOT_FOUND(404),
25 /* End. */
28 /** The status code. */
29 public final int code;
31 /**
32 * Initializes the status.
34 * @param __code The code.
35 * @since 2020/06/26
37 SimpleHTTPStatus(int __code)
39 this.code = __code;