org.vigia.server.driver.camera
Class HttpClient

java.lang.Object
  extended by org.vigia.server.driver.camera.HttpClient

public class HttpClient
extends java.lang.Object

Author:
jesus

Field Summary
private  int m_Port
           
private  java.lang.String m_Server
           
 
Constructor Summary
HttpClient(java.lang.String server, int port)
          HttpClient class constructor
 
Method Summary
 java.lang.String REQUEST(java.lang.String s, java.lang.String s1, boolean flag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_Server

private java.lang.String m_Server

m_Port

private int m_Port
Constructor Detail

HttpClient

public HttpClient(java.lang.String server,
                  int port)
HttpClient class constructor

Parameters:
server - server IP address/hostname
port - server HTTP port
Method Detail

REQUEST

public java.lang.String REQUEST(java.lang.String s,
                                java.lang.String s1,
                                boolean flag)
Parameters:
s - server action
s1 - server command
flag - true=POST request / false=GET request
Returns:
HTTP server response