org.apache.ws.pubsub.emitter.http
Class HttpEmitterTask

java.lang.Object
  extended byorg.apache.ws.pubsub.emitter.EmitterTask
      extended byorg.apache.ws.pubsub.emitter.http.HttpEmitterTask
All Implemented Interfaces:
java.lang.Runnable

public class HttpEmitterTask
extends EmitterTask

An emitter task that sends a notification via the HTTP protocol.


Field Summary
static java.lang.String PROTOCOL
          This emitter's protocol
 
Constructor Summary
HttpEmitterTask(javax.xml.soap.SOAPMessage notif, java.net.URL url)
          Creates a new HttpEmitterTask object.
 
Method Summary
protected  void emit()
          Sends the notification to the destination via HTTP.
 
Methods inherited from class org.apache.ws.pubsub.emitter.EmitterTask
addEmitter, createEmitterTask, getDestinationUrl, getNotification, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROTOCOL

public static final java.lang.String PROTOCOL
This emitter's protocol

See Also:
Constant Field Values
Constructor Detail

HttpEmitterTask

public HttpEmitterTask(javax.xml.soap.SOAPMessage notif,
                       java.net.URL url)
Creates a new HttpEmitterTask object.

See Also:
EmitterTask(SOAPMessage, URL)
Method Detail

emit

protected void emit()
             throws EmitterException
Sends the notification to the destination via HTTP.

Specified by:
emit in class EmitterTask
Throws:
EmitterException - on error attempting to send notification
See Also:
EmitterTask.emit()


Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.