Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejava
themeConfluence
titleInterceptorServiceCallInterceptor
linenumberstrue
public interface ServiceCallInterceptor extends Serializable {

    public default void onInvoke(ServiceInterceptorContext ctx) throws ServiceInterceptException {
        // No-op.
    }

    public default void onComplete(@Nullable Object res, ServiceInterceptorContext ctx) throws ServiceInterceptException {
        // No-op.
    }

    public default void onError(Throwable err, ServiceInterceptorContext ctx) {
        // No-op.
    }
}


Code Block
languagejava
themeConfluence
titleServiceCallContext
linenumberstrue
public interface ServiceCallContext {
    public String attribute(String name);

    public byte[] binaryAttribute(String name);
}


Code Block
languagejava
themeConfluence
titleServiceInterceptorContext
linenumberstrue
public interface ServiceInterceptorContext extends ServiceCallContext {
    public String method();

    public @Nullable Object[] arguments();

    public void attribute(String name, String val);

    public void binaryAttribute(String name, byte[] val);
}

Implementation requirements/limitations

...