public final class RequestGuardFactory extends Object
RequestGuardInterceptors in code.| Modifier and Type | Method and Description |
|---|---|
static GrapheneSelenium |
guard(GrapheneSelenium selenium,
RequestType requestExpected)
Shortcut for registering a guard for specified request type on given selenium object.
|
static GrapheneSelenium |
guardInterlayed(GrapheneSelenium selenium,
RequestType requestExpected)
Shortcut for registering a guard for specified request type on given selenium object.
|
public static GrapheneSelenium guard(GrapheneSelenium selenium, RequestType requestExpected)
selenium - where should be registered the given request type guardrequestExpected - the request type to be guarded if the expected request is allowed to be preceeded by another
request typepublic static GrapheneSelenium guardInterlayed(GrapheneSelenium selenium, RequestType requestExpected)
Shortcut for registering a guard for specified request type on given selenium object.
This guard guards the right request type but allows interlaying of the request by another one of other type.
selenium - where should be registered the given request type guardrequestExpected - the request type to be guardedCopyright © 2013 JBoss by Red Hat. All Rights Reserved.