public static base_responses update ( nitro_service client , nshttpprofile resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { nshttpprofile updateresources [ ] = new nshttpprofile [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i ] = new nshttpprofile ( ) ; updateresources [ i ] . name = resources [ i ] . name ; updateresources [ i ] . dropinvalreqs = resources [ i ] . dropinvalreqs ; updateresources [ i ] . markhttp09inval = resources [ i ] . markhttp09inval ; updateresources [ i ] . markconnreqinval = resources [ i ] . markconnreqinval ; updateresources [ i ] . cmponpush = resources [ i ] . cmponpush ; updateresources [ i ] . conmultiplex = resources [ i ] . conmultiplex ; updateresources [ i ] . maxreusepool = resources [ i ] . maxreusepool ; updateresources [ i ] . dropextracrlf = resources [ i ] . dropextracrlf ; updateresources [ i ] . incomphdrdelay = resources [ i ] . incomphdrdelay ; updateresources [ i ] . websocket = resources [ i ] . websocket ; updateresources [ i ] . reqtimeout = resources [ i ] . reqtimeout ; updateresources [ i ] . adpttimeout = resources [ i ] . adpttimeout ; updateresources [ i ] . reqtimeoutaction = resources [ i ] . reqtimeoutaction ; updateresources [ i ] . dropextradata = resources [ i ] . dropextradata ; updateresources [ i ] . weblog = resources [ i ] . weblog ; updateresources [ i ] . clientiphdrexpr = resources [ i ] . clientiphdrexpr ; updateresources [ i ] . maxreq = resources [ i ] . maxreq ; updateresources [ i ] . persistentetag = resources [ i ] . persistentetag ; updateresources [ i ] . spdy = resources [ i ] . spdy ; } result = update_bulk_request ( client , updateresources ) ; } return result ; }
Use this API to update nshttpprofile resources .