protected Transport createTransport(URI location, WireFormat wf) throws IOException { TextWireFormat textWireFormat = asTextWireFormat(wf); // need to remove options from uri URI uri; try { uri = URISupport.removeQuery(location); } catch (URISyntaxException e) { MalformedURLException cause = new MalformedURLException("Error removing query on " + location); cause.initCause(e); throw cause; } return new HttpClientTransport(textWireFormat, uri); }
@Override protected Transport createTransport(URI location, WireFormat wf) throws IOException { TextWireFormat textWireFormat = asTextWireFormat(wf); // need to remove options from uri URI uri; try { uri = URISupport.removeQuery(location); } catch (URISyntaxException e) { MalformedURLException cause = new MalformedURLException("Error removing query on " + location); cause.initCause(e); throw cause; } return new HttpClientTransport(textWireFormat, uri); }
@Override protected Transport createTransport(URI location, WireFormat wf) throws IOException { TextWireFormat textWireFormat = asTextWireFormat(wf); // need to remove options from uri URI uri; try { uri = URISupport.removeQuery(location); } catch (URISyntaxException e) { MalformedURLException cause = new MalformedURLException("Error removing query on " + location); cause.initCause(e); throw cause; } return new HttpClientTransport(textWireFormat, uri); }
@Override protected Transport createTransport(URI location, WireFormat wf) throws IOException { TextWireFormat textWireFormat = asTextWireFormat(wf); // need to remove options from uri URI uri; try { uri = URISupport.removeQuery(location); } catch (URISyntaxException e) { MalformedURLException cause = new MalformedURLException("Error removing query on " + location); cause.initCause(e); throw cause; } return new HttpClientTransport(textWireFormat, uri); }