public interface RequestFactory
Request.Builder with common defaults.| Modifier and Type | Method and Description |
|---|---|
Request.Builder |
newRequest()
Constructs a new request.
|
Request.Builder |
newRequest(java.lang.String uri)
Constructs a new Request with the specified URI.
|
Request.Builder |
newRequest(java.lang.String url,
java.lang.String contentType,
java.lang.String entity)
Constructs a new Request with the specified URI, contentType, and entity.
|
Request.Builder |
newRequest(java.net.URI uri)
Constructs a new Request with the specified URI.
|
Request.Builder |
newRequest(java.net.URI uri,
java.lang.String contentType,
java.lang.String entity)
Constructs a new Request with the specified URI, contentType, and entity.
|
Request.Builder newRequest()
Request.Builder newRequest(java.net.URI uri)
uri - The endpoint URI for this requestRequest.Builder newRequest(java.lang.String uri)
uri - The endpoint URI for this requestRequest.Builder newRequest(java.net.URI uri, java.lang.String contentType, java.lang.String entity)
uri - The endpoint URI for this requestcontentType - A textual IANA media typeentity - A string entity to send as this request's message bodyRequest.Builder newRequest(java.lang.String url, java.lang.String contentType, java.lang.String entity)
url - The endpoint URL for this requestcontentType - A textual IANA media typeentity - A string entity to send as this request's message bodyCopyright © 2012-2013 Atlassian. All Rights Reserved.