code: public static base_response add(nitro_service client, nshttpprofile resource) throws Exception {
  		nshttpprofile addresource = new nshttpprofile();
  		addresource.name = resource.name;
  		addresource.dropinvalreqs = resource.dropinvalreqs;
  		addresource.markhttp09inval = resource.markhttp09inval;
  		addresource.markconnreqinval = resource.markconnreqinval;
  		addresource.cmponpush = resource.cmponpush;
  		addresource.conmultiplex = resource.conmultiplex;
  		addresource.maxreusepool = resource.maxreusepool;
  		addresource.dropextracrlf = resource.dropextracrlf;
  		addresource.incomphdrdelay = resource.incomphdrdelay;
  		addresource.websocket = resource.websocket;
  		addresource.reqtimeout = resource.reqtimeout;
  		addresource.adpttimeout = resource.adpttimeout;
  		addresource.reqtimeoutaction = resource.reqtimeoutaction;
  		addresource.dropextradata = resource.dropextradata;
  		addresource.weblog = resource.weblog;
  		addresource.clientiphdrexpr = resource.clientiphdrexpr;
  		addresource.maxreq = resource.maxreq;
  		addresource.persistentetag = resource.persistentetag;
  		addresource.spdy = resource.spdy;
  		return addresource.add_resource(client);
  	}
docs: Use this API to add nshttpprofile.