Skip to content

Commit 9c14ba0

Browse files
author
Stephane Landelle
committed
Remove deprecated Request getReqType
1 parent 0aeb247 commit 9c14ba0

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

api/src/main/java/com/ning/http/client/Request.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,6 @@ public static interface EntityWriter {
4545
public void writeEntity(OutputStream out) throws IOException;
4646
}
4747

48-
/**
49-
* Return the request's type (GET, POST, etc.)
50-
*
51-
* @return the request's type (GET, POST, etc.)
52-
* @deprecated - use getMethod
53-
*/
54-
public String getReqType();
55-
5648
/**
5749
* Return the request's method name (GET, POST, etc.)
5850
*

api/src/main/java/com/ning/http/client/RequestBuilderBase.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,6 @@ public RequestImpl(Request prototype) {
112112

113113
/* @Override */
114114

115-
public String getReqType() {
116-
return getMethod();
117-
}
118-
119115
public String getMethod() {
120116
return method;
121117
}

0 commit comments

Comments
 (0)