Class EnableSpeakeasyInterceptor

java.lang.Object
dev.speakeasyapi.micronaut.EnableSpeakeasyInterceptor
All Implemented Interfaces:
io.micronaut.aop.Interceptor<Object,Object>, io.micronaut.aop.MethodInterceptor<Object,Object>, io.micronaut.core.order.Ordered

@Singleton @InterceptorBean(EnableSpeakeasy.class) public class EnableSpeakeasyInterceptor extends Object implements io.micronaut.aop.MethodInterceptor<Object,Object>
  • Field Summary

    Fields inherited from interface io.micronaut.aop.Interceptor

    ARGUMENT, CACHEABLE_LAZY_TARGET, HOTSWAP, LAZY, PROXY_TARGET

    Fields inherited from interface io.micronaut.core.order.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    configure(String apiID, String versionID)
     
    static void
    configure(String apiID, String versionID, String apiKey)
     
    intercept(io.micronaut.aop.MethodInvocationContext<Object,Object> context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.micronaut.aop.MethodInterceptor

    intercept

    Methods inherited from interface io.micronaut.core.order.Ordered

    getOrder
  • Constructor Details

    • EnableSpeakeasyInterceptor

      public EnableSpeakeasyInterceptor()
  • Method Details

    • configure

      public static void configure(String apiID, String versionID)
    • configure

      public static void configure(String apiID, String versionID, String apiKey)
    • intercept

      @Nullable public Object intercept(io.micronaut.aop.MethodInvocationContext<Object,Object> context)
      Specified by:
      intercept in interface io.micronaut.aop.MethodInterceptor<Object,Object>