Code example for BasicHeader

0
        headers = new HashMap<String, Header>();
    } 
 
    @Override 
    public void addHeader(String name, String value) {
        headers.put(name, new BasicHeader(name, value));
    } 
 
    @Override 
    public Header getFirstHeader(String name) {
        return headers.get(name);
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE