Class HttpResponseCodeTrait

  • All Implemented Interfaces:
    FromSourceLocation, ToNode, ToShapeId, Trait

    public final class HttpResponseCodeTrait
    extends AnnotationTrait
    Indicates that the structure member represents the HTTP response status code. This MAY differ from the HTTP status code provided in the response.
    • Field Detail

      • ID

        public static final ShapeId ID
    • Constructor Detail

      • HttpResponseCodeTrait

        public HttpResponseCodeTrait​(ObjectNode node)
      • HttpResponseCodeTrait

        public HttpResponseCodeTrait()