Class ManagementObject
- java.lang.Object
-
- org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
-
- org.nuxeo.ecm.restapi.server.jaxrs.management.ManagementObject
-
public class ManagementObject extends AbstractResource<ResourceTypeImpl>
- Since:
- 11.3
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
MANAGEMENT_API_HTTP_PORT_PROPERTY
protected static String
MANAGEMENT_API_USER_PROPERTY
static String
MANAGEMENT_OBJECT_PREFIX
protected javax.servlet.http.HttpServletRequest
request
-
Constructor Summary
Constructors Constructor Description ManagementObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initialize(Object... args)
protected boolean
isUserValid(javax.servlet.http.HttpServletRequest request)
protected boolean
requestIsOnConfiguredPort(javax.servlet.ServletRequest request)
Object
route(String path)
-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isAdapter, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
-
-
-
-
Field Detail
-
MANAGEMENT_OBJECT_PREFIX
public static final String MANAGEMENT_OBJECT_PREFIX
- See Also:
- Constant Field Values
-
MANAGEMENT_API_HTTP_PORT_PROPERTY
protected static final String MANAGEMENT_API_HTTP_PORT_PROPERTY
- See Also:
- Constant Field Values
-
MANAGEMENT_API_USER_PROPERTY
protected static final String MANAGEMENT_API_USER_PROPERTY
- See Also:
- Constant Field Values
-
request
@Context protected javax.servlet.http.HttpServletRequest request
-
-
Method Detail
-
initialize
protected void initialize(Object... args)
- Overrides:
initialize
in classAbstractResource<ResourceTypeImpl>
-
requestIsOnConfiguredPort
protected boolean requestIsOnConfiguredPort(javax.servlet.ServletRequest request)
-
isUserValid
protected boolean isUserValid(javax.servlet.http.HttpServletRequest request)
-
-