-
Notifications
You must be signed in to change notification settings - Fork 94
Request Object
David edited this page May 5, 2013
·
8 revisions
Home > API > Request-Object
The request object passed to a the run() function of a response processing module or the callback function of basic module is a org.apache.http.HttpUriRequest object, which extends the HttpRequest object.
RequestLine request.requestLine
Returns a RequestLine object, which stores information about the request line associated with the request.
Header[] request.allHeaders
Returns an array of Header objects.
Header[] request.headers(String name)
Returns an array of Header objects corresponding to the name name.
Header firstHeader(String name)
Returns the first Header object that matches name.
Header lastHeader(String name)
Returns the last Header object that matches name.
boolean request.containsHeader(String name)
Returns true if the request contains the header name.
Have feedback on Vega? Our documentation? Please tell us.