MCPcopy Index your code
hub / github.com/amadeus4dev/amadeus-java / fetch

Method fetch

src/main/java/com/amadeus/HTTPClient.java:367–375  ·  view source on GitHub ↗
(Request request)

Source from the content-addressed store, hash-verified

365
366 // Tries to make an API call. Raises an error if it can't complete the call.
367 private Request fetch(Request request) throws NetworkException {
368 try {
369 request.establishConnection();
370 write(request);
371 } catch (IOException e) {
372 throw new NetworkException(new Response(request));
373 }
374 return request;
375 }
376
377 // Writes the parameters to the request.
378 private void write(Request request) throws IOException {

Callers 1

executeMethod · 0.95

Calls 2

writeMethod · 0.95
establishConnectionMethod · 0.80

Tested by

no test coverage detected