Package org.glassfish.admin.rest.wadl
Class RestModelSchemaResource
- java.lang.Object
-
- org.glassfish.admin.rest.resources.AbstractResource
-
- org.glassfish.admin.rest.composite.CompositeResource
-
- org.glassfish.admin.rest.composite.LegacyCompositeResource
-
- org.glassfish.admin.rest.wadl.RestModelSchemaResource
-
- All Implemented Interfaces:
DefaultsGenerator,OptionsCapable,RestResource
@Path("/schema.xsd") @Service public class RestModelSchemaResource extends LegacyCompositeResource- Author:
- jdlee
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.glassfish.admin.rest.composite.CompositeResource
CompositeResource.CommandInvoker, CompositeResource.CreateCommandInvoker
-
-
Field Summary
-
Fields inherited from class org.glassfish.admin.rest.composite.CompositeResource
compositeUtil, CONSUMES_TYPE, DETACHED, DETACHED_DEFAULT, EXCLUDE, INCLUDE, THREAD_POOL_CORE, THREAD_POOL_MAX
-
Fields inherited from class org.glassfish.admin.rest.resources.AbstractResource
locatorBridge, logger, requestHeaders, securityContext, serviceLocator, subjectRef, uriInfo
-
-
Constructor Summary
Constructors Constructor Description RestModelSchemaResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSchema()StringgetSchema1()StringgetSchemaManually()protected voidprocessClass(StringBuilder sb, Class<?> c, String simpleName)-
Methods inherited from class org.glassfish.admin.rest.composite.LegacyCompositeResource
getDefaultValue, getUriInfo, legacyAccepted, legacyAccepted, legacyCreated, legacyCreated, legacyDeleted, legacyDeleted, legacyResponseBody, legacyUpdated, legacyUpdated, options, setUriInfo
-
Methods inherited from class org.glassfish.admin.rest.composite.CompositeResource
accepted, accepted, accepted, accepted, act, acted, acted, acted, actSse, addActionResourceLink, addResourceLink, badRequest, badRequest, badRequest, badRequest, create, created, created, created, created, createSse, deleted, deleted, deleted, executeCommand, executeDeleteCommand, executeDeleteCommand, executeDeleteCommandManaged, executeReadCommand, executeReadCommand, executeSseCommand, executeSseCommand, executeSseCommand, executeWriteCommand, executeWriteCommand, executeWriteCommandManaged, filterModel, filterModel, filterModel, generateDefaultName, getChildItemUri, getCollectionChildParentUri, getCompositeUtil, getExecutorService, getFilter, getFilter, getJsonModel, getLocale, getParentUri, getPathParam, getResponse, getResponse, getSubResource, getSubUri, getTypedModel, getUri, includeResourceLinks, launchDetachedCommand, newModel, newTemplate, notFound, ok, parameterMap, responseBody, restCollectionResponseBody, restCollectionResponseBody, restModelResponseBody, restModelResponseBody, restModelResponseBody, setSubjectRef, updated, updated, updated
-
Methods inherited from class org.glassfish.admin.rest.resources.AbstractResource
getAuthenticatedUser, getSubject
-
-
-
-
Method Detail
-
getSchema
@GET @Path("old") public String getSchema() throws jakarta.xml.bind.JAXBException, IOException- Throws:
jakarta.xml.bind.JAXBExceptionIOException
-
getSchema1
@GET @Path("test1") public String getSchema1() throws jakarta.xml.bind.JAXBException, IOException- Throws:
jakarta.xml.bind.JAXBExceptionIOException
-
getSchemaManually
@GET public String getSchemaManually()
-
processClass
protected void processClass(StringBuilder sb, Class<?> c, String simpleName)
-
-