Class Headers.WacAllow

java.lang.Object
com.inrupt.client.Headers.WacAllow
Enclosing class:
Headers

public static final class Headers.WacAllow extends Object
a class for parsing WAC-allow headers.
See Also:
  • Method Details

    • of

      public static Headers.WacAllow of(Map<String,Set<String>> accessParams)
      Create a new WAC-Allow object with a collection of Access Parameters.
      Parameters:
      accessParams - the Access Parameters
      Returns:
      the WAC-Allow object
    • getAccessParams

      public Map<String,Set<String>> getAccessParams()
      Get the Access Parameters associated with this HTTP WAC-Allow interaction.
      Returns:
      the Access Parameters
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • parse

      public static Headers.WacAllow parse(String... headers)
      Parse header strings into a WacAllow object.
      Parameters:
      headers - the header strings
      Returns:
      WAC-Allow object containig Access Parameters from headers