Class CheckOriginHeader

  • All Implemented Interfaces:
    java.util.function.Function<org.openqa.selenium.remote.http.HttpHandler,​org.openqa.selenium.remote.http.HttpHandler>, org.openqa.selenium.remote.http.Filter

    public class CheckOriginHeader
    extends java.lang.Object
    implements org.openqa.selenium.remote.http.Filter
    • Constructor Summary

      Constructors 
      Constructor Description
      CheckOriginHeader​(java.util.Collection<java.lang.String> allowedOriginHosts, java.util.Set<java.lang.String> skipChecksOn)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.openqa.selenium.remote.http.HttpHandler apply​(org.openqa.selenium.remote.http.HttpHandler httpHandler)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.openqa.selenium.remote.http.Filter

        andFinally, andFinally, andThen
      • Methods inherited from interface java.util.function.Function

        andThen, compose
    • Constructor Detail

      • CheckOriginHeader

        public CheckOriginHeader​(java.util.Collection<java.lang.String> allowedOriginHosts,
                                 java.util.Set<java.lang.String> skipChecksOn)
    • Method Detail

      • apply

        public org.openqa.selenium.remote.http.HttpHandler apply​(org.openqa.selenium.remote.http.HttpHandler httpHandler)
        Specified by:
        apply in interface java.util.function.Function<org.openqa.selenium.remote.http.HttpHandler,​org.openqa.selenium.remote.http.HttpHandler>