Package io.anyline2.reporting
Class NetworkRequest
-
- All Implemented Interfaces:
public class NetworkRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
NetworkRequest.BearerAuthentication
public final class
NetworkRequest.Get
public final class
NetworkRequest.Post
-
Method Summary
Modifier and Type Method Description final NetworkRequest.BearerAuthentication
getBearerAuthentication()
final Unit
setBearerAuthentication(NetworkRequest.BearerAuthentication bearerAuthentication)
final String
getMethod()
final Unit
setMethod(String method)
final String
getUrl()
final Unit
setUrl(String url)
final Map<String, String>
getHeaders()
final Unit
setHeaders(Map<String, String> headers)
final String
getPayload()
final Unit
setPayload(String payload)
String
toString()
-
-
Method Detail
-
getBearerAuthentication
final NetworkRequest.BearerAuthentication getBearerAuthentication()
-
setBearerAuthentication
final Unit setBearerAuthentication(NetworkRequest.BearerAuthentication bearerAuthentication)
-
getHeaders
final Map<String, String> getHeaders()
-
setHeaders
final Unit setHeaders(Map<String, String> headers)
-
getPayload
final String getPayload()
-
setPayload
final Unit setPayload(String payload)
-
-
-
-