Class HTTPVerb

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class HTTPVerb
    extends Code
    • Field Detail

      • GET

        public static final HTTPVerb GET
        GET

        HTTP GET Command.

      • HEAD

        public static final HTTPVerb HEAD
        HEAD

        HTTP HEAD Command.

      • POST

        public static final HTTPVerb POST
        POST

        HTTP POST Command.

      • PUT

        public static final HTTPVerb PUT
        PUT

        HTTP PUT Command.

      • DELETE

        public static final HTTPVerb DELETE
        DELETE

        HTTP DELETE Command.

      • PATCH

        public static final HTTPVerb PATCH
        PATCH

        HTTP PATCH Command.

    • Method Detail

      • of

        public static HTTPVerb of​(HTTPVerb.ValueSet value)
        Factory method for creating HTTPVerb objects from a passed enum value.
      • of

        public static HTTPVerb of​(String value)
        Factory method for creating HTTPVerb objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • string

        public static String string​(String value)
        Inherited factory method for creating HTTPVerb objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • code

        public static Code code​(String value)
        Inherited factory method for creating HTTPVerb objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • equals

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

        public int hashCode()
        Overrides:
        hashCode in class Code
      • toBuilder

        public HTTPVerb.Builder toBuilder()
        Description copied from class: Element
        Create a new Builder from the contents of this Element
        Overrides:
        toBuilder in class Code