Code Monkey home page Code Monkey logo

java-sdk's Introduction

快代理API SDK - Java

通过SDK可快速调用API接口,查看详情

快代理官方代码样例 - Java

使用说明

HttpRequestHttpResponse为使用原生库封装的工具类

运行环境要求jdk >= 1.6

HttpClient依赖包:

  • httpclient-4.5.3.jar
  • httpcore-4.4.6.jar
  • commons-codec-1.9.jar
  • commons-logging-1.2.jar

调用API

TestAPI.java

使用原生库调用API示例

TestAPIHttpClient.java

使用HttpClient调用API示例

Http代理

TestProxy.java

使用原生库请求Http代理服务器, 请求http和https网页均适用

TestProxyHttpClient.java

使用HttpClient请求Http代理服务器, 请求http和https网页均适用

隧道代理

TestTpsProxy.java

使用原生库请求隧道代理服务器, 请求http和https网页均适用

TestTpsProxyHttpClient.java

使用HttpClient请求隧道代理服务器, 请求http和https网页均适用

技术支持

如果您发现代码有任何问题, 请提交Issue

欢迎提交Pull request以使代码样例更加完善。

获取更多关于调用API和代理服务器使用的资料,请参考开发者指南

java-sdk's People

Contributors

9264586543 avatar kuaidaili-dev avatar xuanyuwu9527 avatar zengcity avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.