Version: 4.1.2
2.6 Web
The
web-server/servlet/web library provides the primary
functions of interest for the servlet developer.
Sends response to the client.
Holds the expiration-handler/c to be used when a continuation
captured in this context is expired, then looked up.
Captures the current continuation, stores it with exp as the expiration
handler, and binds it to a URL. make-response is called with this URL and
is expected to generate a response?, which is sent to the client. If the
continuation URL is invoked, the captured continuation is invoked and the request is
returned from this call to send/suspend.
Checks if u is a URL that refers to a continuation, if so
returns the instance id, continuation id, and nonce.
Calls the servlet’s manager’s adjust-timeout! function.
Calls the servlet’s manager’s clear-continuation-table! function.
Calls clear-continuation-table!, then send/suspend.
Calls clear-continuation-table!, then send/back.
Calls make-response with a function that, when called with a procedure from
request? to any/c will generate a URL, that when invoked will call
the function with the request? object and return the result to the caller of
send/suspend/dispatch.
Calls send/suspend with redirect-to.
Calls send/forward with redirect-to.
Creates a continuation-url?.
Holds a url-transform? function that is called by
send/suspend to transform the URLs it generates.