Class ApplicationDescription.ExternalGrammar

  • Enclosing class:
    ApplicationDescription

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

      Fields 
      Modifier and Type Field Description
      private byte[] _content  
      private javax.ws.rs.core.MediaType _type  
    • Constructor Summary

      Constructors 
      Constructor Description
      ExternalGrammar​(javax.ws.rs.core.MediaType type, byte[] content)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getContent()  
      javax.ws.rs.core.MediaType getType()  
      • Methods inherited from class java.lang.Object

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

      • _type

        private javax.ws.rs.core.MediaType _type
      • _content

        private byte[] _content
    • Constructor Detail

      • ExternalGrammar

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

      • getType

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

        public byte[] getContent()