<commit_before>package org.wso2.carbon.uuf.core;

import io.netty.handler.codec.http.HttpRequest;
import io.netty.handler.codec.http.HttpResponse;

import java.util.ArrayDeque;
import java.util.Deque;

public class RequestLookup {
    private final HttpRequest request;
    private final HttpResponse response;
    private final Deque<Page> pagesStack;
    private final Deque<Fragment> fragmentsStack;

    public RequestLookup(HttpRequest request, HttpResponse response) {
        this.request = request;
        this.response = response;
        this.pagesStack = new ArrayDeque<>();
        this.fragmentsStack = new ArrayDeque<>();
    }

    public HttpRequest getRequest() {
        return request;
    }

    public HttpResponse getResponse() {
        return response;
    }

    public Deque<Page> getPagesStack() {
        return pagesStack;
    }

    public Deque<Fragment> getFragmentsStack() {
        return fragmentsStack;
    }
}<commit_msg>removed Response, pagesStack, & fragmentsStack from RequestLookup class<commit_after>package org.wso2.carbon.uuf.core;

import io.netty.handler.codec.http.HttpRequest;

import java.util.ArrayDeque;
import java.util.Deque;

public class RequestLookup {
    private final String appContext;
    private final HttpRequest request;
    private final Deque<String> publicUriStack;

    public RequestLookup(String appContext, HttpRequest request) {
        this.appContext = appContext;
        this.request = request;
        this.publicUriStack = new ArrayDeque<>();
    }

    public HttpRequest getRequest() {
        return request;
    }

    public String getAppContext() {
        return appContext;
    }

    public void pushToPublicUriStack(String publicUri) {
        publicUriStack.push(publicUri);
    }

    public String popPublicUriStack() {
        return publicUriStack.pop();
    }

    public String getPublicUri() {
        return publicUriStack.peekLast();
    }
}
{'fraction_non_alphanumeric': 0.08603812467800102, 'fraction_numerical': 0.0010303967027305513, 'mean_word_length': 3.1763440860215053, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2370263', 'n_tokens_mistral': 556, 'n_tokens_neox': 530, 'n_words': 130}