@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 |
|---|---|
jakarta.ws.rs.core.Response |
getExternalGrammar(jakarta.ws.rs.core.UriInfo uriInfo,
String path) |
jakarta.ws.rs.core.Response |
getWadl(jakarta.ws.rs.core.UriInfo uriInfo) |
public static final String HTTPDATEFORMAT
@Produces(value={"application/vnd.sun.wadl+xml","application/xml"})
@GET
public jakarta.ws.rs.core.Response getWadl(@Context
jakarta.ws.rs.core.UriInfo uriInfo)
@Produces(value="application/xml")
@GET
@Path(value="{path}")
public jakarta.ws.rs.core.Response getExternalGrammar(@Context
jakarta.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.