19 July, 2017

REST Client OSGi Bundle

Hello Friends, If you are planing to create HTTP REST client using OSGi, Just follow the steps. 1) Create bundle project of type API using IDE 2) Write one Class called RestClient.java import org.apache.http.HttpEntity; import org.apache.http.HttpHost; import org.apache.http.auth.AuthScope; import org.apache.http.auth.UsernamePasswordCredentials; import org.apache.http.client.AuthCache; import org.apache.http.client.CredentialsProvider; import...

Popular Posts

Featured Post

Liferay 7.3 compatibility matrix

Compatibility Matrix Liferay's general policy is to test Liferay Portal CE against newer major releases of operating systems, open s...