public interface HttpServletExperimentState extends ExperimentState
ExperimentState
interface that can be implemented by any concrete subclass of
AbstractExperimentState
that can return a HttpServletRequest
object.
Separating the concrete implementation in HttpServletExperimentStateImpl
from the
HttpServletExperimentState
interface allows clients to re-use any Condition
instances that only need to know about the HttpServletRequest
, not the details of how experiments are
diverted for that state.
Modifier and Type | Method and Description |
---|---|
javax.servlet.http.HttpServletRequest |
getRequest()
Returns the
request associated with this instance. |
forceExperimentIds, get, getDiversionIdentifier, getExperimentIds, getFloat, getInt, getRequestTimeMsec, isDiverted
Copyright © 2013. All rights reserved.