
org.jboss.weld.context.bound.MutableBoundRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weld-se-shaded Show documentation
Show all versions of weld-se-shaded Show documentation
This jar bundles all the bits of Weld and CDI required for Java SE.
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 - 2025 Weber Informatics LLC | Privacy Policy