Logo Search packages:      
Sourcecode: fex version File versions  Download package

fix::HttpClient Class Reference

List of all members.

Detailed Description

A Client for HTTP/HTTPS Connections.

With this class you can send and receive HTTP-MIME-messages

2010-02-04 12:01:01 +0100 (Thu, 04 Feb 2010)

Dominik Greibl
Copyright (C) 2008 Dominik Greibl Copyright (C) 2009 Sebastian Roth

All Rights Reserved

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Definition at line 48 of file HttpClient.java.

Public Member Functions

void connect (String host)
int getPort (String protocol)
Socket getSocket ()
final SSLSocketFactory getSocketFactory ()
 HttpClient (ErrorWindow e, boolean d)
void httpConnect (String host, int port)
void httpsConnect (String host, int port)
void nl ()
String[] parseURL (String address)
void send (byte[] HTTP)
void send (String HTTP)

Public Attributes

DataOutputStream out = null

Private Attributes

boolean debug = false
ErrorWindow er = null
String NEWLINE = "\r\n"
Socket socket = null

Static Private Attributes

static boolean error = false
static SSLSocketFactory sslSocketFactory = null

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index