Asynchronous web endpoint. Endpoint is executed asynchronously. End of request processing must be signaled by calling complete().

By: Matej Lazar

no subtypes hierarchy

Initializer
AsynchronousEndpoint(Matcher path, void service(Request request, Response response, void complete()), {Method*} acceptMethod)
Parameters:
  • service

    Process the request. Implementors must call complete() when done.

Inherited Attributes
Attributes inherited from: EndpointBase
Attributes inherited from: HttpEndpoint
Attributes inherited from: Object
hash, string
Methods
serviceSource Codeshared void service(Request request, Response response, void complete())

Process the request. Implementors must call complete() when done.

Inherited Methods
Methods inherited from: Object
equals