java.lang.Object
jakarta.ws.rs.core.Application
org.glassfish.jersey.server.ResourceConfig
com.erudika.para.server.rest.Api1
- All Implemented Interfaces:
jakarta.ws.rs.core.Configurable<org.glassfish.jersey.server.ResourceConfig>
,jakarta.ws.rs.core.Configuration
,org.glassfish.jersey.ExtendedConfig
,org.glassfish.jersey.server.ServerConfig
public final class Api1
extends org.glassfish.jersey.server.ResourceConfig
This is the main REST API configuration class which defines all endpoints for all resources
and the way API request will be handled. This is API version 1.0.
- Author:
- Alex Bogdanovski [[email protected]]
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> addConstrHandler
(com.erudika.para.core.App a) Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> appSettingsHandler
(com.erudika.para.core.App a) Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> backupHandler
(com.erudika.para.core.App a) Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> batchCreateHandler
(com.erudika.para.core.App a) Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> batchDeleteHandler
(com.erudika.para.core.App a) Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> batchReadHandler
(com.erudika.para.core.App a) Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> batchUpdateHandler
(com.erudika.para.core.App a) Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> checkPermitHandler
(com.erudika.para.core.App a) Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> createHandler
(com.erudika.para.core.App a, String type) Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> crudHandler
(com.erudika.para.core.App app, String type) Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> deleteHandler
(com.erudika.para.core.App a, String type) Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> getConstrHandler
(com.erudika.para.core.App a) Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> getPermitHandler
(com.erudika.para.core.App a) Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> grantPermitHandler
(com.erudika.para.core.App a) Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> overwriteHandler
(com.erudika.para.core.App a, String type) Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> readHandler
(com.erudika.para.core.App a, String type) Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> removeConstrHandler
(com.erudika.para.core.App a) Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> restoreHandler
(com.erudika.para.core.App a) Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> revokePermitHandler
(com.erudika.para.core.App a) Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> searchHandler
(com.erudika.para.core.App app, String type) Api method.static org.glassfish.jersey.process.Inflector
<jakarta.ws.rs.container.ContainerRequestContext, jakarta.ws.rs.core.Response> updateHandler
(com.erudika.para.core.App a, String type) Api method.Methods inherited from class org.glassfish.jersey.server.ResourceConfig
addProperties, files, files, forApplication, forApplicationClass, forApplicationClass, getApplication, getApplicationName, getApplicationPath, getClasses, getClassLoader, getConfiguration, getContracts, getInstances, getProperties, getProperty, getPropertyNames, getResources, getRuntimeType, getSingletons, hasProperty, isEnabled, isEnabled, isProperty, isRegistered, isRegistered, packages, packages, packages, property, register, register, register, register, register, register, register, register, registerClasses, registerClasses, registerFinder, registerInstances, registerInstances, registerResources, registerResources, setApplicationName, setClassLoader, setProperties
-
Field Details
-
PATH
-
-
Constructor Details
-
Api1
public Api1()Initializes all of the API resources.
-
-
Method Details
-
crudHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> crudHandler(com.erudika.para.core.App app, String type) Api method.- Parameters:
app
-App
type
- a type- Returns:
- response
-
linksHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> linksHandler()Api method.- Returns:
- response
-
meHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> meHandler()Api method.- Returns:
- response
-
readIdHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> readIdHandler()Api method.- Returns:
- response
-
configOptionsHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> configOptionsHandler()Api method.- Returns:
- response
-
getConstrHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> getConstrHandler(com.erudika.para.core.App a) Api method.- Parameters:
a
-App
- Returns:
- response
-
addConstrHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> addConstrHandler(com.erudika.para.core.App a) Api method.- Parameters:
a
-App
- Returns:
- response
-
removeConstrHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> removeConstrHandler(com.erudika.para.core.App a) Api method.- Parameters:
a
-App
- Returns:
- response
-
getPermitHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> getPermitHandler(com.erudika.para.core.App a) Api method.- Parameters:
a
-App
- Returns:
- response
-
checkPermitHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> checkPermitHandler(com.erudika.para.core.App a) Api method.- Parameters:
a
-App
- Returns:
- response
-
grantPermitHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> grantPermitHandler(com.erudika.para.core.App a) Api method.- Parameters:
a
-App
- Returns:
- response
-
revokePermitHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> revokePermitHandler(com.erudika.para.core.App a) Api method.- Parameters:
a
-App
- Returns:
- response
-
appSettingsHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> appSettingsHandler(com.erudika.para.core.App a) Api method.- Parameters:
a
-App
- Returns:
- response
-
createHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> createHandler(com.erudika.para.core.App a, String type) Api method.- Parameters:
a
-App
type
- a type- Returns:
- response
-
readHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> readHandler(com.erudika.para.core.App a, String type) Api method.- Parameters:
a
-App
type
- a type- Returns:
- response
-
updateHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> updateHandler(com.erudika.para.core.App a, String type) Api method.- Parameters:
a
-App
type
- a type- Returns:
- response
-
overwriteHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> overwriteHandler(com.erudika.para.core.App a, String type) Api method.- Parameters:
a
-App
type
- a type- Returns:
- response
-
deleteHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> deleteHandler(com.erudika.para.core.App a, String type) Api method.- Parameters:
a
-App
type
- a type- Returns:
- response
-
batchCreateHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> batchCreateHandler(com.erudika.para.core.App a) Api method.- Parameters:
a
-App
- Returns:
- response
-
batchReadHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> batchReadHandler(com.erudika.para.core.App a) Api method.- Parameters:
a
-App
- Returns:
- response
-
batchUpdateHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> batchUpdateHandler(com.erudika.para.core.App a) Api method.- Parameters:
a
-App
- Returns:
- response
-
batchDeleteHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> batchDeleteHandler(com.erudika.para.core.App a) Api method.- Parameters:
a
-App
- Returns:
- response
-
searchHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> searchHandler(com.erudika.para.core.App app, String type) Api method.- Parameters:
app
-App
type
- a type- Returns:
- response
-
reindexHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> reindexHandler()Api method.- Returns:
- response
-
backupHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> backupHandler(com.erudika.para.core.App a) Api method.- Parameters:
a
-App
- Returns:
- response
-
restoreHandler
public static org.glassfish.jersey.process.Inflector<jakarta.ws.rs.container.ContainerRequestContext,jakarta.ws.rs.core.Response> restoreHandler(com.erudika.para.core.App a) Api method.- Parameters:
a
-App
- Returns:
- response
-