The cookies-handler tool is desined to work with header and cookies information.
- Commons Httpclient
- Servlet API.
Replace http
or https
with valid url:
HttpClient client = new HttpClient();
// Http or Https Url must be specified first
GetMethod method = new GetMethod("...");
Header information:
- Response code
- Permissions
- Request method
- Content
- Content length
- Content type
- Error stream
Cookies information:
- Cookie name
- Cookie value
- Persistency value
- Exparation date
- Comment about cookie