Search in sources :

Example 6 with Representation

use of com.sun.research.ws.wadl.Representation in project jersey by jersey.

the class WadlGeneratorImpl method createResponseRepresentation.

public Representation createResponseRepresentation(org.glassfish.jersey.server.model.Resource r, ResourceMethod m, MediaType mediaType) {
    Representation wadlRepresentation = new Representation();
    wadlRepresentation.setMediaType(mediaType.toString());
    return wadlRepresentation;
}
Also used : Representation(com.sun.research.ws.wadl.Representation)

Aggregations

Representation (com.sun.research.ws.wadl.Representation)6 Response (com.sun.research.ws.wadl.Response)2 ArrayList (java.util.ArrayList)2 RepresentationDocType (org.glassfish.jersey.server.wadl.internal.generators.resourcedoc.model.RepresentationDocType)2 Param (com.sun.research.ws.wadl.Param)1 ProcessingException (javax.ws.rs.ProcessingException)1 MediaType (javax.ws.rs.core.MediaType)1 ResponseDocType (org.glassfish.jersey.server.wadl.internal.generators.resourcedoc.model.ResponseDocType)1 WadlParamType (org.glassfish.jersey.server.wadl.internal.generators.resourcedoc.model.WadlParamType)1