Main > Free Download Search >

Free java http client 2.5.0 software for linux

java http client 2.5.0

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 6342
Curl HTTP Client 1.1

Curl HTTP Client 1.1


Curl HTTP Client is a PHP class that implements an HTTP client using the PHP Curl library extension. more>> <<less
Download (0.003MB)
Added: 2007-03-08 License: BSD License Price:
963 downloads
GData Java Client 1.13.0

GData Java Client 1.13.0


GData Java Client provides a library and source code that make it easy to access data through Google Data APIs. more>>
GData Java Client provides a library and source code that make it easy to access data through Google Data APIs.

The Google data APIs ("GData" for short) provide a simple standard protocol for reading and writing data on the web. GData combines common XML-based syndication formats (Atom and RSS) with a feed-publishing system based on the Atom publishing protocol, plus some extensions for handling queries.

Google also provides a set of client libraries for interacting with GData-enabled services, in a variety of programming languages. Using these libraries, you can construct GData requests, send them to a service, and receive responses.

<<less
Download (9.6MB)
Added: 2007-08-08 License: The Apache License 2.0 Price:
809 downloads
Java Jabber Client 0.0.19

Java Jabber Client 0.0.19


Java Jabber Client is a Jabber client written in Java. more>>
Jabber is an instant messagings system (and a few other things but Ill forget about these for the moment), but it uses XML so its easy to create clients for it, and to link it in with other systems.

As well as that anyone can run a Jabber server, so youre school, university or office could have their own messaging system.
<<less
Download (0.13MB)
Added: 2005-09-08 License: GPL (GNU General Public License) Price:
1513 downloads
HTTPClient 0.3-3

HTTPClient 0.3-3


HTTPClient provides a complete http client library. more>>
This package provides a complete http client library. It currently implements most of the relevant parts of the HTTP/1.0 and HTTP/1.1 protocols, including the request methods HEAD, GET, POST and PUT, and automatic handling of authorization, redirection requests, and cookies.

Furthermore the included Codecs class contains coders and decoders for the base64, quoted-printable, URL-encoding, chunked and the multipart/form-data encodings. The whole thing is free, and licenced under the GNU Lesser General Public License (LGPL) (note that this is not the same as the GPL).

Following are the kits and documentation for the HTTPClient Version 0.3-3. If you have any problems, bugs, suggestions, comments, etc. see the info on debugging and reporting problems. An older version of these pages are also available in Japanese, thanks to the kindly efforts of Yuji Kumasaka.

Using the HTTPClient should be quite simple. First add the import statement import HTTPClient.*; to your file(s). Next you create an instance of HTTPConnection (youll need one for every server you wish to talk to). Requests can then be sent using one of the methods Head(), Get(), Post(), etc in HTTPConnection.

These methods all return an instance of HTTPResponse which has methods for accessing the response headers (getHeader(), getHeaderAsInt(), etc), various response info (getStatusCode(), getReasonLine(), etc), the response data (getData(), getText(), and getInputStream()) and any trailers that might have been sent (getTrailer(), getTrailerAsInt(), etc). Following are some examples to get started.
To retrieve files from the URL "http://www.myaddr.net/my/file" you can use something like the following:
try
{
HTTPConnection con = new HTTPConnection("www.myaddr.net");
HTTPResponse rsp = con.Get("/my/file");
if (rsp.getStatusCode() >= 300)
{
System.err.println("Received Error: "+rsp.getReasonLine());
System.err.println(rsp.getText());
}
else
data = rsp.getData();

rsp = con.Get("/another_file");
if (rsp.getStatusCode() >= 300)
{
System.err.println("Received Error: "+rsp.getReasonLine());
System.err.println(rsp.getText());
}
else
other_data = rsp.getData();
}
catch (IOException ioe)
{
System.err.println(ioe.toString());
}
catch (ParseException pe)
{
System.err.println("Error parsing Content-Type: " + pe.toString());
}
catch (ModuleException me)
{
System.err.println("Error handling request: " + me.getMessage());
}

