Package org.dogtagpki.server.rest
Class SecurityDomainHostService
java.lang.Object
com.netscape.cms.servlet.base.PKIService
org.dogtagpki.server.rest.SecurityDomainHostService
- All Implemented Interfaces:
SecurityDomainHostResource
- Author:
- Endi S. Dewata
-
Field Summary
FieldsFields inherited from class com.netscape.cms.servlet.base.PKIService
bannerFile, DEFAULT_LONG_CACHE_LIFETIME, DEFAULT_SIZE, headers, MESSAGE_FORMATS, MIN_FILTER_LENGTH, request, servletContext, servletRequest, uriInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
addHost
(SecurityDomainHost host) javax.ws.rs.core.Response
javax.ws.rs.core.Response
getHosts()
javax.ws.rs.core.Response
removeHost
(String hostID) Methods inherited from class com.netscape.cms.servlet.base.PKIService
createCreatedResponse, createNoContentResponse, createOKResponse, createOKResponse, getBanner, getInstanceDir, getLocale, getParams, getResponseFormat, getResponseFormat, isBannerEnabled, marshall, resolveFormat, resolveFormat, sendConditionalGetResponse, unmarshall
-
Field Details
-
logger
public static org.slf4j.Logger logger
-
-
Constructor Details
-
SecurityDomainHostService
public SecurityDomainHostService()
-
-
Method Details
-
getHosts
- Specified by:
getHosts
in interfaceSecurityDomainHostResource
- Throws:
Exception
-
getHost
- Specified by:
getHost
in interfaceSecurityDomainHostResource
- Throws:
Exception
-
addHost
- Specified by:
addHost
in interfaceSecurityDomainHostResource
- Throws:
Exception
-
removeHost
- Specified by:
removeHost
in interfaceSecurityDomainHostResource
- Throws:
Exception
-