Package | Description |
---|---|
com.playsql.utils.applinks |
Modifier and Type | Class and Description |
---|---|
class |
ApplinkDisabledException |
class |
CredentialsException |
Modifier and Type | Method and Description |
---|---|
ApplinkException |
RYRequestFactory.getException(com.atlassian.sal.api.net.Request.MethodType method,
String url,
Supplier<String> webpageUrl,
com.atlassian.sal.api.net.Response response,
String body,
String message)
Utility method to create the correct exception (CredentialsException if HTTP 401, ApplinkException for other errors)
|
Modifier and Type | Method and Description |
---|---|
T |
ApplinkHelpers.Callback.apply(U descriptor,
RYRequestFactory requestFactory) |
<U,T> T |
ApplinkHelpers.createRequest(U descriptor,
ApplinkHelpers.Callback<U,T> callback,
com.atlassian.applinks.api.ApplicationLink applink,
Supplier<String> hostUrl,
Supplier<String> webpageUrl,
Supplier<javax.servlet.http.HttpServletRequest> request,
Supplier<String[]> currentUserKeyAndName)
This method is indended for IntegrationManagers in Jira and Confluence, to create a request with a few more features.
|
String |
RYRequestFactory.RYApplinkRequest.execute2() |
<T> T |
RYRequestFactory.RYApplinkRequest.executeAndParseJson(Class<T> classOfT)
Executes the request and manages 200-OK and Json parsing.
|
Copyright © 2021 Play SQL. All rights reserved.