| Modifier and Type | Class and Description |
|---|---|
class |
NonSwaggerInvocation |
| Modifier and Type | Method and Description |
|---|---|
void |
Handler.handle(Invocation invocation,
AsyncResponse asyncResp) |
void |
Transport.send(Invocation invocation,
AsyncResponse asyncResp) |
| Modifier and Type | Method and Description |
|---|---|
static MicroserviceVersions |
CoreMetaUtils.getMicroserviceVersions(Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
Invocation |
InvocationBaseEvent.getInvocation() |
| Constructor and Description |
|---|
InvocationBaseEvent(Invocation invocation) |
InvocationBusinessFinishEvent(Invocation invocation) |
InvocationBusinessMethodFinishEvent(Invocation invocation) |
InvocationBusinessMethodStartEvent(Invocation invocation) |
InvocationEncodeResponseStartEvent(Invocation invocation,
Response response) |
InvocationFinishEvent(Invocation invocation,
Response response) |
InvocationHandlersStartEvent(Invocation invocation) |
InvocationRunInExecutorFinishEvent(Invocation invocation) |
InvocationRunInExecutorStartEvent(Invocation invocation) |
InvocationStartEvent(Invocation invocation) |
InvocationStartSendRequestEvent(Invocation invocation) |
InvocationTimeoutCheckEvent(Invocation invocation) |
InvocationWithResponseEvent(Invocation invocation,
Response response) |
| Modifier and Type | Method and Description |
|---|---|
InvocationException |
ExceptionProcessor.convert(Invocation invocation,
Throwable throwable) |
static InvocationException |
Exceptions.convert(Invocation invocation,
Throwable throwable) |
InvocationException |
DefaultExceptionProcessor.convert(Invocation invocation,
Throwable throwable) |
InvocationException |
ExceptionProcessor.convert(Invocation invocation,
Throwable throwable,
javax.ws.rs.core.Response.StatusType genericStatus) |
static InvocationException |
Exceptions.convert(Invocation invocation,
Throwable throwable,
javax.ws.rs.core.Response.StatusType genericStatus) |
InvocationException |
DefaultExceptionProcessor.convert(Invocation invocation,
Throwable throwable,
javax.ws.rs.core.Response.StatusType genericStatus) |
InvocationException |
ExceptionConverter.convert(Invocation invocation,
T throwable,
javax.ws.rs.core.Response.StatusType genericStatus) |
static javax.ws.rs.core.Response.StatusType |
Exceptions.getGenericStatus(Invocation invocation) |
boolean |
ExceptionProcessor.isIgnoreLog(Invocation invocation,
InvocationException exception) |
boolean |
DefaultExceptionProcessor.isIgnoreLog(Invocation invocation,
InvocationException exception) |
void |
ExceptionProcessor.logConsumerException(Invocation invocation,
InvocationException exception) |
void |
DefaultExceptionProcessor.logConsumerException(Invocation invocation,
InvocationException exception) |
void |
ExceptionProcessor.logProducerException(Invocation invocation,
InvocationException exception) |
void |
DefaultExceptionProcessor.logProducerException(Invocation invocation,
InvocationException exception) |
Response |
ExceptionProcessor.toConsumerResponse(Invocation invocation,
Throwable throwable) |
static Response |
Exceptions.toConsumerResponse(Invocation invocation,
Throwable throwable) |
Response |
DefaultExceptionProcessor.toConsumerResponse(Invocation invocation,
Throwable throwable) |
Response |
ExceptionProcessor.toProducerResponse(Invocation invocation,
Throwable exception) |
static Response |
Exceptions.toProducerResponse(Invocation invocation,
Throwable exception) |
Response |
DefaultExceptionProcessor.toProducerResponse(Invocation invocation,
Throwable exception) |
| Modifier and Type | Method and Description |
|---|---|
InvocationException |
ConnectTimeoutExceptionConverter.convert(Invocation invocation,
io.netty.channel.ConnectTimeoutException throwable,
javax.ws.rs.core.Response.StatusType genericStatus) |
InvocationException |
ConstraintViolationExceptionConverter.convert(Invocation invocation,
javax.validation.ConstraintViolationException throwable,
javax.ws.rs.core.Response.StatusType genericStatus) |
InvocationException |
IllegalArgumentExceptionConverter.convert(Invocation invocation,
IllegalArgumentException throwable,
javax.ws.rs.core.Response.StatusType genericStatus) |
InvocationException |
InvocationExceptionConverter.convert(Invocation invocation,
InvocationException throwable,
javax.ws.rs.core.Response.StatusType genericStatus) |
InvocationException |
DefaultExceptionConverter.convert(Invocation invocation,
Throwable throwable,
javax.ws.rs.core.Response.StatusType genericStatus) |
InvocationException |
TimeoutExceptionConverter.convert(Invocation invocation,
TimeoutException throwable,
javax.ws.rs.core.Response.StatusType genericStatus) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Response> |
FilterNode.onFilter(Invocation invocation) |
CompletableFuture<Response> |
Filter.onFilter(Invocation invocation,
FilterNode nextNode) |
| Modifier and Type | Method and Description |
|---|---|
protected Response |
ProducerOperationFilter.convertResultToResponse(Invocation invocation,
SwaggerProducerOperation producerOperation,
Object result) |
protected Set<javax.validation.ConstraintViolation<Object>> |
ParameterValidatorFilter.doValidate(Invocation invocation) |
protected CompletableFuture<Object> |
ProducerOperationFilter.invoke(Invocation invocation,
Object instance,
Method method,
Object[] args) |
CompletableFuture<Response> |
EmptyFilter.onFilter(Invocation invocation,
FilterNode nextNode) |
CompletableFuture<Response> |
SimpleLoadBalanceFilter.onFilter(Invocation invocation,
FilterNode nextNode) |
CompletableFuture<Response> |
ScheduleFilter.onFilter(Invocation invocation,
FilterNode next) |
CompletableFuture<Response> |
TransportFilters.onFilter(Invocation invocation,
FilterNode nextNode) |
CompletableFuture<Response> |
ParameterValidatorFilter.onFilter(Invocation invocation,
FilterNode nextNode) |
CompletableFuture<Response> |
ProducerOperationFilter.onFilter(Invocation invocation,
FilterNode nextNode) |
protected void |
ProducerOperationFilter.processMetrics(Invocation invocation) |
protected CompletableFuture<Response> |
ScheduleFilter.runInExecutor(Invocation invocation,
FilterNode next) |
| Modifier and Type | Method and Description |
|---|---|
static GovernanceRequest |
MatchType.createGovHttpRequest(Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
void |
ProducerOperationHandler.completableFutureInvoke(Invocation invocation,
SwaggerProducerOperation producerOperation,
AsyncResponse asyncResp) |
void |
ProducerOperationHandler.doCompletableFutureInvoke(Invocation invocation,
SwaggerProducerOperation producerOperation,
AsyncResponse asyncResp) |
Response |
ProducerOperationHandler.doInvoke(Invocation invocation,
SwaggerProducerOperation producerOperation) |
void |
TransportClientHandler.handle(Invocation invocation,
AsyncResponse asyncResp) |
void |
SimpleLoadBalanceHandler.handle(Invocation invocation,
AsyncResponse asyncResp) |
void |
ProducerOperationHandler.handle(Invocation invocation,
AsyncResponse asyncResp) |
void |
ProducerOperationHandler.syncInvoke(Invocation invocation,
SwaggerProducerOperation producerOperation,
AsyncResponse asyncResp) |
| Modifier and Type | Method and Description |
|---|---|
static Invocation |
InvocationFactory.forConsumer(ReferenceConfig referenceConfig,
OperationMeta operationMeta,
InvocationRuntimeType invocationRuntimeType,
Map<String,Object> swaggerArguments) |
static Invocation |
InvocationFactory.forProvider(Endpoint endpoint,
OperationMeta operationMeta,
Map<String,Object> swaggerArguments) |
protected abstract Invocation |
ProducerInvocationFlow.sendCreateInvocationException(Throwable throwable) |
static Invocation |
InvocationFactory.setSrcMicroservice(Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Invocation> |
InvocationCreator.createAsync() |
| Modifier and Type | Method and Description |
|---|---|
default boolean |
InvocationTimeoutStrategy.alreadyTimeout(Invocation invocation) |
default void |
InvocationTimeoutStrategy.beforeSendRequest(Invocation invocation) |
long |
InvocationTimeoutStrategy.calculateElapsedNanoTime(Invocation invocation) |
default void |
InvocationTimeoutStrategy.checkTimeout(Invocation invocation) |
default void |
InvocationTimeoutStrategy.finishBusinessMethod(Invocation invocation) |
protected abstract void |
ProducerInvocationFlow.sendResponse(Invocation invocation,
Response response) |
static Invocation |
InvocationFactory.setSrcMicroservice(Invocation invocation) |
void |
InvocationTimeoutStrategy.start(Invocation invocation) |
default void |
InvocationTimeoutStrategy.startBusinessMethod(Invocation invocation) |
default void |
InvocationTimeoutStrategy.startHandlers(Invocation invocation) |
default void |
InvocationTimeoutStrategy.startRunInExecutor(Invocation invocation) |
| Constructor and Description |
|---|
InvocationStageTrace(Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
void |
ProcessingTimeStrategy.beforeSendRequest(Invocation invocation) |
long |
PassingTimeStrategy.calculateElapsedNanoTime(Invocation invocation) |
long |
ProcessingTimeStrategy.calculateElapsedNanoTime(Invocation invocation) |
void |
PassingTimeStrategy.start(Invocation invocation) |
void |
ProcessingTimeStrategy.start(Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
static Response |
InvokerUtils.innerSyncInvoke(Invocation invocation)
This is an internal API, caller make sure already invoked SCBEngine.ensureStatusUp
|
static CompletableFuture<Response> |
InvokerUtils.invoke(Invocation invocation)
This method is used in new Filter implementation to replace Handler
NOTE: this method should never throw exception directly
|
static void |
InvokerUtils.reactiveInvoke(Invocation invocation,
AsyncResponse asyncResp)
This is an internal API, caller make sure already invoked SCBEngine.ensureStatusUp
|
static Object |
InvokerUtils.syncInvoke(Invocation invocation)
This is an internal API, caller make sure already invoked SCBEngine.ensureStatusUp
|
Response |
SyncResponseExecutor.waitResponse(Invocation invocation) |
| Modifier and Type | Method and Description |
|---|---|
protected List<MicroserviceVersion> |
OperationInstancesDiscoveryFilter.sortedMicroserviceVersion(Invocation invocation,
Map<String,MicroserviceInstance> instances) |
| Modifier and Type | Method and Description |
|---|---|
Invocation |
TraceIdLogger.getInvocation() |
| Constructor and Description |
|---|
TraceIdLogger(Invocation invocation) |
Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.