Class EnableSpeakeasy

java.lang.Object
dev.speakeasyapi.sdk.EnableSpeakeasy
All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@Configuration @ConfigurationProperties(prefix="speakeasy-api") @ConfigurationPropertiesScan @Import(SpeakeasyFilter.class) public class EnableSpeakeasy extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
     
    void
    setApiKey(String apiKey)
     
    void
    setSecureGrpc(boolean secureGrpc)
     
    void
    setServerUrl(String serverUrl)
     

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer

    addArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
  • Constructor Details

    • EnableSpeakeasy

      public EnableSpeakeasy()
  • Method Details

    • setApiKey

      public void setApiKey(String apiKey)
    • setServerUrl

      public void setServerUrl(String serverUrl)
    • setSecureGrpc

      public void setSecureGrpc(boolean secureGrpc)
    • addInterceptors

      public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
      Specified by:
      addInterceptors in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer