Package org.apache.activemq.util
Class TransportValidationUtils
java.lang.Object
org.apache.activemq.util.TransportValidationUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvalidateAllowedUri(URI uri) Used to validate externally provided URI is not using a denied schemestatic voidvalidateAllowedUrl(String uriString) Used to validate externally provided url is not using a denied scheme
-
Field Details
-
DENIED_TRANSPORT_SCHEMES
-
-
Constructor Details
-
TransportValidationUtils
public TransportValidationUtils()
-
-
Method Details
-
validateAllowedUrl
Used to validate externally provided url is not using a denied scheme- Parameters:
uriString-- Throws:
URISyntaxException
-
validateAllowedUri
Used to validate externally provided URI is not using a denied scheme- Parameters:
uri-- Throws:
URISyntaxException
-