Skip navigation links
\
B C D F G I M O P R S T U V W 

B

build() - Method in class com.variant.client.servlet.ServletVariantClient.Builder
 
Builder() - Constructor for class com.variant.client.servlet.ServletVariantClient.Builder

C

com.variant.client.servlet - package com.variant.client.servlet
Servlet Adapter for the "bare" Variant Java Client, providing greatly simplified integration for host applications written on top of the Java Servlet API.
com.variant.client.servlet.util - package com.variant.client.servlet.util
Utility classes used throughout the servet adapter.
commit(HttpServletResponse) - Method in interface com.variant.client.servlet.ServletStateRequest
Environment bound version of of the Java client's StateRequest.commit(Object...).
connectTo(String) - Method in interface com.variant.client.servlet.ServletVariantClient
Connect to a variation schema on a Variant server by its URI.
COOKIE_NAME - Static variable in class com.variant.client.servlet.SessionIdTrackerHttpCookie
 
COOKIE_NAME - Static variable in class com.variant.client.servlet.TargetingTrackerHttpCookie
 

D

destroy() - Method in class com.variant.client.servlet.util.VariantFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.variant.client.servlet.util.VariantFilter
Identify the state, target and commit the state request.

F

fail(HttpServletResponse) - Method in interface com.variant.client.servlet.ServletStateRequest
Environment bound version of of the Java client's StateRequest.fail(Object...).
FILTER_INIT_MISSING - Static variable in class com.variant.client.servlet.ServletVariantError
 

G

get() - Method in class com.variant.client.servlet.SessionIdTrackerHttpCookie
 
get() - Method in class com.variant.client.servlet.TargetingTrackerHttpCookie
 
getMaxAge() - Method in class com.variant.client.servlet.util.VariantCookie
 
getOrCreateSession(Object...) - Method in interface com.variant.client.servlet.ServletConnection
Equivalent to getOrCreateSession((HttpServletRequest)userData[0]).
getOrCreateSession(HttpServletRequest) - Method in interface com.variant.client.servlet.ServletConnection
Rewritten signature in terms of Servlet API.
getSession(Object...) - Method in interface com.variant.client.servlet.ServletConnection
Equivalent to getSession((HttpServletRequest)userData[0]).
getSession(HttpServletRequest) - Method in interface com.variant.client.servlet.ServletConnection
Rewritten signature in terms of Servlet API.
getSessionById(String) - Method in interface com.variant.client.servlet.ServletConnection
Get an existing session by ID.
getValue() - Method in class com.variant.client.servlet.util.VariantCookie
 

I

init(FilterConfig) - Method in class com.variant.client.servlet.util.VariantFilter
Initialize the Variant servlet adapter and parse the experiment schema.
internal(String) - Static method in exception com.variant.client.servlet.ServletVariantException
 

M

match(String, String) - Static method in class com.variant.client.servlet.util.StateSelectorByRequestPath
This implements the whole path matching logic.

O

onSession(ServletRequest, ServletResponse, ServletSession) - Method in class com.variant.client.servlet.util.VariantFilter
On session callback method.
onStateRequest(ServletRequest, ServletResponse, ServletStateRequest) - Method in class com.variant.client.servlet.util.VariantFilter
On session callback method.

P

PATTERN_INVALID - Static variable in class com.variant.client.servlet.ServletVariantError
 

R

requestUrl(HttpServletRequest) - Static method in class com.variant.client.servlet.util.VariantWebUtils
Reconstruct request URL.

S

save(Object...) - Method in class com.variant.client.servlet.SessionIdTrackerHttpCookie
 
save(Object...) - Method in class com.variant.client.servlet.TargetingTrackerHttpCookie
 
select(Schema, String) - Static method in class com.variant.client.servlet.util.StateSelectorByRequestPath
Select a Variant state by its path.
send(HttpServletResponse) - Method in class com.variant.client.servlet.util.VariantCookie
 
SERVLET_ADAPTER_INTERNAL_ERROR - Static variable in class com.variant.client.servlet.ServletVariantError
 
