package org.jboss.weld.context.http;

import javax.servlet.ServletRequest;

import org.jboss.weld.context.BoundContext;
import org.jboss.weld.context.RequestContext;

/**
 * <p>
 * A request context which can be bound to the {@link ServletRequest}. The
 * context is automatically attached to the map on activation, and detached when
 * {@link #invalidate()} is called.
 * </p>
 * 
 * <p>
 * This context is not thread safe, and provides no thread safety for the
 * underlying map.
 * </p>
 * 
 * @author Pete Muir
 * 
 */
public interface HttpRequestContext extends BoundContext<ServletRequest>, RequestContext
{

}

package org.jboss.weld.context.http;

import javax.servlet.ServletRequest;
import javax.servlet.http.HttpServletRequest;

import org.jboss.weld.context.BoundContext;
import org.jboss.weld.context.RequestContext;

/**
 * <p>
 * A request context which can be bound to the {@link ServletRequest}. The
 * context is automatically attached to the map on activation, and detached when
 * {@link #invalidate()} is called.
 * </p>
 * 
 * <p>
 * This context is not thread safe, and provides no thread safety for the
 * underlying map.
 * </p>
 * 
 * @author Pete Muir
 * 
 */
public interface HttpRequestContext extends BoundContext<HttpServletRequest>, RequestContext
{

}

Use correct type parameter