Class OrganizationResource


  • @Path("/org")
    @Consumes("application/json")
    @Produces("application/json")
    public class OrganizationResource
    extends ConfigBaseResource
    • Field Summary

      • Fields inherited from class io.jans.configapi.core.rest.BaseResource

        FIELD_VALUE_SEPARATOR, MISSING_ATTRIBUTE_CODE, MISSING_ATTRIBUTE_MESSAGE, TOKEN_DELIMITER
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      jakarta.ws.rs.core.Response getOrganization()  
      jakarta.ws.rs.core.Response patchOrganization​(@NotNull String pathString)  
      • Methods inherited from class io.jans.configapi.core.rest.BaseResource

        checkNotEmpty, checkNotEmpty, checkNotNull, checkNotNull, checkNotNull, checkResourceNotNull, createSearchRequest, findRootError, getBadRequestException, getBadRequestException, getBadRequestException, getHttpHeaders, getHttpRequest, getInternalServerException, getMissingAttributeError, getNotAcceptableException, getNotFoundError, getUriInfo, throwBadRequestException, throwBadRequestException, throwBadRequestException, throwInternalServerException, throwInternalServerException, throwMissingAttributeError
    • Constructor Detail

      • OrganizationResource

        public OrganizationResource()
    • Method Detail

      • getOrganization

        @GET
        public jakarta.ws.rs.core.Response getOrganization()
      • patchOrganization

        @PATCH
        @Consumes("application/json-patch+json")
        public jakarta.ws.rs.core.Response patchOrganization​(@NotNull
                                                             @NotNull String pathString)
                                                      throws com.github.fge.jsonpatch.JsonPatchException,
                                                             IOException
        Throws:
        com.github.fge.jsonpatch.JsonPatchException
        IOException