public class KdcServerReachabilityCheck extends Object
Constructor and Description |
---|
KdcServerReachabilityCheck() |
Modifier and Type | Method and Description |
---|---|
String |
htmlCheck(javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo ui,
String kdcServerHostName) |
String |
plainTextCheck(javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo ui,
String hosts)
Handles: GET /kdc_check/{hosts}
Checks the reachability of the given KDC server(s).
|
String |
xmlCheck(javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.UriInfo ui,
String kdcServerHostName) |
public String plainTextCheck(@Context javax.ws.rs.core.HttpHeaders headers, @Context javax.ws.rs.core.UriInfo ui, String hosts)
headers
- http headersui
- uri infohosts
- A comma-delimited list of host names to check for a KDC server.
Each entry may contain port separate by a colon (:)public String xmlCheck(@Context javax.ws.rs.core.HttpHeaders headers, @Context javax.ws.rs.core.UriInfo ui, String kdcServerHostName)
Copyright © 2022 Apache Software Foundation. All rights reserved.