public class RedmineRequest<T> extends Object
RedmineClient.| Modifier and Type | Class and Description |
|---|---|
static class |
RedmineRequest.Method |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,File> |
attachments |
protected RedmineRequest.Method |
method |
protected Map<String,String> |
params |
protected List<String> |
path |
protected Class<T> |
type |
| Constructor and Description |
|---|
RedmineRequest(RedmineRequest.Method method,
Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
RedmineRequest<T> |
attachment(String name,
File value) |
static <T> RedmineRequest<T> |
delete(Class<T> type,
String... path) |
static <T> RedmineRequest<T> |
get(Class<T> type,
String... path) |
Map<String,File> |
getAttachments() |
RedmineRequest.Method |
getMethod() |
Map<String,String> |
getParams() |
String[] |
getPath() |
Class<T> |
getType() |
static <T> RedmineRequest<T> |
head(Class<T> type,
String... path) |
static <T> RedmineRequest<T> |
on(RedmineRequest.Method method,
Class<T> type,
String... path) |
static <T> RedmineRequest<T> |
option(Class<T> type,
String... path) |
RedmineRequest<T> |
parameter(String name,
String value) |
RedmineRequest<T> |
path(String... path) |
static <T> RedmineRequest<T> |
post(Class<T> type,
String... path) |
static <T> RedmineRequest<T> |
put(Class<T> type,
String... path) |
String |
toPath(String uri) |
protected final RedmineRequest.Method method
public RedmineRequest(RedmineRequest.Method method, Class<T> type)
public static <T> RedmineRequest<T> get(Class<T> type, String... path)
public static <T> RedmineRequest<T> put(Class<T> type, String... path)
public static <T> RedmineRequest<T> delete(Class<T> type, String... path)
public static <T> RedmineRequest<T> post(Class<T> type, String... path)
public static <T> RedmineRequest<T> head(Class<T> type, String... path)
public static <T> RedmineRequest<T> option(Class<T> type, String... path)
public static <T> RedmineRequest<T> on(RedmineRequest.Method method, Class<T> type, String... path)
public RedmineRequest<T> path(String... path)
public RedmineRequest<T> parameter(String name, String value)
public RedmineRequest<T> attachment(String name, File value)
public String[] getPath()
public RedmineRequest.Method getMethod()
Copyright © 2009–2013 CodeLutin. All rights reserved.