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 Summary
Modifier and TypeMethodDescriptionvalidateHost(String host, EndpointHolder holder) Validates the host.validatePath(String path, EndpointHolder holder) Validates the path.intvalidatePort(int port, EndpointHolder holder) Validates the port.de.iip_ecosphere.platform.support.SchemavalidateSchema(de.iip_ecosphere.platform.support.Schema schema, EndpointHolder holder) Validates the schema.
-
Method Details
-
validateHost
Validates the host.- Parameters:
host- the original hostholder- the querying endpoint holder- Returns:
- the validated host
-
validatePort
Validates the port.- Parameters:
port- the original portholder- 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 schemaholder- the querying endpoint holder- Returns:
- the validated schema
-
validatePath
Validates the path.- Parameters:
path- the original pathholder- the querying endpoint holder- Returns:
- the validated path
-