Package com.evolveum.midpoint.rest.impl
Class RestApiIndex
java.lang.Object
com.evolveum.midpoint.rest.impl.AbstractRestController
com.evolveum.midpoint.rest.impl.RestApiIndex
@RestController
@RequestMapping({"/ws","/rest","/api"})
public class RestApiIndex
extends AbstractRestController
Support for simple index page with REST API endpoints (HTML and JSON).
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.evolveum.midpoint.rest.impl.AbstractRestController
auditService, logger, prismContext, securityHelper, taskManager
-
Constructor Summary
ConstructorDescriptionRestApiIndex
(org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping handlerMapping, jakarta.servlet.ServletContext servletContext) -
Method Summary
Methods inherited from class com.evolveum.midpoint.rest.impl.AbstractRestController
controllerBasePath, createBody, createErrorResponseBuilder, createErrorResponseBuilder, createResponse, createResponse, createResponse, createResponseWithLocation, createSubresult, finishRequest, handleException, handleException, handleExceptionNoLog, initRequest
-
Constructor Details
-
RestApiIndex
public RestApiIndex(@Qualifier("requestMappingHandlerMapping") org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping handlerMapping, jakarta.servlet.ServletContext servletContext)
-
-
Method Details
-
index
@GetMapping(produces="application/json") public List<RestApiIndex.OperationJson> index(jakarta.servlet.http.HttpServletRequest request) -
indexHtml
@GetMapping(produces={"text/html","text/plain","*/*"}) public String indexHtml(jakarta.servlet.http.HttpServletRequest request) -
notFoundFallback
@RequestMapping("/**") public void notFoundFallback() -
config
-