public class StatusServletClient extends Object
StatusServlet| Modifier and Type | Field and Description | 
|---|---|
protected static String | 
POST_PARAM  | 
protected static String | 
POST_PARAM_STARTED  | 
protected static String | 
POST_PARAM_SUMMARY  | 
protected static String | 
URL_PATTERN  | 
| Constructor and Description | 
|---|
StatusServletClient(ConfigurationGenerator configurationGenerator)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
connect(String method)  | 
protected void | 
disconnect()  | 
protected boolean | 
getResponse(StringBuilder response)  | 
String | 
getStartupSummary()  | 
boolean | 
init()  | 
boolean | 
isStarted()  | 
boolean | 
isStartupFine()
Return detected status of Nuxeo server by last call to  
getStartupSummary() | 
protected boolean | 
post(String param,
    String value,
    StringBuilder response)  | 
void | 
setKey(String key)
Set secure key used for connection 
 | 
protected static final String URL_PATTERN
protected static final String POST_PARAM
protected static final String POST_PARAM_STARTED
protected static final String POST_PARAM_SUMMARY
public StatusServletClient(ConfigurationGenerator configurationGenerator)
public void setKey(String key)
key - any Stringpublic boolean isStarted() throws SocketTimeoutException
SocketTimeoutExceptionpublic boolean init() throws SocketTimeoutException
SocketTimeoutExceptionprotected void disconnect()
protected void connect(String method) throws IOException
IOExceptionpublic String getStartupSummary() throws SocketTimeoutException
SocketTimeoutExceptionprotected boolean post(String param, String value, StringBuilder response) throws SocketTimeoutException
SocketTimeoutExceptionprotected boolean getResponse(StringBuilder response) throws IOException
IOExceptionpublic boolean isStartupFine()
getStartupSummary()Copyright © 2019 Nuxeo. All rights reserved.