Package Services.Dependencies
Class CookieDependency
java.lang.Object
Services.Dependencies.CookieDependency
Handles the analysis of cookies to detect dependencies between HTTP requests.
This class iterates over cookies in a request and checks if their values
depend on any previous responses, updating the DependencyGraph accordingly.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheck_cookie_dependency(List<ResponseUnstructured> responseUnstructuredList, int req_index, DependencyGraph dependencyGraph, MyNode to, int first_index_response) Checks for cookie-based dependencies for a given request.
-
Constructor Details
-
CookieDependency
public CookieDependency()
-
-
Method Details
-
check_cookie_dependency
public static void check_cookie_dependency(List<ResponseUnstructured> responseUnstructuredList, int req_index, DependencyGraph dependencyGraph, MyNode to, int first_index_response) Checks for cookie-based dependencies for a given request.For each cookie in the request, it examines previous responses (from
first_index_responsetoreq_index - 1) to detect any dependency, and updates theDependencyGraph.- Parameters:
responseUnstructuredList- list of previously analyzed unstructured responsesreq_index- index of the current request in the HAR sequencedependencyGraph- the graph to update with detected dependenciesto- the target node representing the current requestfirst_index_response- index of the first response to consider for dependency checks
-