public interface WadlGenerator
| Modifier and Type | Method and Description |
|---|---|
Application |
createApplication() |
Method |
createMethod(ResourceMethodDescriptor md) |
Param |
createParam(MethodParameter methodParameter) |
Request |
createRequest() |
RepresentationType |
createRequestRepresentation(javax.ws.rs.core.MediaType mediaType) |
Resource |
createResource(AbstractResourceDescriptor rd) |
Resource |
createResource(String path) |
Resources |
createResources() |
Response |
createResponse() |
RepresentationType |
createResponseRepresentation(javax.ws.rs.core.MediaType mediaType) |
Application createApplication()
Application instance, it is root element in WADLResources createResources()
Resources instance. Element resources in WADL
document is container for the descriptions of resources provided
by applicationResource createResource(AbstractResourceDescriptor rd)
rd - See AbstractResourceDescriptororg.everrest.core.wadl.research.Resource.Resource
describes application resource, each resource identified by a URIResource createResource(String path)
path - resource relative pathorg.everrest.core.wadl.research.Resource.Resource
describes application resource, each resource identified by a URIMethod createMethod(ResourceMethodDescriptor md)
md - See ResourceMethodDescriptororg.everrest.core.rest.wadl.research.Method describes the
input to and output from an HTTP protocol method they may be
applied to a resourceRequest createRequest()
Request describes the
input to be included when applying an HTTP method to a resourceorg.everrest.core.wadl.research.Method}Response createResponse()
Response describes the
output that result from performing an HTTP method on a resourceorg.everrest.core.wadl.research.Method}RepresentationType createRequestRepresentation(javax.ws.rs.core.MediaType mediaType)
mediaType - one of media type that resource can consumeRepresentationType describes a representation of
resource's stateRepresentationType createResponseRepresentation(javax.ws.rs.core.MediaType mediaType)
mediaType - one of media type that resource can produceRepresentationType describes a representation of
resource's stateParam createParam(MethodParameter methodParameter)
methodParameter - See MethodParameterParam describes a parameterized component of its parent
element resource, request, responseResource,
Request,
ResponseCopyright © 2012–2016 Codenvy, S.A.. All rights reserved.