Class BmcRequest<B>

    • Constructor Detail

      • BmcRequest

        public BmcRequest()
    • Method Detail

      • getBody$

        public B getBody$()
        Alternative accessor for the body parameter, if this request supports a body.

        If this request does not support a body, an IllegalStateException is thrown.

        Returns:
        body parameter
        Throws:
        IllegalStateException - if this request does not support a body
      • supportsExpect100Continue

        public boolean supportsExpect100Continue()
        Returns true if this operation supports Expect: 100-Continue.
        Returns:
        true if this operation supports Expect: 100-Continue.
      • equals

        public boolean equals​(Object o)
        Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Uses getInvocationCallback and getRetryConfiguration to generate a hash.
        Overrides:
        hashCode in class Object
      • setInvocationCallback

        public void setInvocationCallback​(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
        Optional consumer that will be invoked before the actual REST call is made.

        Allows callers to alter/add any parameters that were not directly configurable otherwise. Attempting to invoke or build the builder in any way will result in an exception.

        For the Invocation.Builder#headers(MultivaluedMap) method, note that modifying the passed in headers map after the call does not have any effect on headers set.

      • getInvocationCallback

        public com.oracle.bmc.http.client.RequestInterceptor getInvocationCallback()
        Optional consumer that will be invoked before the actual REST call is made.

        Allows callers to alter/add any parameters that were not directly configurable otherwise. Attempting to invoke or build the builder in any way will result in an exception.

        For the Invocation.Builder#headers(MultivaluedMap) method, note that modifying the passed in headers map after the call does not have any effect on headers set.