lispdoc - results for request

hunchentoot:request
Type: Objects of this class hold all the information about an incoming request. They are created automatically by acceptors and can be accessed by the corresponding handler. You should not mess with the slots of these objects directly, but you can subclass REQUEST in order to implement your own behaviour. See the REQUEST-CLASS slot of the ACCEPTOR class.
  
hunchentoot:*request*
Variable: The current REQUEST object while in the context of a request.
  
(hunchentoot:request-uri object)
Undocumented
  
(hunchentoot:request-uri* &optional (request *request*))
Function: Returns the request URI.
  
(hunchentoot:handle-request acceptor request)
Function: This function is called once the request has been read and a REQUEST object has been created. Its job is to actually handle the request, i.e. to return something to the client. Might be a good place for around methods specialized for your subclass of ACCEPTOR which bind or rebind special variables which can then be accessed by your handlers.
  
(hunchentoot:request-method object)
Undocumented
  
(hunchentoot:request-method* &optional (request *request*))
Function: Returns the request method as a Lisp keyword.
  
(hunchentoot:process-request request)
Function: This function is called by PROCESS-CONNECTION after the incoming headers have been read. It calls HANDLE-REQUEST to select and call a handler and sends the output of this handler to the client using START-OUTPUT. Note that PROCESS-CONNECTION is called once per connection and loops in case of a persistent connection while PROCESS-REQUEST is called anew for each request. Essentially, you can view process-request as a thin wrapper around HANDLE-REQUEST. The return value of this function is ignored.
  
(hunchentoot:request-acceptor object)
Undocumented
  
(hunchentoot:within-request-p)
Function: True if we're in the context of a request, otherwise nil.
  
(hunchentoot:aux-request-value symbol &optional (request *request*))
Setf: Sets the value associated with SYMBOL from the request object REQUEST (default is *REQUEST*). If there is already a value associated with SYMBOL it will be replaced.
Function: Returns the value associated with SYMBOL from the request object REQUEST (the default is the current request) if it exists. The second return value is true if such a value was found.
  
hunchentoot:+http-bad-request+
Variable: HTTP return code (400) for 'Bad Request'.
  
(hunchentoot:abort-request-handler &optional result)
Function: This function can be called by a request handler at any time to immediately abort handling the request. This works as if the handler had returned RESULT. See the source code of REDIRECT for an example.
  
(hunchentoot:acceptor-request-class object)
Undocumented
  
(hunchentoot:acceptor-request-dispatcher object)
Undocumented
  
(hunchentoot:recompute-request-parameters &key (request *request*)
 (external-format *hunchentoot-default-external-format*))
Function: Recomputes the GET and POST parameters for the REQUEST object REQUEST. This only makes sense if you're switching external formats during the request.
  
hunchentoot:+http-request-time-out+
Variable: HTTP return code (408) for 'Request Time-out'.
  
(hunchentoot:delete-aux-request-value symbol &optional (request *request*))
Function: Removes the value associated with SYMBOL from the request object REQUEST.
  
hunchentoot:+http-request-uri-too-large+
Variable: HTTP return code (414) for 'Request-URI Too Large'.
  
hunchentoot:+http-request-entity-too-large+
Variable: HTTP return code (413) for 'Request Entity Too Large'.