org.glassfish.jersey.server.wadl.internal
Class ApplicationDescription.ExternalGrammar

java.lang.Object
  extended by 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


Constructor Summary
ApplicationDescription.ExternalGrammar(javax.ws.rs.core.MediaType type, byte[] content)
           
 
Method Summary
 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
 

Constructor Detail

ApplicationDescription.ExternalGrammar

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

getType

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

getContent

public byte[] getContent()


Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.