public class GripPubControl
extends org.fanout.pubcontrol.PubControl
| Constructor and Description |
|---|
GripPubControl()
Initialize with or without a configuration.
|
GripPubControl(List<Map<String,Object>> config)
Initialize with a configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyGripConfig(List<Map<String,Object>> config)
Apply the specified configuration to this GripPubControl instance.
|
void |
publishHttpResponse(List<String> channels,
byte[] body)
Synchronously publish an HTTP response format message.
|
void |
publishHttpResponse(List<String> channels,
byte[] body,
String id,
String prevId)
Synchronously publish an HTTP response format message.
|
void |
publishHttpResponse(List<String> channels,
HttpResponseFormat format)
Synchronously publish an HTTP response format message.
|
void |
publishHttpResponse(List<String> channels,
HttpResponseFormat format,
String id,
String prevId)
Synchronously publish an HTTP response format message
|
void |
publishHttpResponse(List<String> channels,
String body)
Synchronously publish an HTTP response format message.
|
void |
publishHttpResponse(List<String> channels,
String body,
String id,
String prevId)
Synchronously publish an HTTP response format message.
|
void |
publishHttpResponseAsync(List<String> channels,
byte[] body,
org.fanout.pubcontrol.PublishCallback callback)
Asynchronously publish an HTTP response format message.
|
void |
publishHttpResponseAsync(List<String> channels,
byte[] body,
String id,
String prevId,
org.fanout.pubcontrol.PublishCallback callback)
Asynchronously publish an HTTP response format message.
|
void |
publishHttpResponseAsync(List<String> channels,
HttpResponseFormat format,
org.fanout.pubcontrol.PublishCallback callback)
Asynchronously publish an HTTP response format message.
|
void |
publishHttpResponseAsync(List<String> channels,
HttpResponseFormat format,
String id,
String prevId,
org.fanout.pubcontrol.PublishCallback callback)
Asynchronously publish an HTTP response format message.
|
void |
publishHttpResponseAsync(List<String> channels,
String body,
org.fanout.pubcontrol.PublishCallback callback)
Asynchronously publish an HTTP response format message.
|
void |
publishHttpResponseAsync(List<String> channels,
String body,
String id,
String prevId,
org.fanout.pubcontrol.PublishCallback callback)
Asynchronously publish an HTTP response format message.
|
void |
publishHttpStream(List<String> channels,
byte[] content)
Synchronously publish an HTTP stream format message.
|
void |
publishHttpStream(List<String> channels,
byte[] content,
String id,
String prevId)
Synchronously publish an HTTP stream format message.
|
void |
publishHttpStream(List<String> channels,
HttpStreamFormat format)
Synchronously publish an HTTP stream format message.
|
void |
publishHttpStream(List<String> channels,
HttpStreamFormat format,
String id,
String prevId)
Synchronously publish an HTTP stream format message.
|
void |
publishHttpStream(List<String> channels,
String content)
Synchronously publish an HTTP stream format message.
|
void |
publishHttpStream(List<String> channels,
String content,
String id,
String prevId)
Synchronously publish an HTTP stream format message.
|
void |
publishHttpStreamAsync(List<String> channels,
byte[] content,
org.fanout.pubcontrol.PublishCallback callback)
Asynchronously publish an HTTP stream format message.
|
void |
publishHttpStreamAsync(List<String> channels,
byte[] content,
String id,
String prevId,
org.fanout.pubcontrol.PublishCallback callback)
Asynchronously publish an HTTP stream format message.
|
void |
publishHttpStreamAsync(List<String> channels,
HttpStreamFormat format,
org.fanout.pubcontrol.PublishCallback callback)
Asynchronously publish an HTTP stream format message.
|
void |
publishHttpStreamAsync(List<String> channels,
HttpStreamFormat format,
String id,
String prevId,
org.fanout.pubcontrol.PublishCallback callback)
Asynchronously publish an HTTP stream format message.
|
void |
publishHttpStreamAsync(List<String> channels,
String content,
org.fanout.pubcontrol.PublishCallback callback)
Asynchronously publish an HTTP stream format message.
|
void |
publishHttpStreamAsync(List<String> channels,
String content,
String id,
String prevId,
org.fanout.pubcontrol.PublishCallback callback)
Asynchronously publish an HTTP stream format message.
|
public GripPubControl()
public void applyGripConfig(List<Map<String,Object>> config)
public void publishHttpResponse(List<String> channels, HttpResponseFormat format, String id, String prevId) throws org.fanout.pubcontrol.PublishFailedException
org.fanout.pubcontrol.PublishFailedExceptionpublic void publishHttpResponse(List<String> channels, String body, String id, String prevId) throws org.fanout.pubcontrol.PublishFailedException, UnsupportedEncodingException
org.fanout.pubcontrol.PublishFailedExceptionUnsupportedEncodingExceptionpublic void publishHttpResponse(List<String> channels, byte[] body, String id, String prevId) throws org.fanout.pubcontrol.PublishFailedException
org.fanout.pubcontrol.PublishFailedExceptionpublic void publishHttpResponse(List<String> channels, HttpResponseFormat format) throws org.fanout.pubcontrol.PublishFailedException
org.fanout.pubcontrol.PublishFailedExceptionpublic void publishHttpResponse(List<String> channels, String body) throws org.fanout.pubcontrol.PublishFailedException, UnsupportedEncodingException
org.fanout.pubcontrol.PublishFailedExceptionUnsupportedEncodingExceptionpublic void publishHttpResponse(List<String> channels, byte[] body) throws org.fanout.pubcontrol.PublishFailedException
org.fanout.pubcontrol.PublishFailedExceptionpublic void publishHttpResponseAsync(List<String> channels, HttpResponseFormat format, String id, String prevId, org.fanout.pubcontrol.PublishCallback callback)
public void publishHttpResponseAsync(List<String> channels, String body, String id, String prevId, org.fanout.pubcontrol.PublishCallback callback) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic void publishHttpResponseAsync(List<String> channels, byte[] body, String id, String prevId, org.fanout.pubcontrol.PublishCallback callback)
public void publishHttpResponseAsync(List<String> channels, HttpResponseFormat format, org.fanout.pubcontrol.PublishCallback callback)
public void publishHttpResponseAsync(List<String> channels, String body, org.fanout.pubcontrol.PublishCallback callback) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic void publishHttpResponseAsync(List<String> channels, byte[] body, org.fanout.pubcontrol.PublishCallback callback)
public void publishHttpStream(List<String> channels, HttpStreamFormat format, String id, String prevId) throws org.fanout.pubcontrol.PublishFailedException
org.fanout.pubcontrol.PublishFailedExceptionpublic void publishHttpStream(List<String> channels, String content, String id, String prevId) throws org.fanout.pubcontrol.PublishFailedException, UnsupportedEncodingException
org.fanout.pubcontrol.PublishFailedExceptionUnsupportedEncodingExceptionpublic void publishHttpStream(List<String> channels, byte[] content, String id, String prevId) throws org.fanout.pubcontrol.PublishFailedException
org.fanout.pubcontrol.PublishFailedExceptionpublic void publishHttpStream(List<String> channels, HttpStreamFormat format) throws org.fanout.pubcontrol.PublishFailedException
org.fanout.pubcontrol.PublishFailedExceptionpublic void publishHttpStream(List<String> channels, String content) throws org.fanout.pubcontrol.PublishFailedException, UnsupportedEncodingException
org.fanout.pubcontrol.PublishFailedExceptionUnsupportedEncodingExceptionpublic void publishHttpStream(List<String> channels, byte[] content) throws org.fanout.pubcontrol.PublishFailedException
org.fanout.pubcontrol.PublishFailedExceptionpublic void publishHttpStreamAsync(List<String> channels, HttpStreamFormat format, String id, String prevId, org.fanout.pubcontrol.PublishCallback callback)
public void publishHttpStreamAsync(List<String> channels, String content, String id, String prevId, org.fanout.pubcontrol.PublishCallback callback) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic void publishHttpStreamAsync(List<String> channels, byte[] content, String id, String prevId, org.fanout.pubcontrol.PublishCallback callback)
public void publishHttpStreamAsync(List<String> channels, HttpStreamFormat format, org.fanout.pubcontrol.PublishCallback callback)
public void publishHttpStreamAsync(List<String> channels, String content, org.fanout.pubcontrol.PublishCallback callback) throws UnsupportedEncodingException
UnsupportedEncodingExceptionCopyright © 2015. All rights reserved.