Quantcast
Channel: JavaPins - Stories tagged with rest
Viewing all articles
Browse latest Browse all 18

Improve your life Through Science and Art: WS: Keep REST/HTTP/HESSIAN client state by one line of code

$
0
0
Stateful HTTP-services require you to pass the jsessionid back and forth between a Java-based HTTP client (like Hessian, REST-client like Jersey/RESTeasy, SOAP, or plain HTTP-connection) as URL-extension or cookie.  JDK 1.6 comes with java.net.CookieManager which handles all the bookkeeping for you.
Pin it

Viewing all articles
Browse latest Browse all 18

Trending Articles