Properties:
| Name | Type | Description |
|---|---|---|
authentication |
server.HTTPAuth | (default: |
delegate |
server.HTTPSession | (default: |
generateSessionId |
function | A function for generating a session ID out of a request. |
when |
function | (default: |
Extends
Methods
-
getSession (id)server.HTTPSession
-
Returns the server.HTTPSession for the given ID. Creates a new session, if necessary.
Name Type Description idstring The session ID.
Returns:
Type Description server.HTTPSession The session. -
Creates a simple predicate for
whenthat tests just for a path prefix.Name Type Description pstring The path prefix to test for.
Returns:
Type Description function A predicate function to use for when.