|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The type of request to createpublic interface RequestFactory<T extends Request<?,?>>
Factory to create Request
s. Requests are used to make network calls.
The rest plugin provides the default implementation for this interface.
Method Summary | |
---|---|
T |
createRequest(Request.MethodType methodType,
String url)
Creates a request of given Request.MethodType to given url |
boolean |
supportsHeader()
Indicates whether the requests can support headers |
Method Detail |
---|
T createRequest(Request.MethodType methodType, String url)
Request.MethodType
to given url
methodType
- The HTTP method typeurl
- The url to request
boolean supportsHeader()
Request.setHeader(String, String)
,
Request.addHeader(String, String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |