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 PKIService
bannerFile, DEFAULT_LONG_CACHE_LIFETIME, DEFAULT_SIZE, headers, MESSAGE_FORMATS, MIN_FILTER_LENGTH, request, servletContext, servletRequest, uriInfoModifier and TypeFieldDescriptionstatic Pathstatic final intstatic final intprotected javax.ws.rs.core.HttpHeadersstatic List<javax.ws.rs.core.MediaType> static final intprotected javax.ws.rs.core.Requestprotected javax.servlet.ServletContextprotected javax.servlet.http.HttpServletRequestprotected javax.ws.rs.core.UriInfo -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponseaddHost(SecurityDomainHost host) javax.ws.rs.core.Responsejavax.ws.rs.core.ResponsegetHosts()javax.ws.rs.core.ResponseremoveHost(String hostID) Methods inherited from class PKIService
createCreatedResponse, createNoContentResponse, createOKResponse, createOKResponse, getBanner, getInstanceDir, getLocale, getParams, getResponseFormat, getResponseFormat, isBannerEnabled, marshall, resolveFormat, resolveFormat, sendConditionalGetResponse, unmarshallModifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsecreateCreatedResponse(Object entity, URI link) javax.ws.rs.core.Responsejavax.ws.rs.core.Responsejavax.ws.rs.core.ResponsecreateOKResponse(Object entity) static Stringstatic StringgetLocale(javax.ws.rs.core.HttpHeaders headers) Get the values of the fields annotated with @FormParam.javax.ws.rs.core.MediaTypestatic javax.ws.rs.core.MediaTypegetResponseFormat(javax.ws.rs.core.HttpHeaders headers) static booleanMarshall response object with custom mapping if available.static javax.ws.rs.core.MediaTyperesolveFormat(List<javax.ws.rs.core.MediaType> formats) static javax.ws.rs.core.MediaTyperesolveFormat(javax.ws.rs.core.MediaType format) javax.ws.rs.core.ResponsesendConditionalGetResponse(int ctime, Object entity, javax.ws.rs.core.Request request) <T> Tunmarshall(Object request, Class<T> clazz) Unmarshall request object with custom mapping if available.
-
Field Details
-
logger
public static org.slf4j.Logger logger
-
-
Constructor Details
-
SecurityDomainHostService
public SecurityDomainHostService()
-
-
Method Details
-
getHosts
- Specified by:
getHostsin interfaceSecurityDomainHostResource- Throws:
Exception
-
getHost
- Specified by:
getHostin interfaceSecurityDomainHostResource- Throws:
Exception
-
addHost
- Specified by:
addHostin interfaceSecurityDomainHostResource- Throws:
Exception
-
removeHost
- Specified by:
removeHostin interfaceSecurityDomainHostResource- Throws:
Exception
-