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

org.jboss.weld.context.bound.MutableBoundRequest Maven / Gradle / Ivy

There is a newer version: 3.0.0.Alpha1
Show newest version
package org.jboss.weld.context.bound;

import java.util.Map;

/**
 * An implementation of {@link BoundRequest} backed by a pair of maps.
 *
 * @author Pete Muir
 *
 */
public class MutableBoundRequest implements BoundRequest {

    private final Map requestMap;
    private final Map sessionMap;

    public MutableBoundRequest(Map requestMap, Map sessionMap) {
        this.requestMap = requestMap;
        this.sessionMap = sessionMap;
    }

    public Map getRequestMap() {
        return requestMap;
    }

    public Map getSessionMap(boolean create) {
        return sessionMap;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy