Helper services

zato.server.service.internal.helpers contains a set of helper services coming in handy during development and documented below.

The services can be used either standalone or as base classes for user-defined ones.

Echo

Echos 1:1 everything received on input. Usage idea - mounting on an HTTP channel secured with credentials that need to be confirmed. If correct, response will be equal to request.

InputLogger

Sends to server.log, or stdout if running in foreground, the request received along with metadata. Usage idea - mounting on an HTTP channel to make sure a client application actually sends everything that is required.

SIOInputLogger

Similar to InputLogger but logs SimpleIO input only. Usage idea - as with InputLogger but here a service would need to subclass or mix in SIOInputLogger instead of mounting it directly on a channel.

HTMLService

Produces HTML output - described in its own chapter.