T
- The type of request to createpublic interface RequestFactory<T extends Request<?,?>>
Request
s. Requests are used to make network calls.
The rest plugin provides the default implementation for this interface.Modifier and Type | Method and Description |
---|---|
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
|
T createRequest(Request.MethodType methodType, String url)
Request.MethodType
to given urlmethodType
- The HTTP method typeurl
- The url to requestboolean supportsHeader()
Request.setHeader(String, String)
,
Request.addHeader(String, String)
Copyright © 2015 Atlassian. All rights reserved.