blob: 5d9222076708fa67ee41c0cada4601d3c62dcb29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package com.cablelabs.vcpe.svc.svcmgr;
import org.glassfish.jersey.server.ResourceConfig;
//
// In order to avoid CORS issues, register our CORS Response filter
//
public class SvcJaxRsApplication extends ResourceConfig {
/**
* Register JAX-RS application components.
*/
public SvcJaxRsApplication() {
packages("com.cablelabs.vcpe.cos.cosmgr");
register(CORSResponseFilter.class);
}
}
|