Enum MarshallLocation

    • Enum Constant Detail

      • PAYLOAD

        public static final MarshallLocation PAYLOAD
        Payload of the request (format depends on the protocol/content-type)
      • QUERY_PARAM

        public static final MarshallLocation QUERY_PARAM
        Add as a query parameter.
      • PATH

        public static final MarshallLocation PATH
        Replace the placeholder in the request URI (non-greedy).
      • GREEDY_PATH

        public static final MarshallLocation GREEDY_PATH
        Replace the placeholder in the request URI (greedy). This location is really the same as PATH, the only difference is whether it's URL encoded or not. Members bound to the PATH will be URL encoded before replacing, members bound to GREEDY_PATH will not be URL encoded.
      • STATUS_CODE

        public static final MarshallLocation STATUS_CODE
        HTTP status code of response.
    • Method Detail

      • values

        public static MarshallLocation[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MarshallLocation c : MarshallLocation.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MarshallLocation valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null