Class ContentSpecification


  • public class ContentSpecification
    extends java.lang.Object
    • Constructor Detail

      • ContentSpecification

        public ContentSpecification​(boolean requestBody,
                                    java.util.Set<Representation> representations)
    • Method Detail

      • getRepresentations

        public java.util.Set<Representation> getRepresentations()
      • representationFor

        public java.util.Optional<Representation> representationFor​(org.springframework.http.MediaType mediaType)
      • isRequestBody

        public boolean isRequestBody()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object