Interface LoopbackRestClient

    • Method Detail

      • withBasicAuthCredentials

        default LoopbackRestClient withBasicAuthCredentials​(org.refcodes.web.BasicAuthCredentials aBasicAuthCredentials)
        Specified by:
        withBasicAuthCredentials in interface org.refcodes.web.BasicAuthCredentialsAccessor.BasicAuthCredentialsBuilder<RestClient>
      • withBasicAuthCredentials

        default LoopbackRestClient withBasicAuthCredentials​(String aUserName,
                                                            String aSecret)
        Specified by:
        withBasicAuthCredentials in interface org.refcodes.web.BasicAuthCredentialsAccessor.BasicAuthCredentialsBuilder<RestClient>
      • withDisableRequestCorrelation

        default LoopbackRestClient withDisableRequestCorrelation()
        Specified by:
        withDisableRequestCorrelation in interface org.refcodes.runtime.RequestCorrelation<RestClient>
      • withDisableSessionCorrelation

        default LoopbackRestClient withDisableSessionCorrelation()
        Specified by:
        withDisableSessionCorrelation in interface org.refcodes.runtime.SessionCorrelation<RestClient>
      • withEnableRequestCorrelation

        default LoopbackRestClient withEnableRequestCorrelation()
        Specified by:
        withEnableRequestCorrelation in interface org.refcodes.runtime.RequestCorrelation<RestClient>
      • withEnableSessionCorrelation

        default LoopbackRestClient withEnableSessionCorrelation()
        Specified by:
        withEnableSessionCorrelation in interface org.refcodes.runtime.SessionCorrelation<RestClient>
      • withOAuthToken

        default LoopbackRestClient withOAuthToken​(org.refcodes.web.OauthToken aOauthToken)
        Specified by:
        withOAuthToken in interface org.refcodes.web.OauthTokenAccessor.OauthTokenBuilder<RestClient>
      • withRequestCorrelation

        default LoopbackRestClient withRequestCorrelation​(boolean hasRequestCorrelation)
        Specified by:
        withRequestCorrelation in interface org.refcodes.runtime.RequestCorrelation<RestClient>
      • withSessionCorrelation

        default LoopbackRestClient withSessionCorrelation​(boolean hasSessionCorrelation)
        Specified by:
        withSessionCorrelation in interface org.refcodes.runtime.SessionCorrelation<RestClient>
      • withUserAgent

        default LoopbackRestClient withUserAgent​(String aUserAgent)
        Specified by:
        withUserAgent in interface org.refcodes.web.UserAgentAccessor.UserAgentBuilder<RestClient>