| .. | .. |
|---|
| 1 | +/*
|
|---|
| 2 | + * Copyright @ 2013 CurisTEC, S.A.S. All Rights Reserved.
|
|---|
| 3 | + */
|
|---|
| 1 | 4 | package net.curisit.securis;
|
|---|
| 2 | 5 |
|
|---|
| 3 | 6 | import java.util.HashSet;
|
|---|
| .. | .. |
|---|
| 19 | 22 | import org.apache.logging.log4j.LogManager;
|
|---|
| 20 | 23 | import org.apache.logging.log4j.Logger;
|
|---|
| 21 | 24 |
|
|---|
| 25 | +/**
|
|---|
| 26 | +* RestServicesApplication
|
|---|
| 27 | +* <p>
|
|---|
| 28 | +* JAX-RS application configuring the REST resource classes and interceptors.
|
|---|
| 29 | +* Declares base path <code>/</code>.
|
|---|
| 30 | +*
|
|---|
| 31 | +* @author JRA
|
|---|
| 32 | +* Last reviewed by JRA on Oct 5, 2025.
|
|---|
| 33 | +*/
|
|---|
| 22 | 34 | @ApplicationPath("/")
|
|---|
| 23 | 35 | public class RestServicesApplication extends Application {
|
|---|
| 24 | 36 |
|
|---|
| 25 | 37 | private static final Logger LOG = LogManager.getLogger(RestServicesApplication.class);
|
|---|
| 26 | 38 |
|
|---|
| 39 | + /**
|
|---|
| 40 | + * getClasses
|
|---|
| 41 | + * <p>
|
|---|
| 42 | + * @return set of REST endpoints and filters to be registered by the runtime
|
|---|
| 43 | + */
|
|---|
| 27 | 44 | @Override
|
|---|
| 28 | 45 | public Set<Class<?>> getClasses() {
|
|---|
| 29 | 46 | Set<Class<?>> classes = new HashSet<>();
|
|---|