Add custom headers to a request message. This is a name/value pair that defines the operating parameters of an HTTP transaction. Custom headers are optional while sending a data request to the back-end.
Map<String,String>cookie = null; cookie.put("KKNBJDNADU23123SHSFH", "cookie"); getRequest.setHeaders(cookie);