public abstract class HipChatService extends Object
| Constructor and Description |
|---|
HipChatService() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeQuietly(Closeable... closeables) |
protected org.apache.http.impl.client.CloseableHttpClient |
getHttpClient() |
abstract void |
publish(String message,
String color) |
abstract void |
publish(String message,
String color,
boolean notify) |
protected String |
readResponse(org.apache.http.HttpEntity entity) |
protected org.apache.http.impl.client.CloseableHttpClient getHttpClient()
public abstract void publish(String message, String color) throws NotificationException
NotificationExceptionpublic abstract void publish(String message, String color, boolean notify) throws NotificationException
NotificationExceptionprotected final String readResponse(org.apache.http.HttpEntity entity) throws IOException
IOExceptionprotected final void closeQuietly(Closeable... closeables)
Copyright © 2004-2015. All Rights Reserved.