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 Details

    • ID

      public static final ShapeId ID
  • Constructor Details

    • HttpResponseCodeTrait

      public HttpResponseCodeTrait(ObjectNode node)
    • HttpResponseCodeTrait

      public HttpResponseCodeTrait()