AboutOperations

Class used to obtain information about running services.

Extends: RestOperations

Description

The AboutOperations class is used to obtain information about running services.

Instance methods

about

Gets information from a service. Send JSON string with information about the service.

public about(req, res): void

  • req: any - an HTTP request
  • res: any - an HTTP response

getAboutOperation

Gets the service’s information.

public Function<ContainerRequestContext, Response> getAboutOperation()

  • returns: Function<ContainerRequestContext, Response> - the about method

setReferences

Sets the references of the service.

public void setReferences(IReferences references) throws ReferenceException, ConfigException