Package com.codeborne.selenide.proxy
Class AuthenticationFilter
java.lang.Object
com.codeborne.selenide.proxy.AuthenticationFilter
- All Implemented Interfaces:
com.browserup.bup.filters.RequestFilter
@ParametersAreNonnullByDefault
public class AuthenticationFilter
extends Object
implements com.browserup.bup.filters.RequestFilter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.netty.handler.codec.http.HttpResponse
filterRequest
(io.netty.handler.codec.http.HttpRequest request, com.browserup.bup.util.HttpMessageContents contents, com.browserup.bup.util.HttpMessageInfo messageInfo) void
void
setAuthentication
(AuthenticationType authenticationType, Credentials credentials)
-
Constructor Details
-
AuthenticationFilter
public AuthenticationFilter()
-
-
Method Details
-
filterRequest
@Nullable public io.netty.handler.codec.http.HttpResponse filterRequest(io.netty.handler.codec.http.HttpRequest request, com.browserup.bup.util.HttpMessageContents contents, com.browserup.bup.util.HttpMessageInfo messageInfo) - Specified by:
filterRequest
in interfacecom.browserup.bup.filters.RequestFilter
-
setAuthentication
public void setAuthentication(@Nullable AuthenticationType authenticationType, @Nullable Credentials credentials) -
removeAuthentication
public void removeAuthentication()
-