public abstract class AbstractRestResourceProvider extends Object implements RestResourceProvider, Serializable
Modifier and Type | Field and Description |
---|---|
protected Map<String,javax.ws.rs.core.MediaType> |
mappings |
Modifier | Constructor and Description |
---|---|
protected |
AbstractRestResourceProvider() |
Modifier and Type | Method and Description |
---|---|
boolean |
enableModifAccessToInstances()
If resource can provide access for non-GET methods.
|
protected javax.ws.rs.core.Feature |
getJsonFeature() |
protected Map<String,javax.ws.rs.core.MediaType> |
getMimeMappings() |
org.glassfish.jersey.server.ResourceConfig |
getResourceConfig(Set<Class<?>> classes,
ServerContext sc,
org.glassfish.hk2.api.ServiceLocator habitat,
Set<? extends org.glassfish.hk2.utilities.Binder> additionalBinders) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContextRoot, getResourceClasses
public boolean enableModifAccessToInstances()
RestResourceProvider
enableModifAccessToInstances
in interface RestResourceProvider
protected javax.ws.rs.core.Feature getJsonFeature()
public org.glassfish.jersey.server.ResourceConfig getResourceConfig(Set<Class<?>> classes, ServerContext sc, org.glassfish.hk2.api.ServiceLocator habitat, Set<? extends org.glassfish.hk2.utilities.Binder> additionalBinders) throws EndpointRegistrationException
getResourceConfig
in interface RestResourceProvider
EndpointRegistrationException
Copyright © 2021. All rights reserved.