Class BasicEndpointValidator
java.lang.Object
de.iip_ecosphere.platform.support.iip_aas.config.BasicEndpointValidator
- All Implemented Interfaces:
EndpointValidator
- Direct Known Subclasses:
RuntimeSetupEndpointValidator
A basic endpoint holder validator just passing through all input data.
- Author:
- Holger Eichelberger, SSE
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
BasicEndpointValidator
public BasicEndpointValidator()
-
-
Method Details
-
validateHost
Description copied from interface:EndpointValidatorValidates the host.- Specified by:
validateHostin interfaceEndpointValidator- Parameters:
host- the original hostholder- the querying endpoint holder- Returns:
- the validated host
-
validatePort
Description copied from interface:EndpointValidatorValidates the port.- Specified by:
validatePortin interfaceEndpointValidator- Parameters:
port- the original portholder- the querying endpoint holder- Returns:
- the validated port
-
validateSchema
public de.iip_ecosphere.platform.support.Schema validateSchema(de.iip_ecosphere.platform.support.Schema schema, EndpointHolder holder) Description copied from interface:EndpointValidatorValidates the schema.- Specified by:
validateSchemain interfaceEndpointValidator- Parameters:
schema- the original schemaholder- the querying endpoint holder- Returns:
- the validated schema
-
validatePath
Description copied from interface:EndpointValidatorValidates the path.- Specified by:
validatePathin interfaceEndpointValidator- Parameters:
path- the original pathholder- the querying endpoint holder- Returns:
- the validated path
-