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