public class DfRefreshResourceRequest extends Object
DfRefreshResourceRequest request
= new DfRefreshResourceRequest(projectNameList, requestUrl);
request.refreshResources();
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected List<String> |
_projectNameList |
protected String |
_requestUrl |
static String |
AUTO_DETECT_MARK
The mark of auto-detect, e.g. searching Eclipse .project file.
|
static String |
KEY_BODY
The key of result map for response body.
|
static String |
KEY_HEADER_FIELDS
The key of result map for header fields.
|
| コンストラクタと説明 |
|---|
DfRefreshResourceRequest(List<String> projectNameList,
String requestUrl) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected String |
buildRefreshPathAndQuery(String projectName) |
protected URL |
createRefreshRequestURL(String path) |
protected Map<String,Object> |
doRefreshResources(String projectName) |
protected String |
extractResponseBody(InputStream ins) |
protected int |
getRefreshRequestReadTimeout() |
protected void |
handleConnectedConnection(URLConnection conn,
Map<String,Object> elementMap) |
protected LinkedHashMap<String,Object> |
newElementMap() |
protected Map<String,Map<String,Object>> |
newResultMap() |
protected URLConnection |
openConnect(URL url) |
Map<String,Map<String,Object>> |
refreshResources()
Refresh resources per one project.
|
protected void |
setupBasicResult(URLConnection conn,
Map<String,Object> elementMap,
InputStream ins) |
public static final String AUTO_DETECT_MARK
public static final String KEY_BODY
public static final String KEY_HEADER_FIELDS
protected final String _requestUrl
public Map<String,Map<String,Object>> refreshResources() throws IOException
IOException - When the refresh failed.protected Map<String,Object> doRefreshResources(String projectName) throws IOException
IOExceptionprotected LinkedHashMap<String,Object> newElementMap()
protected void setupBasicResult(URLConnection conn, Map<String,Object> elementMap, InputStream ins) throws IOException
IOExceptionprotected String extractResponseBody(InputStream ins) throws IOException
IOExceptionprotected void handleConnectedConnection(URLConnection conn, Map<String,Object> elementMap) throws IOException
IOExceptionprotected URLConnection openConnect(URL url) throws IOException
IOExceptionprotected URL createRefreshRequestURL(String path) throws MalformedURLException
protected int getRefreshRequestReadTimeout()
Copyright © 2014–2015 The DBFlute Project. All rights reserved.