org.jdiagnose.remote.comms
Class HttpSender

java.lang.Object
  extended byorg.jdiagnose.remote.comms.HttpSender
All Implemented Interfaces:
RemoteResultListener, RemoteResultSender

public class HttpSender
extends java.lang.Object
implements RemoteResultSender, RemoteResultListener

Sends Diagnostic Results to the JDiagnose Server view HTTP.

Author:
jmccrindle

Constructor Summary
HttpSender()
           
HttpSender(java.lang.String url)
           
 
Method Summary
 java.lang.String getMethod()
           
 HttpProxyConfig getProxyConfig()
           
 java.lang.String getUrl()
           
 void onRemoteResult(RemoteResult remoteResult)
           
 void send(RemoteResult result)
           
 void setMethod(java.lang.String method)
           
 void setProxyConfig(HttpProxyConfig proxyConfig)
           
 void setUrl(java.lang.String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpSender

public HttpSender(java.lang.String url)
Parameters:
url -

HttpSender

public HttpSender()
Method Detail

send

public void send(RemoteResult result)
          throws RemoteResultException
Specified by:
send in interface RemoteResultSender
Throws:
RemoteResultException

getUrl

public java.lang.String getUrl()

setUrl

public void setUrl(java.lang.String string)

getMethod

public java.lang.String getMethod()

setMethod

public void setMethod(java.lang.String method)

getProxyConfig

public HttpProxyConfig getProxyConfig()

setProxyConfig

public void setProxyConfig(HttpProxyConfig proxyConfig)

onRemoteResult

public void onRemoteResult(RemoteResult remoteResult)
Specified by:
onRemoteResult in interface RemoteResultListener


Copyright © 2004-2005 Grape Design Limited. All Rights Reserved.