aboutsummaryrefslogtreecommitdiff
path: root/lazybones.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lazybones.lisp')
-rw-r--r--lazybones.lisp14
1 files changed, 2 insertions, 12 deletions
diff --git a/lazybones.lisp b/lazybones.lisp
index 735fbd5..d72189b 100644
--- a/lazybones.lisp
+++ b/lazybones.lisp
@@ -2,7 +2,7 @@
(in-package #:lazybones)
-;;; Generic Functions
+;;; DYNAMIC VARIABLES
(defgeneric handle-request (what request)
(:documentation "Implemented for APP and ENDPOINT instances."))
@@ -10,20 +10,10 @@
(defgeneric dispatch-handler-p (endpoint request)
(:documentation "T if ENDPOINT should handle REQUEST, NIL otherwise"))
-(defgeneric uri-path (request)
- (:documentation "Returns the path associated with the request"))
-
-(defgeneric uri-query (request &key rawp)
- (:documentation "Returns the whole query associated with a
- request. If RAWP is truthy, should return the raw query
- string. Otherwise should parse it somehow."))
-
-(defgeneric request-body (request)
- (:documentation "Returns the body of a request that has one, or NIL if not."))
-
(defgeneric request-authorized-p (endpoint request)
(:documentation "Returns T if the REQUEST has authorization to dispatch the handler for ENDPOINT"))
+
;;; LAZYBONES CLASSES
(defclass app ()