Package com.codeborne.selenide.proxy
Class AuthenticationFilter
java.lang.Object
com.codeborne.selenide.proxy.AuthenticationFilter
- All Implemented Interfaces:
com.browserup.bup.filters.RequestFilter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable 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) void
void
setAuthentication
(@Nullable AuthenticationType authenticationType, @Nullable Credentials credentials)
-
Constructor Details
-
AuthenticationFilter
public AuthenticationFilter()
-
-
Method Details
-
filterRequest
public @Nullable 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()
-