Class Fetch.RequestPattern

    • Field Detail

      • serialVersionUID

        🡇     🗕  🗗  🗖
        protected static final long serialVersionUID
        This fulfils the SerialVersion UID requirement for all classes that implement Java's interface java.io.Serializable. Using the Serializable Implementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.
        See Also:
        Constant Field Values
      • urlPattern

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.String urlPattern
        Wildcards ('*' -> zero or more, '?' -> exactly one) are allowed. Escape character is backslash. Omitting is equivalent to "*".
        OPTIONAL
      • resourceType

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.String resourceType
        If set, only requests for matching resource types will be intercepted.
        OPTIONAL

        This particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed here:

        📎 Network.ResourceType


        Programmatically Accessing the Enum:
        // Retrieve the list of enumerated strings for this field
        ReadOnlyList<String> enumerationStrs = Network.ResourceType.enumStrList("resourceType");
        
        // Print the list of strings to the terminal
        for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
        
        See Also:
        BaseType.enumStrList(String)
      • requestStage

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.String requestStage
        Stage at which to begin intercepting requests. Default is Request.
        OPTIONAL

        This particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed here:

        📎 Fetch.RequestStage


        Programmatically Accessing the Enum:
        // Retrieve the list of enumerated strings for this field
        ReadOnlyList<String> enumerationStrs = Fetch.RequestStage.enumStrList("requestStage");
        
        // Print the list of strings to the terminal
        for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
        
        See Also:
        BaseType.enumStrList(String)
    • Constructor Detail

      • RequestPattern

        🡅  🡇     🗕  🗗  🗖
        public RequestPattern​(ReadOnlyList<java.lang.Boolean> isPresent,
                              java.lang.String urlPattern,
                              java.lang.String resourceType,
                              java.lang.String requestStage)
        Constructor. Please review this class' fields for documentation.