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 LocatorBridgelocatorBridgeprotected static Loggerloggerprotected jakarta.ws.rs.core.HttpHeadersrequestHeadersprotected jakarta.ws.rs.core.SecurityContextsecurityContextprotected org.glassfish.hk2.api.ServiceLocatorserviceLocatorprotected org.glassfish.jersey.internal.util.collection.Ref<Subject>subjectRefprotected jakarta.ws.rs.core.UriInfouriInfo
-
Constructor Summary
Constructors Constructor Description AbstractResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetAuthenticatedUser()This method will return the authenticated user associated with the current request.protected SubjectgetSubject()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
-
-