KlnSdr / AOP_SoSe23

0 stars 0 forks source link

AOP-10 | http client #10

Closed KlnSdr closed 1 year ago

KlnSdr commented 1 year ago
KlnSdr commented 1 year ago

adds a simple abstraction over the build in http client provided by java multiple request can bes sent using one client instance if they are to the same url/ip

sbstnschkhn commented 1 year ago

Dear Mr. Schneider, Your code for your client worked nearly perfect but one exception. The URL in the query hashmap can't handle white space. Your faithfully Sebastian D. Schekahn.

KlnSdr commented 1 year ago

query parameter keys and values now get url encoded to avoid IllegalArgument Exceptions when passing a string contaning whitespaces to the query