public class ChatworkClient extends Object
| コンストラクタと説明 |
|---|
ChatworkClient(String apiKey,
String proxySv,
String proxyPort) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static void |
clearRoomCache() |
protected String |
get(String path) |
List<Room> |
getCachedRooms() |
List<Room> |
getRooms() |
boolean |
isEnabledProxy() |
protected void |
post(String path,
Map<String,String> params) |
void |
sendMessage(String roomId,
String message) |
void |
setProxyHost(String hostname,
int port) |
public void sendMessage(String roomId, String message) throws IOException
IOExceptionpublic List<Room> getRooms() throws IOException
IOExceptionpublic List<Room> getCachedRooms() throws IOException
IOExceptionpublic static void clearRoomCache()
protected void post(String path, Map<String,String> params) throws IOException
IOExceptionprotected String get(String path) throws IOException
IOExceptionpublic boolean isEnabledProxy()
public void setProxyHost(String hostname, int port)
Copyright © 2016–2019. All rights reserved.