CaosDBComponent

class CaosDBComponent extends Component

Constructors

CaosDBComponent

public CaosDBComponent()

Methods

handle

public void handle(Request request, Response response)

This function is doing the actual work as soon as a request arrives. In this case this consists in: - Logging the request, the response and the current time - The response gets updated with server info - The request gets updated with an SRID (server request ID)

Apart from that super.handle will be called.

The main purpose of the SRID is to allow efficient debugging by checking the error log for the request causing the error.