Object - http : FilterContext

Representation of request filter Context.

Constructor

__init

(service serviceRef, string serviceName, string resourceName)

  • serviceRef service
  • The service to which the context is applied

  • serviceName string
  • Name of the service

  • resourceName string
  • Name of the resource function

Methods

Gets the service to which the http:FilerContext is applied.

Gets the service name to which the http:FilerContext is applied.

Gets the resource function name to which the http:FilerContext is applied.

Fields

  • attributes map (default {})
  • Attributes to share between filters

getService

()

returns service

Gets the service to which the http:FilerContext is applied.

  • Return Type

    (service)
  • service of the context

getServiceName

()

returns string

Gets the service name to which the http:FilerContext is applied.

  • Return Type

    (string)
  • Name of the service

getResourceName

()

returns string

Gets the resource function name to which the http:FilerContext is applied.

  • Return Type

    (string)
  • Name of the resource function