- 博客(6)
- 收藏
- 关注
原创 java运用HttpClient 调用http post 包含header调用
import java.io.BufferedReader;import java.io.IOException;import java.io.InputStream;import java.io.InputStreamReader;import java.util.ArrayList;import org.apache.http.HttpResponse;import org.ap
2015-12-09 17:05:05
1242
原创 java http调用方式get post 包含带header
public String CreateUser(){ BufferedReader reader = null; String result = null; String httpUrl="http://xxx.xxx.xxx/xxx?"; StringBuffer sbf = new StringBuffer(); String httpArg="x
2015-12-09 16:45:17
2197
原创 JAVA调用https协议
public static String requestIBM(String httpUrl, String httpArg) { BufferedReader reader = null; String result = null; StringBuffer sbf = new StringBuffer(); httpUrl = httpUrl +
2015-12-09 15:24:38
777
原创 android调用webservice
首先导入 ksoap2-android-assembly-2.4-jar-with-dependencies.jar public static String queryRemoteInfor(String params) throws Exception{ String result = ""; String soapAction = "命名空间"+"方法名";// SO
2015-12-09 15:11:27
594
原创 java调用webservice
先导入jar包import org.codehaus.xfire.client.Client;import org.codehaus.xfire.transport.http.CommonsHttpMessageSender;String URL="" // wsdl地址String resultMsg="";Client client; try {
2015-12-09 15:02:36
794
转载 使用Java驱动操作Cassandra
关于使用java驱动,建议使用eclipse+maven创建,比如我们创建一个cassandra.test的工程。在pom.xml里面加入<dependency> <groupId>com.datastax.cassandra</groupId> <artifactId>cassandra-driver-core</artifactId> <version>2.1.0</version> </dependency>如果环境不允许使用maven,那么就自己找
2015-12-09 14:35:15
1503
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人