This will get the files "/my/file" and "/another_file" and put their contents into byte[]s accessible via getData(). Note that you need to only create a new HTTPConnection when sending a request to a new server (different protocol, host or port); although you may create a new HTTPConnection for every request to the same server this not recommended, as various information about the server is cached after the first request (to optimize subsequent requests) and persistent connections are used whenever possible (see also Advanced Info).

To POST form data from an applet back to your server you could use something like this (assuming you have two fields called name and e-mail, whose contents are stored in the variables name and email):
try
{
NVPair form_data[] = new NVPair[2];
form_data[0] = new NVPair("name", name);
form_data[1] = new NVPair("e-mail", email);

// note the convenience constructor for applets
HTTPConnection con = new HTTPConnection(this);
HTTPResponse rsp = con.Post("/cgi-bin/my_script", form_data);
if (rsp.getStatusCode() >= 300)
{
System.err.println("Received Error: "+rsp.getReasonLine());
System.err.println(rsp.getText());
}
else
stream = rsp.getInputStream();
}
catch (IOException ioe)
{
System.err.println(ioe.toString());
}
catch (ModuleException me)
{
System.err.println("Error handling request: " + me.getMessage());
}

Here the response data is read at leisure via an InputStream instead of all at once into a byte[].

As another example, if you want to upload a document to a URL (and the server supports http PUT) you could do something like the following:
try
{
URL url = new URL("http://www.mydomain.us/test/my_file");

HTTPConnection con = new HTTPConnection(url);
HTTPResponse rsp = con.Put(url.getFile(), "Hello World");
if (rsp.getStatusCode() >= 300)
{
System.err.println("Received Error: "+rsp.getReasonLine());
System.err.println(rsp.getText());
}
else
text = rsp.getText();
}
catch (IOException ioe)
{
System.err.println(ioe.toString());
}
catch (ModuleException me)
{
System.err.println("Error handling request: " + me.getMessage());
}
<<less
Download (0.52MB)
Added: 2005-09-27 License: LGPL (GNU Lesser General Public License) Price:
1491 downloads
HTTP Proxy Client 0.8.5

HTTP Proxy Client 0.8.5


HTTP Proxy Client is a set of libraries and scripts that provide transparent access to Internet. more>>
HTTP Proxy Client is the small set of libraries and scripts, which provides transparent access to Internet via HTTP proxy for programs, which uses TCP/IP for communication.
The list of programs includes: telnet, ftp, licq, cvs, smth else? Project implements dynamic library, that can be preloaded before program run.
The library substitutes some system calls (connect(), gethostbyaddr(), gethostbyname()), with calls, which makes TCP/IP connection through HTTP proxy. This allows client programs behind HTTP proxy work with Internet without limitations.
At the moment tested on i386 Linux, i386/sparc Solaris.
Enhancements:
- While using dotted address, applications will attempt to connect regardless DNS lookup result.
<<less
Download (0.21MB)
Added: 2005-09-13 License: GPL (GNU General Public License) Price:
1510 downloads
HTTunnel::Client 0.08

HTTunnel::Client 0.08


HTTunnel::Client is a client class for Apache::HTTunnel. more>>
HTTunnel::Client is a client class for Apache::HTTunnel.

SYNOPSIS

my $hc = new HTTunnel::Client("http://localhost/httunnel") ;
$hc->connect(tcp, $some_host, $some_port) ;

$hc->print(some request) ;
my $some_response = $hc->read(1024) ;

$ch->close() ;

HTTunnel::Client is the client class to Apache::HTTunnel. It allows the creation of a network connection tunnelled through HTTP. All data sent and received during this connection will be transported inside normal HTTP requests.

HTTunnel::Client extends LWP::UserAgent, so all LWP::UserAgent methods are available through HTTunnel::Client.

CONSTRUCTORS

new ( URL, [ARGS] )

