private String extractPath ( final String uri ) { return DefaultWildcardStreamLocator . stripQueryPath ( uri . replace ( PREFIX , StringUtils . EMPTY ) ) ; }
Replaces the protocol specific prefix and removes the query path if it exist since it should not be accepted .