Class ProtocolHttpValidator

  • All Implemented Interfaces:
    software.amazon.smithy.model.validation.Validator

    public final class ProtocolHttpValidator
    extends software.amazon.smithy.model.validation.AbstractValidator
    Ensures that every entry in eventStreamHttp also appears in the http property of a protocol trait.
    • Field Summary

      • Fields inherited from interface software.amazon.smithy.model.validation.Validator

        MODEL_ERROR
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<software.amazon.smithy.model.validation.ValidationEvent> validate​(software.amazon.smithy.model.Model model)  
      • Methods inherited from class software.amazon.smithy.model.validation.AbstractValidator

        createEvent, createEvent, danger, danger, error, error, getName, note, note, warning, warning
      • Methods inherited from class java.lang.Object

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

      • ProtocolHttpValidator

        public ProtocolHttpValidator()
    • Method Detail

      • validate

        public java.util.List<software.amazon.smithy.model.validation.ValidationEvent> validate​(software.amazon.smithy.model.Model model)