Android Open Source - Seraccoli-Android-Webservice Web Service






From Project

Back to project page Seraccoli-Android-Webservice.

License

The source code is released under:

Apache License

If you think the Android project Seraccoli-Android-Webservice listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/**
 * Copyright 2014 Gusterwoei/*  w w  w .  ja  v a2 s .  c  o  m*/

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 */

package com.guster.brandon.library.webservice;

import android.content.Context;

/**
 * Created by Gusterwoei on 10/30/13.
 */
public class WebService {
    private Context context;
    private RequestHandler requestHandler;

    public WebService(Context context) {
        this.context = context;
    }

    public RequestHandler init() {
        requestHandler = new RequestHandler();
        return requestHandler;
    }

    public Context getContext() {
        return context;
    }

    public RequestHandler getRequestHandler() {
        return requestHandler;
    }
}




Java Source Code List

com.guster.brandon.library.MainActivity.java
com.guster.brandon.library.webservice.HttpAuthenticator.java
com.guster.brandon.library.webservice.RequestHandler.java
com.guster.brandon.library.webservice.Response.java
com.guster.brandon.library.webservice.WebService.java
com.guster.brandon.webservice.CustomWebService.java
com.guster.brandon.webservice.MainActivity.java
com.guster.brandon.webservice.MainFragment.java