Package org.cometd.javascript
Class XMLHttpRequestClient
java.lang.Object
org.cometd.javascript.XMLHttpRequestClient
public class XMLHttpRequestClient
extends java.lang.Object
Implementation of the XMLHttpRequest functionality using Jetty's HttpClient.
-
Constructor Summary
Constructors Constructor Description XMLHttpRequestClient(JavaScriptCookieStore cookieStore)
-
Method Summary
Modifier and Type Method Description org.eclipse.jetty.client.HttpClient
getHttpClient()
void
start()
void
stop()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
XMLHttpRequestClient
-
-
Method Details
-
start
public void start() throws java.lang.Exception- Throws:
java.lang.Exception
-
getHttpClient
public org.eclipse.jetty.client.HttpClient getHttpClient() -
stop
public void stop() throws java.lang.Exception- Throws:
java.lang.Exception
-