Class NonResourceAttributes

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class NonResourceAttributes
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface
    • Constructor Detail

      • NonResourceAttributes

        public NonResourceAttributes​(java.lang.String path,
                                     java.lang.String verb)
      • NonResourceAttributes

        public NonResourceAttributes()
    • Method Detail

      • getPath

        public java.lang.String getPath()
        Path is the URL path of the request
      • getVerb

        public java.lang.String getVerb()
        Verb is the standard HTTP verb
      • setPath

        public void setPath​(java.lang.String path)
        Path is the URL path of the request
      • setVerb

        public void setVerb​(java.lang.String verb)
        Verb is the standard HTTP verb
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object