public class MQTTUtil extends Object
| Constructor and Description |
|---|
MQTTUtil() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.http.client.HttpClient |
getHttpClient(String protocol)
Return a http client instance
|
static org.wso2.carbon.identity.jwt.client.extension.service.JWTClientManagerService |
getJWTClientManagerService() |
static String |
getResponseString(org.apache.http.HttpResponse httpResponse) |
public static org.apache.http.client.HttpClient getHttpClient(String protocol) throws IOException, KeyStoreException, NoSuchAlgorithmException, KeyManagementException
protocol- - service endpoint protocol http/httpsIOExceptionKeyStoreExceptionNoSuchAlgorithmExceptionKeyManagementExceptionpublic static String getResponseString(org.apache.http.HttpResponse httpResponse) throws IOException
IOExceptionpublic static org.wso2.carbon.identity.jwt.client.extension.service.JWTClientManagerService getJWTClientManagerService()
Copyright © 2016 WSO2. All rights reserved.