public abstract class AbstractResource extends Object
Modifier and Type | Field and Description |
---|---|
protected LocatorBridge |
locatorBridge |
protected static Logger |
logger |
protected javax.ws.rs.core.HttpHeaders |
requestHeaders |
protected javax.ws.rs.core.SecurityContext |
securityContext |
protected org.glassfish.hk2.api.ServiceLocator |
serviceLocator |
protected org.glassfish.jersey.internal.util.collection.Ref<Subject> |
subjectRef |
protected javax.ws.rs.core.UriInfo |
uriInfo |
Constructor and Description |
---|
AbstractResource() |
Modifier and Type | Method and 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.
|
@Context protected javax.ws.rs.core.HttpHeaders requestHeaders
@Context protected javax.ws.rs.core.UriInfo uriInfo
@Inject protected org.glassfish.jersey.internal.util.collection.Ref<Subject> subjectRef
@Inject protected LocatorBridge locatorBridge
@Context protected javax.ws.rs.core.SecurityContext securityContext
@Context protected org.glassfish.hk2.api.ServiceLocator serviceLocator
protected static final Logger logger
Copyright © 2020. All rights reserved.