Class ApplicationDescription.ExternalGrammar

  • Enclosing class:
    ApplicationDescription

    public static class ApplicationDescription.ExternalGrammar
    extends Object
    A simple holder class that stores a type and binary content to be used to return extra metadata with
    • Constructor Detail

      • ExternalGrammar

        public ExternalGrammar​(jakarta.ws.rs.core.MediaType type,
                               byte[] content)
    • Method Detail

      • getType

        public jakarta.ws.rs.core.MediaType getType()
      • getContent

        public byte[] getContent()