@Test public void pathPrefixShouldMatch() throws Exception { URI create = URI.create("ws: URI test = URI.create("http: assertTrue(WseUtils.pathPrefixMatches(create, test)); }
public static boolean pathPrefixMatches(URI wsURI, URI downstreamOrUpstreamURI) { String createPath = wsURI.getPath(); String path = downstreamOrUpstreamURI.getPath(); if (!path.startsWith(createPath)) { return false; } return true; }
WseUtils { public static boolean pathPrefixMatches(URI wsURI, URI downstreamOrUpstreamURI) { String createPath = wsURI.getPath(); String path = downstreamOrUpstreamURI.getPath(); if (!path.startsWith(createPath)) { return false; } return true; } }
WseUtils { public static boolean pathPrefixMatches(URI wsURI, URI downstreamOrUpstreamURI) { String createPath = wsURI.getPath(); String path = downstreamOrUpstreamURI.getPath(); if (!path.startsWith(createPath)) { return false; } return true; }  }
WseUtils { public static boolean pathPrefixMatches(URI wsURI, URI downstreamOrUpstreamURI) { String createPath = wsURI.getPath(); String path = downstreamOrUpstreamURI.getPath(); if (!path.startsWith(createPath)) { return false; } return true; }  static boolean pathPrefixMatches(URI wsURI, URI downstreamOrUpstreamURI); }
WseUtils { public static boolean pathPrefixMatches(URI wsURI, URI downstreamOrUpstreamURI) { String createPath = wsURI.getPath(); String path = downstreamOrUpstreamURI.getPath(); if (!path.startsWith(createPath)) { return false; } return true; }  static boolean pathPrefixMatches(URI wsURI, URI downstreamOrUpstreamURI); static final String HEADER_X_WEBSOCKET_PROTOCOL; }