T - public abstract class AbstractProducerHttpClient<T> extends AbstractHttpClient implements EventMeshProtocolProducer<T>
eventMeshHttpClientConfig, eventMeshServerSelector, httpClient| 构造器和说明 |
|---|
AbstractProducerHttpClient(EventMeshHttpClientConfig eventMeshHttpClientConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract RequestParam |
builderPublishRequestParam(T t) |
abstract RequestParam |
builderRequestParam(T t,
long timeout) |
void |
publish(T t) |
T |
request(T message,
long timeout) |
void |
request(T message,
RRCallback<T> rrCallback,
long timeout) |
abstract T |
transformMessage(EventMeshRetObj retObj) |
abstract void |
validateMessage(T t) |
close, selectEventMeshpublic AbstractProducerHttpClient(EventMeshHttpClientConfig eventMeshHttpClientConfig) throws org.apache.eventmesh.common.exception.EventMeshException
org.apache.eventmesh.common.exception.EventMeshExceptionpublic void publish(T t) throws org.apache.eventmesh.common.exception.EventMeshException
publish 在接口中 EventMeshProtocolProducer<T>org.apache.eventmesh.common.exception.EventMeshExceptionpublic T request(T message, long timeout) throws org.apache.eventmesh.common.exception.EventMeshException
request 在接口中 EventMeshProtocolProducer<T>org.apache.eventmesh.common.exception.EventMeshExceptionpublic void request(T message, RRCallback<T> rrCallback, long timeout) throws org.apache.eventmesh.common.exception.EventMeshException
request 在接口中 EventMeshProtocolProducer<T>org.apache.eventmesh.common.exception.EventMeshExceptionpublic abstract RequestParam builderPublishRequestParam(T t)
public abstract RequestParam builderRequestParam(T t, long timeout)
public abstract void validateMessage(T t)
public abstract T transformMessage(EventMeshRetObj retObj)