protected String preprocessUri(String uriString) throws MalformedEndpointException
{
uriString = uriString.trim().replaceAll(" ", "%20");
if (!validateUrl(uriString))
{
throw new MalformedEndpointException(uriString);
}
schemeMetaInfo = retrieveSchemeMetaInfo(uriString);
if (schemeMetaInfo != null)
{
uriString = uriString.replaceFirst(schemeMetaInfo + ":", "");