MCPcopy Create free account
hub / github.com/amadeus4dev/amadeus-java / parseStatusCode

Method parseStatusCode

src/main/java/com/amadeus/Response.java:93–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91 // Tries to parse the status code. Catches any exceptions and defaults to
92 // status 0 if an error occurred.
93 private void parseStatusCode() {
94 try {
95 this.statusCode = getRequest().getConnection().getResponseCode();
96 } catch (IOException e) {
97 this.statusCode = 0;
98 }
99 }
100
101 // Tries to parse the data
102 private void parseData() {

Callers 1

parseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected