code: protected void header(String name, Object value){
          if(value == null) throw new NullPointerException("value cannot be null");
  
          header(name, value.toString());
      }
docs: Adds a header to response.
  
  @param name name of header.
  @param value value of header.