Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 189 results for
httpclient
- Page 1
httpclient - upload progress
Programming
Software Development
14 Years Ago
by metalheart2003
…(parts, &nbs p; filePost.getParams()) &nbs p; );
HttpClient
client = new
HttpClient
(); client.getHttpConnectionManager().getParams().setConnectionT imeout(50000); // ---------------------- // ---------------------- // HE IS DOING…
How to Build a HttpClient in Java 11+
Programming
Software Development
2 Years Ago
by dimitrilc
…class CatFactsService { private final
HttpClient
httpClient
; CatFactsService() { this.
httpClient
=
HttpClient
.newHttpClient(); } } ## …max_length=%d"; CatFactsService() { this.
httpClient
=
HttpClient
.newHttpClient(); } public String getRandomCatFact(int…
Re: How to Build a HttpClient in Java 11+
Programming
Software Development
2 Years Ago
by JamesCherrill
… the current LTS, so moving to the new goodies (like
HttpClient
) makes good sense. Thanks for taking the time to prepare…
Unable to login to a website tried both httpclient and defaulthttpclient
Programming
Software Development
14 Years Ago
by akshaymirji
… not logging in...[code]1)
HttpClient
client = new
HttpClient
(); GetMethod get = new GetMethod(&… HttpGet("http://control.akamai.com");
httpclient
.getParams().setParameter( HttpMethodParams.RETRY_HANDLER,new DefaultHttpMethodRetryHandler()); HttpResponse…
Using xmlRpc in java
Programming
Software Development
13 Years Ago
by thr
…:174) at sun.net.www.http.
HttpClient
.openServer(
HttpClient
.java:409) at sun.net.www.http.
HttpClient
.openServer(
HttpClient
.java:530) at sun.net…:174) at sun.net.www.http.
HttpClient
.openServer(
HttpClient
.java:409) at sun.net.www.http.
HttpClient
.openServer(
HttpClient
.java:530) at sun.net…
Android Native - How to use CountingIdlingResource in Espresso tests
Programming
Mobile Development
1 Year Ago
by dimitrilc
…<TextView>(R.id.textView_helloWorld) val
httpClient
=
HttpClient
() textView.setOnClickListener { //Don't pass a…findViewById<TextView>(R.id.textView_helloWorld) val
httpClient
=
HttpClient
() textView.setOnClickListener { //Don't pass a…
Login to yahoo.com by providing username and password by jsp
Programming
Web Development
15 Years Ago
by Swetadri
… org.apache.commons.
httpclient
.
HttpClient
; import org.apache.commons.
httpclient
.NameValuePair; import org.apache.commons.
httpclient
.cookie.CookiePolicy; import…; private String challenge; public FrankLogin() { client = new
HttpClient
(); // client.getParams().setParameter(HttpMethodParams.USER_AGENT, "Mozilla/5.…
can't connect to openfire server
Hardware and Software
Networking
11 Years Ago
by prasanna123
….<init>(Unknown Source) at org.apache.commons.
httpclient
.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) at org.apache.…:171) at org.apache.commons.
httpclient
.
HttpClient
.executeMethod(
HttpClient
.java:397) at org.apache.commons.
httpclient
.
HttpClient
.executeMethod(
HttpClient
.java:323) at org.jivesoftware.…
Some thing wrong with this code..
Programming
Software Development
13 Years Ago
by natha_peepli
….doConnect(NetworkClient.java:163) at sun.net.[url]www.http.
HttpClient
.openServer(
HttpClient
.java:394[/url]) at sun.net.[url]www.http….
HttpClient
.openServer(
HttpClient
.java:529[/url]) at sun.net.www.http.
HttpClient
.<init>(
HttpClient
.java:233) at sun…
POSTing Error - Cookie rejected: Illegal Domain Attribute
Programming
Software Development
12 Years Ago
by Juicyjuice
…;https://pipeline.sbcc.edu/cp/home/login"; try {
HttpClient
client = new
HttpClient
(); //client.getParams().setParameter("http.protocol.single-cookie-header…]Nov 6, 2011 12:41:46 PM org.apache.commons.
httpclient
.HttpMethodBase processCookieHeaders WARNING: Cookie rejected: "$Version=0; WebCTTicket=; $Path…
Python modules ..
Programming
Software Development
15 Years Ago
by starzstar
… java classes import org.apache.commons.
httpclient
.
HttpClient
; import org.apache.commons.
httpclient
.HttpException; import org.apache.commons.
httpclient
.contrib.ssl.EasySSLProtocolSocketFactory; import org…
Re: Python modules ..
Programming
Software Development
15 Years Ago
by Stefano Mtangoo
…]A import org.apache.commons.
httpclient
.
HttpClient
; import org.apache.commons.
httpclient
.HttpException; import org.apache.commons.
httpclient
.contrib.ssl.EasySSLProtocol[B][COLOR…COLOR][/B]Factory; import org.apache.commons.
httpclient
.methods.GetMethod; import org.apache.commons.
httpclient
.protocol.Protocol; Thanks[/QUOTE] You missed …
What is the best way to retrieve data from a database using HTTP Post?
Programming
Mobile Development
12 Years Ago
by deucalion0
…lt;NameValuePair>(); InputStream is = null; try{
HttpClient
httpclient
= new DefaultHttpClient(); HttpPost httppost = new HttpPost("…lt;NameValuePair>(); InputStream is = null; try{
HttpClient
httpclient
= new DefaultHttpClient(); HttpPost httppost = new HttpPost("…
Android Login App Not Working
Programming
Mobile Development
10 Years Ago
by Djmann1013
… Password String username, password; // Make an HTTP Client
HttpClient
httpclient
; HttpPost httppost; // Store the username and password in… tapped the Login button, start logging in // Default
HTTPClient
httpclient
= new DefaultHttpClient(); // Post the values to the AwsomeChat…
how to pass Image through intent?
Programming
Software Development
9 Years Ago
by Android_2
…httppost; StringBuffer buffer; HttpResponse response;
HttpClient
httpclient
; List<NameValuePair nameValuePairs; ProgressDialog …nameValuePair = new ArrayList<NameValuePair (1);
HttpClient
httpclient
= new DefaultHttpClient(); HttpPost httppost = new…
JAR works bue EXE doesn't
Programming
Software Development
14 Years Ago
by gsingh2011
…doConnect(Unknown Source) at sun.net.[url]www.http.
HttpClient
.openServer(Unknown[/url] Source) at sun.net.[url…;(Unknown Source) at sun.net.[url]www.http.
HttpClient
.New(Unknown[/url] Source) at sun.net.[url…]www.http.
HttpClient
.New(Unknown[/url] Source) at sun.net.[url…
Java Http Post
Programming
Software Development
14 Years Ago
by KirkPatrick
…the code: [code=java]import org.apache.commons.
httpclient
.*; import org.apache.commons.
httpclient
.methods.*; public class PostExample { public static void main… url = "http://search.yahoo.com/search"; try {
HttpClient
client = new
HttpClient
(); PostMethod method = new PostMethod( url ); // Configure the form …
applet AccessControlException
Programming
Software Development
13 Years Ago
by oggiemc
…(Unknown Source) at sun.net.[url]www.http.
HttpClient
.openServer(Unknown[/url] Source) at sun.net.www.http…>(Unknown Source) at sun.net.[url]www.http.
HttpClient
.New(Unknown[/url] Source) at sun.net.[url]www….http.
HttpClient
.New(Unknown[/url] Source) at sun.net.[url]www…
Send coordinates from Andriod to webserver and display it in webserver consecutively
Programming
Mobile Development
13 Years Ago
by knan
… org.apache.http.HttpResponse; import org.apache.http.client.
HttpClient
; import org.apache.http.client.methods.HttpPost; import org…loc.getLatitude()+"&long="+loc.getLongitude(); try {
HttpClient
httpclient
= new DefaultHttpClient(); HttpPost httppost = new HttpPost(url); HttpResponse…
Android Project
Programming
Mobile Development
12 Years Ago
by 650U
… in = null; OutputStream output = null; try {
HttpClient
client = new DefaultHttpClient(); HttpGet request = new HttpGet(); … = new HashMap(); OutputStream output = null; try {
HttpClient
client = new DefaultHttpClient(); HttpDelete request = new HttpDelete();…
Changing a List View into a Dialog Box - Android
Programming
Mobile Development
12 Years Ago
by BlackStar0703
… = new ArrayList<NameValuePair>(); //http post try{
HttpClient
httpclient
= new DefaultHttpClient(); HttpPost httppost = new HttpPost ("http…RSquestionsRAN.php"); //httppost.setEntity(new UrlEncodedFormEntity HttpResponse response =
httpclient
.execute(httppost); HttpEntity entity = response.getEntity(); is = …
Null Pointer Exception In Method Boolean.Org.Json.Jsonobject Doinbackground
Programming
Mobile Development
7 Years Ago
by _1_14
…httpPost.setEntity(new UrlEncodedFormEntity(params)); HttpResponse httpResponse =
httpClient
.execute(httpPost); HttpEntity httpEntity = httpResponse.getEntity(); …HttpGet httpGet = new HttpGet(url); HttpResponse httpResponse =
httpClient
.execute(httpGet); HttpEntity httpEntity = httpResponse.getEntity(); is…
App stopped working after enabling ssl in the calling URL
Programming
Mobile Development
6 Years Ago
by annya
…HttpConnectionParams.setSoTimeout(httpParameters, 5000);
HttpClient
httpClient
= new DefaultHttpClient(httpParameters); HttpPost httpPost…new UrlEncodedFormEntity(nameValuePairs)); HttpResponse response =
httpClient
.execute(httpPost); jsonResult = inputStreamToString(…
Android Native - How to serve asynchronous data to ListAdapter
Programming
Mobile Development
1 Year Ago
by dimitrilc
…class MainViewModel : ViewModel() { private val
httpClient
= DogService.INSTANCE //Adapter will invoke this… breeds viewModelScope.launch(Dispatchers.IO) { try {
httpClient
.getAllBreeds()?.message?.let { breeds -> if (…
Android Native - provide fake DataSources to Repositories in Unit Tests
Programming
Mobile Development
1 Year Ago
by dimitrilc
…class UserLocalDataSourceImpl( private val dataBase: Any, private val
httpClient
: Any ) { fun getUserName() = "User …UserLocalDataSourceImpl( private val dataBase: Any, private val
httpClient
: Any ): UserLocalDataSource { override fun getUserName() =…
Error parsing data org.json.JSONException: A JSONArray text must start with '['
Programming
Mobile Development
13 Years Ago
by Capt Spaghetti
…<OrgItem>(); //http post try{
HttpClient
httpclient
= new DefaultHttpClient(); HttpPost httppost = new HttpPost… extends NameValuePair>) nameValuePairs)); HttpResponse response =
httpclient
.execute(httppost); HttpEntity entity = response.getEntity();…
Android - Auto Adding Items To ListView
Programming
Mobile Development
11 Years Ago
by dschuett
… protected Void doInBackground(Void... arg0) { try {
HttpClient
httpClient
= new DefaultHttpClient(); HttpPost httpPost = new HttpPost("…/getdata.php"); HttpResponse httpResponse =
httpClient
.execute(httpPost); String result = EntityUtils.…
Application runs in emulator but not in Tablet?
Programming
Mobile Development
11 Years Ago
by pmark019
… } public void postLoginData() {
HttpClient
httpclient
= new DefaultHttpClient(); HttpPost httppost …)); HttpResponse response =
httpclient
.execute(httppost); String …
Android - Dynamically Load Items Into Listview
Programming
Mobile Development
11 Years Ago
by dschuett
… protected Void doInBackground(Void... arg0) { try {
HttpClient
httpClient
= new DefaultHttpClient(); HttpPost httpPost = new HttpPost("…/get_posts.php"); HttpResponse httpResponse =
httpClient
.execute(httpPost); String result = EntityUtils.…
Variable null outside of asynctask in android
Programming
Software Development
9 Years Ago
by Junk_1
…gt; { protected Document doInBackground(String... url) { try {
HttpClient
httpClient
= new DefaultHttpClient(); HttpContext localContext = new BasicHttpContext(); HttpPost httpPost… = new HttpPost(url[0]); HttpResponse response =
httpClient
.execute(httpPost, localContext); InputStream in = response.getEntity().…
1
2
3
4
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC