org.jboss.weld.context.bound.MutableBoundRequest Maven / Gradle / Ivy
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;
}
}