Class DefaultTrustedConnectionStatusBuilder

java.lang.Object
com.atlassian.confluence.util.http.trust.DefaultTrustedConnectionStatusBuilder
All Implemented Interfaces:
TrustedConnectionStatusBuilder

@Deprecated(forRemoval=true) public class DefaultTrustedConnectionStatusBuilder extends Object implements TrustedConnectionStatusBuilder
Deprecated, for removal: This API element is subject to removal in a future version.
since 7.0.1 will be removed in 9.0
Since:
2.10
  • Constructor Details

    • DefaultTrustedConnectionStatusBuilder

      public DefaultTrustedConnectionStatusBuilder()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getTrustedConnectionStatus

      public TrustedConnectionStatus getTrustedConnectionStatus(HttpResponse httpResponse)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: TrustedConnectionStatusBuilder
      Parses the Trusted Applications Authentication headers from the HTTP response provided to the method and builds a TrustedConnectionStatus object with the results. It is assumed that the response corresponds to a request that was made using TAA headers; if you call this on a response to a request where trusted authentication was not attempted, the return value is undefined.
      Specified by:
      getTrustedConnectionStatus in interface TrustedConnectionStatusBuilder
      Parameters:
      httpResponse - the HTTP response to extract the trusted connection status from. Must not be null, or an IllegalArgumentException will be thrown.
      Returns:
      a TrustedConnectionStatus object containing information about the status and any errors that occurred with the trusted connection. Must not return null.