Creates an HTTunnel::Client object that will use URL to contact the Apache::HTTunnel server. ARGS are is passed directly to the LWP::UserAgent constructor.

METHODS

connect ( PROTO, HOST, PORT, [TIMEOUT] )

Asks the Apache::HTTunnel server to establish a connection of protocol PROTO to HOST:PORT. An exception is thrown if an error occurs.

Accepted values for PROTO are tcp and udp.

print ( DATA )

Asks the Apache::HTTunnel server to write DATA to the established remote connection. An exception is thrown if an error occurs.
DATA can be a scalar or a list, in which case the list items are concatenated together.

read ( LEN, [TIMEOUT], [LIFELINE], [LIFELINE_CUT_ACTION] )

Asks the Apache::HTTunnel server to read up to LEN bytes from the established remote connection. An exception is thrown if an error occurs.

When trying to read, HTTunnel::Client will establish an HTTP connection to the Apache::HTTunnel server asking that LEN bytes be read. If no data is available after TIMEOUT seconds (the default value is 15 seconds), the HTTP connection is closed by the server and the read method will establish a new one. This will go on until some data or EOF is returned.

Therefore read will return only when some (or no more) data is available to be read (like the regular read).

LIFELINE can be any valid filehandle from which one can read. If used, read will interrupt its connection loop and execute LIFELINE_CUT_ACTION when data (or EOF) is available to be read from LIFELINE. It will then return undef.
LIFELINE_CUT_ACTION wust be a CODE ref. The default value is

sub {die("lifeline cutn")}

These features can be used if you want fork and to start a process that does nothing but reads and returns the data via a pipe. You can then use a second pipe to make sure the reader process terminates when the master process terminates.

Here is an example:

my $lifeline = new IO::Pipe() ;
my $reader = new IO::Pipe() ;
my $pid = fork() ;
if ($pid){
$reader->reader() ;
$lifeline->writer() ;

# Read data from $reader...
}
else {
$reader->writer() ;
$reader->autoflush(1) ;
$lifeline->reader() ;

while (1){
my $data = $hc->read(1024, 15, $lifeline, sub {exit()}) ;
exit() unless defined($data) ;
print $reader $data ;
}
}
close ( )

Asks the Apache::HTTunnel server to close a previously established connection.
get_peer_info ( )

The get_peer_info method returns information about the remote connection. A string containing the IP address and port number, separated by a colon (:) is returned. This method can be useful with UDP connections to validate the sender of each packet.

request_callback ( REQUEST )

The request_callback method is a callback method that can be used to access the HTTP::Request object just before it is sent. The default implementation does nothing.

response_callback ( RESPONSE )

The response_callback method is a callback method that can be used to access the HTTP::Response object just after it is received. The default implementation does nothing.

<<less
Download (0.020MB)
Added: 2007-06-09 License: Perl Artistic License Price:
868 downloads
WebClient for SVN 2.5.0

WebClient for SVN 2.5.0


WebClient for SVN is the web interface for Subversion (SVN) repository. more>>
WebClient for SVN is the web interface for Subversion (SVN) repository. It offers a convenient way of browsing the repository content and its history plus simple write operations. SVN Web Client can
Main features:
- Improved performance and usability (compared to the former SVN Browser project)
- Folders and files content browsing
- Folders and files revisions browsing and compare
- Revision details, revisions compare
- Create/delete/modify files
- Create/delete folders
- Easy branches/tags browsing
- 100% Pure Java implementation of SVN access layer (using JavaSVN library)
- Multi-repository support
<<less
Download (1.6MB)
Added: 2006-04-10 License: The Apache License 2.0 Price:
741 downloads
Java Brainfuck Compiler 2.0

Java Brainfuck Compiler 2.0


Java Brainfuck Compiler is an optimising Brainfuck to Java bytecode compiler. more>>
The Java Brainfuck Compiler is a compiler for the uniquely powerful Brainfuck language, which produces Java bytecode that will run on any Java Virtual Machine (with no intermediate steps such as going by way of Java code).

