public interface TrustedConnectionStatusBuilder
TrustedConnectionStatus
from the response to an HTTP request using the Trusted Applications
Authentication protocol.Modifier and Type | Method and Description |
---|---|
TrustedConnectionStatus |
getTrustedConnectionStatus(HttpResponse httpResponse)
Parses the Trusted Applications Authentication headers from the HTTP response provided to the method and builds a
TrustedConnectionStatus object with the results. |
TrustedConnectionStatus getTrustedConnectionStatus(HttpResponse httpResponse)
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.httpResponse
- the HTTP response to extract the trusted connection status from. Must not be
null
, or an IllegalArgumentException
will be thrown.TrustedConnectionStatus
object containing information about the status and any errors that
occurred with the trusted connection. Must not return null
.IllegalArgumentException
- if the httpResponse
parameter is null
Copyright © 2003–2017 Atlassian. All rights reserved.