Skip to content

Commit

Permalink
udaate NovateRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyongkui committed Jul 14, 2017
1 parent df81890 commit f4e5057
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
/**
* Created by Tamic on 2016-12-02.
*/
public final class NovateRequest{
public final class NovateRequest<T>{
private static NovateRequest.Builder builder;
private static Map<String, RequestBody> params;
private static Map<String, Object> params;
private final String url;
private final String method;
private final Headers headers;
Expand Down Expand Up @@ -85,6 +85,10 @@ public Object tag() {
return tag;
}

public Map<String, Object> params() {
return params;
}

public NovateRequest.Builder newBuilder() {
return new NovateRequest.Builder(this);
}
Expand Down

0 comments on commit f4e5057

Please sign in to comment.