Results 1 to 1 of 1
  1. #1
    jmorr212 is offline Member
    Join Date
    Feb 2011
    Rep Power

    Default C# HttpURLConnection to java

    Hey all, im trying to recreate my own MSN messenger in java. im following this tutorial which is in c#[] on generating the client ticket. Anyway,
    Java Code:
    ServerRequest = (HttpWebRequest)HttpWebRequest.Create(uri);
    ServerRequest.AllowAutoRedirect = false;
    ServerRequest.Pipelined = false;
    ServerRequest.KeepAlive = false;
    ServerRequest.ProtocolVersion = new Version(1,0);
    That is the C# code used to set properties for a request, so far i have been able to port everything to java, except i'm unable to find how to set properties for a http request in java. any help/a link and i would be grateful =]
    Last edited by jmorr212; 02-24-2011 at 10:36 AM.

Similar Threads

  1. Replies: 21
    Last Post: 05-21-2009, 01:53 PM
  2. Replies: 4
    Last Post: 10-15-2008, 01:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts