public class ConnectServiceValidator
extends java.lang.Object
| Constructor and Description |
|---|
ConnectServiceValidator(com.aurea.sonic.esb.annotation.util.ProcessorContext context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
validateService(ConnectModel service)
Validates the ConnectModel.getBaseUrl() of
service with the following rules
Do null-check
Checks the protocol is http
Checks the existence of path
|
public ConnectServiceValidator(com.aurea.sonic.esb.annotation.util.ProcessorContext context)
public boolean validateService(ConnectModel service)
service with the following rules
service - sonic connect modeltrue if service is valid, otherwise false