<<less
Download (0.010MB)
Added: 2005-04-18 License: GPL (GNU General Public License) Price:
1682 downloads
Java VideoLan Client Bindings 0.0.9

Java VideoLan Client Bindings 0.0.9


Java VideoLan Client Binding lets you use the VideoLan multimedia player in any Java software. more>>
Java VideoLan Client Binding lets you use the VideoLan multimedia player in any Java software.
Main features:
- displays an original VideoLan Client
- using JVLCCanvas (extends java.awt.Canvas) or JVLCPanel (extends javax.swing.JPanel) is possible to embed VLC output in any application.
Enhancements:
- This release has a cleaner classes layout, and is more intuitive to use.
- Parts of the native interface have been rewritten, some memory leaks corrected.
- Upgrading is recommended.
<<less
Download (0.015MB)
Added: 2006-08-04 License: GPL (GNU General Public License) Price:
1182 downloads
HBCI4Java 2.5.0 RC9

HBCI4Java 2.5.0 RC9


HBCI4Java is a Java library for the HBCI home banking interface. more>>
HBCI4Java is a Java library for the HBCI home banking interface. HBCI4Java project supports almost all aspect of the HBCI versions 2.01, 2.1, 2.2, HBCI+ and FinTS-3.0 (with PIN/TAN support).
Its API is very application-oriented, so no knowledge about HBCI is required. The HBCI client package can be used to develop applications using HBCI features.
The HBCI server package can be used to develop your own HBCI servers. This may be useful for credit institutes or software developers who want to setup their own HBCI test server.
Enhancements:
- Added sample files to show how to use HBCIBatch tool.
- Solved some problems with the MT940 parser (for statement of account).
<<less
Download (1.4MB)
Added: 2006-06-14 License: GPL (GNU General Public License) Price:
1263 downloads
Socks via HTTP 1.2

Socks via HTTP 1.2


Socks via HTTP provides a socks tunnel via HTTP. more>>
Socks via HTTP provides a socks tunnel via HTTP.

Socks via HTTP is a program converting SOCKS requests into HTTP requests and tunnelling them through HTTP proxies if needed.

The SOCKS protocol allows programs to traverse firewalls on any port number and is used by many popular programs, like Napster, MSN Messenger, CRT(telnet client) and many others.

Many companies restrict firewall traversals only to HTTP requests, disabling SOCKS proxy.

Socks via HTTP provides a miniature SOCKS server for the SOCKS client, performing its connection through an HTTP proxy to a remote server, which establishes the real connection.

Socks via HTTP is 100% Java, and can run on any OS. It is entirely written in Java.

<<less
Download (0.35MB)
Added: 2007-06-26 License: GPL (GNU General Public License) Price:
854 downloads
Azureus 2.5.0.4

Azureus 2.5.0.4


Azureus provides a bittorrent protocol implementation using java language. more>>
Azureus offers multiple torrent downloads, queuing/priority systems (on torrents and files), start/stop seeding options and instant access to numerous pieces of information about your torrents.

Azureus has now features like an embedded tracker, that is easily to set up and ready to use.

<<less
Download (7.3MB)
Added: 2007-01-25 License: GPL (GNU General Public License) Price:
1024 downloads
java-diff 1.0.5

java-diff 1.0.5


java-diff is a set of Java classes which implement the longest common subsequences algorithm. more>>
java-diff is a set of Java classes which implement the longest common subsequences algorithm.

java-diff compares the elements in two arrays, returning a list of Difference objects, each of which describes an addition, deletion, or change between the two arrays.

<<less
Download (0.015MB)
Added: 2006-08-23 License: LGPL (GNU Lesser General Public License) Price:
1165 downloads
WM PPTP daemon 0.0.9

WM PPTP daemon 0.0.9


