Class VerifySpecCallback

  • All Implemented Interfaces:
    com.hexagonkt.http.handlers.HttpCallback , kotlin.Function , kotlin.Function1

    
    public final class VerifySpecCallback
     implements HttpCallback
                        

    Callback that verifies server calls comply with a given OpenAPI spec.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      HttpContext invoke(HttpContext context)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VerifySpecCallback

        VerifySpecCallback(URL spec)
        Parameters:
        spec - Location of the spec used to validate HTTP calls.
    • Method Detail

      • invoke

         HttpContext invoke(HttpContext context)