ServletConnection - Interface in com.variant.client.servlet
Servlet-aware wrapper around bare client's implementation of Connection.
ServletSession - Interface in com.variant.client.servlet
Servlet-aware wrapper around bare client's implementation of Session.
ServletStateRequest - Interface in com.variant.client.servlet
Servlet-aware wrapper around the underlying implementation of StateRequest.
ServletVariantClient - Interface in com.variant.client.servlet
Servlet Adapter for the "bare" Variant Java Client, providing greatly simplified integration for host applications written on top of the Java Servlet API.
ServletVariantClient.Builder - Class in com.variant.client.servlet
Override the bare VariantClient.Builder to fix the return types.
ServletVariantError - Class in com.variant.client.servlet
 
ServletVariantError(int, String) - Constructor for class com.variant.client.servlet.ServletVariantError
Okay to use reserved range 301-400
ServletVariantException - Exception in com.variant.client.servlet
We want to extend from ClientException to stick with the convention.
ServletVariantException(ServletVariantError, String...) - Constructor for exception com.variant.client.servlet.ServletVariantException
 
SessionIdTrackerHttpCookie - Class in com.variant.client.servlet
Concrete implementation of Variant session ID tracker based on HTTP cookie.
SessionIdTrackerHttpCookie(Object...) - Constructor for class com.variant.client.servlet.SessionIdTrackerHttpCookie
No-argument constructor must be provided by contract.
set(String) - Method in class com.variant.client.servlet.SessionIdTrackerHttpCookie
 
set(Set<TargetingTracker.Entry>) - Method in class com.variant.client.servlet.TargetingTrackerHttpCookie
 
setValue(String) - Method in class com.variant.client.servlet.util.VariantCookie
 
StateSelectorByRequestPath - Class in com.variant.client.servlet.util
Select a Variant state based on a path pattern.
StateSelectorByRequestPath() - Constructor for class com.variant.client.servlet.util.StateSelectorByRequestPath
 

T

targetForState(State) - Method in interface com.variant.client.servlet.ServletSession
Override the underlying Session.targetForState(State) in order to return the narrower servlet-aware state request ServletStateRequest
TargetingTrackerHttpCookie - Class in com.variant.client.servlet
Concrete implementation of the Variant targeting tracker based on HTTP cookie.
TargetingTrackerHttpCookie(Object...) - Constructor for class com.variant.client.servlet.TargetingTrackerHttpCookie
Constructor must be provided by contract.

U

USER_DATA_INVALID - Static variable in class com.variant.client.servlet.ServletVariantError
 

V

VARIANT_REQUEST_ATTR_NAME - Static variable in class com.variant.client.servlet.util.VariantFilter
 
VariantCookie - Class in com.variant.client.servlet.util
Cookie class encapsulates everything common to all Variant HTTP cookies.
VariantCookie(String) - Constructor for class com.variant.client.servlet.util.VariantCookie
New cookie.
VariantCookie(String, HttpServletRequest) - Constructor for class com.variant.client.servlet.util.VariantCookie
Existing from request.
VariantFilter - Class in com.variant.client.servlet.util
The preferred way of instrumenting Variant experiments for host applications written on top of the Java Servlet API.
VariantFilter() - Constructor for class com.variant.client.servlet.util.VariantFilter
 
VariantWebUtils - Class in com.variant.client.servlet.util
 
VariantWebUtils() - Constructor for class com.variant.client.servlet.util.VariantWebUtils
 

W

withSessionIdTrackerClass(Class<? extends SessionIdTracker>) - Method in class com.variant.client.servlet.ServletVariantClient.Builder
 
withTargetingStabilityDays(int) - Method in class com.variant.client.servlet.ServletVariantClient.Builder
 
withTargetingTrackerClass(Class<? extends TargetingTracker>) - Method in class com.variant.client.servlet.ServletVariantClient.Builder
 
B C D F G I M O P R S T U V W 
Skip navigation links
\

Release 0.10.1. Updated 04 Sep 2019.
Copyright © 2019 Variant Inc.