The wmpptpd is a Linux PPTP (Point to Point Tunnelling Protocol) server. more>>
The wmpptpd is a Linux PPTP (Point to Point Tunnelling Protocol) server. Comparing to the existing PPTP client and server, it handles multiple connections and clients, implements window protocol, etc. After few minor changes you can use it as a client, too.

The PPTP, point-to-point tunelling protocol, is used to tunell a PPP connection over the local network. It is often used to build the virtual private networks using Windows 9x machines and NT server. There exists a PPTP server and PPTP client for Linux, both of them used to communicate with a windows machine:

server (PoPToP): http://poptop.lineo.com
client (PPTP-Linux): http://cag.lcs.mit.edu/~cananian/Projects/PPTP

However, there are more implementations than the one in Windows around, and weve got a Compaq Microcom 4000 modem rack, which answers digital incomming calls and forwards the requests to a server (using PPTP of course). At first, we tried to adapt a PoPToP server or client to do the job for us, but unfortunately found many problems, so we started from scratch. Our goals were:
- working PPTP implementation
- extensible and flexible design
- multiple connections at one time
- support for as many pptp-talking clients as possible

After few nights, the first versions were ready, few bugs were caught (for example, we had to throw our implementation of windows, as microcom 4000 does not use them; we found few serious design flaws of PPTP protocol itself, spent some time catching the bugs with multiple connections, ...). Then we installed this all on our production server and forgot about it. After some time, weve got some bug reports, which needed to be ironed out. So we re-visited the sources, fixed the bugs and made this release.
<<less
Download (0.051MB)
Added: 2006-06-30 License: GPL (GNU General Public License) Price:
1216 downloads
Jabber::RPC::HTTPgate 0.01

Jabber::RPC::HTTPgate 0.01


Jabber::RPC::HTTPgate is an HTTP gateway for Jabber-RPC / XML-RPC. more>>
Jabber::RPC::HTTPgate is an HTTP gateway for Jabber-RPC / XML-RPC.

SYNOPSIS

use Jabber::RPC::HTTPgate;

my $gw = new Jabber::RPC::HTTPgate(
server => myserver.org:5701,
identauth => jrpchttp.localhost:secret,
httpcomp => http,
);

$gw->start;

Jabber::RPC::HTTPgate is an experimental gateway that provides a conduit service between traditional (HTTP-transported) XML-RPC encoded requests/responses and Jabber-RPC (XML-RPC encoded requests/responses transported over Jabber).

The idea is that you can start a gateway, that connects as a component to the backbone of a Jabber server, and it proxies Jabber-RPC to HTTP-based XML-RPC endpoints, and vice versa. That means that your Jabber-RPC client can not only make XML-RPC encoded calls to a Jabber-RPC endpoint but also to a traditional HTTP-based XML-RPC endpoint. And it also means that your traditional HTTP-based XML-RPC client can make XML-RPC encoded calls to a Jabber-RPC endpoint.

Jabber -> HTTP

When you create and start up a gateway, it listens for Jabber-RPC calls, just like a normal Jabber-RPC responder. On receipt of such a call, the gateway creates an HTTP request and sends this request on to the HTTP-based XML-RPC endpoint. The response received back from this HTTP call is relayed back to the original Jabber-RPC requester.
While a Jabber-RPC endpoint address is a Jabber ID (JID), an traditional XML-RPC endpoint address is a URL. So all the Jabber-RPC client needs to do is specify the URL in the resource part of the gateways endpoint JID.

HTTP -> Jabber

As well as listening for Jabber-RPC calls, a gateway will also service incoming HTTP requests that can be made to the HTTP component that this gateway uses. The HTTP component (called simply http) can be downloaded from the normal Jabber software repository.

On receipt of an HTTP request (passed to it by the HTTP component), the gateway creates a Jabber-RPC request containing the XML-RPC encoded payload, and sends it on to the Jabber-RPC responder endpoint. This endpoint is identified (via a JID) by the path part of the URL used in the call by the traditional client.

<<less
Download (0.009MB)
Added: 2007-03-21 License: Perl Artistic License Price:
947 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5