Package io.quarkus.resteasy.runtime
Class NotFoundExceptionMapper
- java.lang.Object
-
- io.quarkus.resteasy.runtime.NotFoundExceptionMapper
-
- All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<jakarta.ws.rs.NotFoundException>
@Provider @Priority(5001) public class NotFoundExceptionMapper extends Object implements jakarta.ws.rs.ext.ExceptionMapper<jakarta.ws.rs.NotFoundException>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNotFoundExceptionMapper.MethodDescriptionstatic classNotFoundExceptionMapper.ResourceDescription
-
Field Summary
Fields Modifier and Type Field Description protected static StringMETA_INF_RESOURCESprotected static StringMETA_INF_RESOURCES_SLASH
-
Constructor Summary
Constructors Constructor Description NotFoundExceptionMapper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidnonJaxRsClassNameToMethodPaths(Map<String,NonJaxRsClassMappings> nonJaxRsPaths)static voidservlets(Map<String,List<String>> servletToMapping)static voidsetAdditionalEndpoints(List<AdditionalRouteDescription> additionalEndpoints)static voidsetHttpRoot(String rootPath)static voidsetReactiveRoutes(List<RouteDescription> reactiveRoutes)static voidstaticResources(Set<String> knownRoots)jakarta.ws.rs.core.ResponsetoResponse(jakarta.ws.rs.NotFoundException exception)
-
-
-
Field Detail
-
META_INF_RESOURCES_SLASH
protected static final String META_INF_RESOURCES_SLASH
- See Also:
- Constant Field Values
-
META_INF_RESOURCES
protected static final String META_INF_RESOURCES
- See Also:
- Constant Field Values
-
-
Method Detail
-
setHttpRoot
public static void setHttpRoot(String rootPath)
-
toResponse
public jakarta.ws.rs.core.Response toResponse(jakarta.ws.rs.NotFoundException exception)
- Specified by:
toResponsein interfacejakarta.ws.rs.ext.ExceptionMapper<jakarta.ws.rs.NotFoundException>
-
nonJaxRsClassNameToMethodPaths
public static void nonJaxRsClassNameToMethodPaths(Map<String,NonJaxRsClassMappings> nonJaxRsPaths)
-
setAdditionalEndpoints
public static void setAdditionalEndpoints(List<AdditionalRouteDescription> additionalEndpoints)
-
setReactiveRoutes
public static void setReactiveRoutes(List<RouteDescription> reactiveRoutes)
-
-