Interface EndpointValidator

All Known Implementing Classes:
BasicEndpointValidator, RuntimeSetupEndpointValidator

public interface EndpointValidator
Validates data in an endpoint holder, may override returned data.
Author:
Holger Eichelberger, SSE
  • Method Details

    • validateHost

      String validateHost(String host, EndpointHolder holder)
      Validates the host.
      Parameters:
      host - the original host
      holder - the querying endpoint holder
      Returns:
      the validated host
    • validatePort

      int validatePort(int port, EndpointHolder holder)
      Validates the port.
      Parameters:
      port - the original port
      holder - the querying endpoint holder
      Returns:
      the validated port
    • validateSchema

      de.iip_ecosphere.platform.support.Schema validateSchema(de.iip_ecosphere.platform.support.Schema schema, EndpointHolder holder)
      Validates the schema.
      Parameters:
      schema - the original schema
      holder - the querying endpoint holder
      Returns:
      the validated schema
    • validatePath

      String validatePath(String path, EndpointHolder holder)
      Validates the path.
      Parameters:
      path - the original path
      holder - the querying endpoint holder
      Returns:
      the validated path