*
* @author Roland Haeder <webmaster@shipsimu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2013 Core Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
*
// There are no cookies on console
throw new UnsupportedOperationException(array($this, __FUNCTION__, $executorInstance), self::EXCEPTION_UNSPPORTED_OPERATION);
}
+
+ /**
+ * Checks if the request method is GET.
+ *
+ * @return $isGet Whether the request method is GET
+ * @throws UnsupportedOperationException This method should never be called
+ */
+ public function isGetRequestMethod () {
+ // Not support method
+ throw new UnsupportedOperationException(array($this, __FUNCTION__, $executorInstance), self::EXCEPTION_UNSPPORTED_OPERATION);
+ }
+
+ /**
+ * Checks if the request method is HEAD.
+ *
+ * @return $isHead Whether the request method is HEAD
+ * @throws UnsupportedOperationException This method should never be called
+ */
+ public function isHeadRequestMethod () {
+ // Not support method
+ throw new UnsupportedOperationException(array($this, __FUNCTION__, $executorInstance), self::EXCEPTION_UNSPPORTED_OPERATION);
+ }
+
+ /**
+ * Checks if the request method is POST.
+ *
+ * @return $isPost Whether the request method is POST
+ * @throws UnsupportedOperationException This method should never be called
+ */
+ public function isPostRequestMethod () {
+ // Not support method
+ throw new UnsupportedOperationException(array($this, __FUNCTION__, $executorInstance), self::EXCEPTION_UNSPPORTED_OPERATION);
+ }
}
// [EOF]