Class AbstractResource
- java.lang.Object
-
- org.glassfish.admin.rest.resources.AbstractResource
-
- Direct Known Subclasses:
AbstractAttributeBagResource
,CollectionLeafResource
,CompositeResource
,LeafResource
,PropertiesBagResource
,SessionsResource
,StatusGenerator
,TemplateExecCommand
,TemplateListOfResource
,TemplateRestResource
public abstract class AbstractResource extends Object
- Author:
- jdlee
-
-
Field Summary
Fields Modifier and Type Field Description protected LocatorBridge
locatorBridge
protected static Logger
logger
protected jakarta.ws.rs.core.HttpHeaders
requestHeaders
protected jakarta.ws.rs.core.SecurityContext
securityContext
protected org.glassfish.hk2.api.ServiceLocator
serviceLocator
protected org.glassfish.jersey.internal.util.collection.Ref<Subject>
subjectRef
protected jakarta.ws.rs.core.UriInfo
uriInfo
-
Constructor Summary
Constructors Constructor Description AbstractResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getAuthenticatedUser()
This method will return the authenticated user associated with the current request.protected Subject
getSubject()
This method will return the Subject associated with the current request.
-
-
-
Field Detail
-
requestHeaders
@Context protected jakarta.ws.rs.core.HttpHeaders requestHeaders
-
uriInfo
@Context protected jakarta.ws.rs.core.UriInfo uriInfo
-
subjectRef
@Inject protected org.glassfish.jersey.internal.util.collection.Ref<Subject> subjectRef
-
locatorBridge
@Inject protected LocatorBridge locatorBridge
-
securityContext
@Context protected jakarta.ws.rs.core.SecurityContext securityContext
-
serviceLocator
@Context protected org.glassfish.hk2.api.ServiceLocator serviceLocator
-
logger
protected static final Logger logger
-
-