@Singleton @Path(value="application.wadl") @ExtendedResource public final class WadlResource extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
HTTPDATEFORMAT |
| Constructor and Description |
|---|
WadlResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getExternalGrammar(javax.ws.rs.core.UriInfo uriInfo,
String path) |
javax.ws.rs.core.Response |
getWadl(javax.ws.rs.core.UriInfo uriInfo) |
public static final String HTTPDATEFORMAT
@Produces(value={"application/vnd.sun.wadl+xml","application/xml"})
@GET
public javax.ws.rs.core.Response getWadl(@Context
javax.ws.rs.core.UriInfo uriInfo)
@Produces(value="application/xml")
@GET
@Path(value="{path}")
public javax.ws.rs.core.Response getExternalGrammar(@Context
javax.ws.rs.core.UriInfo uriInfo,
@PathParam(value="path")
String path)
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.