Class HttpMethod

    • Constructor Summary

      Constructors 
      Constructor Description
      HttpMethod()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract boolean isEntityAccepted()
      Returns if requests with this method may contain an entity.
      abstract boolean isIdempotent()
      Returns if this method is "idempotent" as defined in http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-26#section-4.2.2
      abstract boolean isSafe()
      Returns if this method is "safe" as defined in http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-26#section-4.2.1
      java.lang.String name()
      Returns the name of the method, always equal to [[value]].
      abstract RequestEntityAcceptance requestEntityAcceptance()
      Returns the entity acceptance level for this method.
      abstract java.lang.String value()
      Returns the name of the method.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HttpMethod

        public HttpMethod()
    • Method Detail

      • name

        public final java.lang.String name()
        Returns the name of the method, always equal to [[value]].
      • value

        public abstract java.lang.String value()
        Returns the name of the method.
      • isSafe

        public abstract boolean isSafe()
        Returns if this method is "safe" as defined in http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-26#section-4.2.1
      • isIdempotent

        public abstract boolean isIdempotent()
        Returns if this method is "idempotent" as defined in http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-26#section-4.2.2
      • isEntityAccepted

        public abstract boolean isEntityAccepted()
        Returns if requests with this method may contain an entity.
      • requestEntityAcceptance

        public abstract RequestEntityAcceptance requestEntityAcceptance()
        Returns the entity acceptance level for this method.