Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

import org.apache.http.client.HttpClient;

import org.apache.http.impl.client.DefaultHttpClient;

public class Main {
    private static HttpClient getHttpCilent() {
        HttpClient client = new DefaultHttpClient();
        // TODO add authorization keys to header

        return client;
    }
}