public class Application extends javax.ws.rs.core.Application implements Application
Application
,
Packaging the RESTful Web Service Application Using web.xml With Application SubclassConstructor and Description |
---|
Application(org.apache.jena.query.Dataset dataset,
String endpointURI,
String graphStoreURI,
String quadStoreURI,
String authUser,
String authPwd,
MediaTypes mediaTypes,
com.sun.jersey.api.client.Client client,
Integer maxGetRequestSize,
boolean preemptiveAuth) |
Application(javax.servlet.ServletConfig servletConfig)
Initializes root resource classes and provider singletons
|
Modifier and Type | Method and Description |
---|---|
Application |
getApplication() |
Set<Class<?>> |
getClasses()
Provides JAX-RS root resource classes.
|
com.sun.jersey.api.client.Client |
getClient() |
static com.sun.jersey.api.client.Client |
getClient(com.sun.jersey.api.client.config.ClientConfig clientConfig) |
DataManager |
getDataManager() |
org.apache.jena.query.Dataset |
getDataset() |
static org.apache.jena.query.Dataset |
getDataset(String location,
org.apache.jena.riot.Lang lang) |
Integer |
getMaxGetRequestSize() |
MediaTypes |
getMediaTypes() |
Service |
getService() |
Set<Object> |
getSingletons()
Provides JAX-RS singleton objects (e.g.
|
void |
init() |
boolean |
isPreemptiveAuth() |
public Application(@Context javax.servlet.ServletConfig servletConfig)
servletConfig
- servlet config@PostConstruct public void init()
public Set<Class<?>> getClasses()
getClasses
in class javax.ws.rs.core.Application
com.atomgraph.core.model
,
Application.getClasses()public Set<Object> getSingletons()
getSingletons
in class javax.ws.rs.core.Application
com.atomgraph.core.provider
,
Application.getSingletons()public org.apache.jena.query.Dataset getDataset()
public Service getService()
getService
in interface Application
public Application getApplication()
public com.sun.jersey.api.client.Client getClient()
public MediaTypes getMediaTypes()
public Integer getMaxGetRequestSize()
public DataManager getDataManager()
public boolean isPreemptiveAuth()
public static org.apache.jena.query.Dataset getDataset(String location, org.apache.jena.riot.Lang lang)
public static com.sun.jersey.api.client.Client getClient(com.sun.jersey.api.client.config.ClientConfig clientConfig)
Copyright © 2013–2019. All rights reserved.