public class HTTPSource extends SourceBase
http://host/graphId/edit?q=ACTION&.... ACTION is one of the
following action :
SourceBase.ElementType| Constructor and Description |
|---|
HTTPSource(String graphId,
int port)
Create a new http source.
|
| Modifier and Type | Method and Description |
|---|---|
void |
start()
Start the http server.
|
void |
stop()
Stop the http server.
|
addAttributeSink, addElementSink, addSink, attributeSinks, clearAttributeSinks, clearElementSinks, clearSinks, elementSinks, removeAttributeSink, removeElementSink, removeSink, sendAttributeChangedEvent, sendAttributeChangedEvent, sendEdgeAdded, sendEdgeAdded, sendEdgeAttributeAdded, sendEdgeAttributeAdded, sendEdgeAttributeChanged, sendEdgeAttributeChanged, sendEdgeAttributeRemoved, sendEdgeAttributeRemoved, sendEdgeRemoved, sendEdgeRemoved, sendGraphAttributeAdded, sendGraphAttributeAdded, sendGraphAttributeChanged, sendGraphAttributeChanged, sendGraphAttributeRemoved, sendGraphAttributeRemoved, sendGraphCleared, sendGraphCleared, sendNodeAdded, sendNodeAdded, sendNodeAttributeAdded, sendNodeAttributeAdded, sendNodeAttributeChanged, sendNodeAttributeChanged, sendNodeAttributeRemoved, sendNodeAttributeRemoved, sendNodeRemoved, sendNodeRemoved, sendStepBegins, sendStepBeginspublic HTTPSource(String graphId, int port) throws IOException
graphId - id of the graphport - port on which server will be boundIOException - if server creation failed.Copyright © 2015. All rights reserved.