Class ApplicationDescription.ExternalGrammar

java.lang.Object
org.glassfish.jersey.server.wadl.internal.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
  • Field Details

    • _type

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

      private byte[] _content
  • Constructor Details

    • ExternalGrammar

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

    • getType

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

      public byte[] getContent()