All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.dspace.services.sessions.model.InternalRequestImpl Maven / Gradle / Ivy

/**
 * The contents of this file are subject to the license and copyright
 * detailed in the LICENSE and NOTICE files at the root of the source
 * tree and available online at
 *
 * http://www.dspace.org/license/
 */
package org.dspace.services.sessions.model;

import java.util.HashMap;
import java.util.Map;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.dspace.services.model.Request;

public final class InternalRequestImpl extends AbstractRequestImpl implements Request {

    private Map attributes = new HashMap();

    public InternalRequestImpl() {
    }

    public ServletRequest getServletRequest() {
        return null;
    }

    public HttpServletRequest getHttpServletRequest() {
        return null;
    }

    public ServletResponse getServletResponse() {
        return null;
    }

    public HttpServletResponse getHttpServletResponse() {
        return null;
    }

    public Object getAttribute(String name) {
        return attributes.get(name);
    }

    public void setAttribute(String name, Object o) {
        attributes.put(name, o);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy