public class RequestsFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
baseUrl |
java.lang.String |
latd |
java.lang.String |
pass |
Constructor and Description |
---|
RequestsFactory(java.lang.String latd,
java.lang.String pass,
java.lang.String baseUrl) |
Modifier and Type | Method and Description |
---|---|
BasicAuthHandler.AuthenticatedRequest |
authenticated(com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> headers,
java.lang.String query)
Creates an
BasicAuthHandler.AuthenticatedRequest for a base64-style eas request |
BasicAuthHandler.AuthenticatedRequest |
authenticated(java.lang.String devId,
java.lang.String devType,
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> headers,
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> queryParams) |
AuthenticatedEASQuery |
authenticatedEas(java.lang.String devId,
java.lang.String devType,
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> headers,
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> queryParams) |
AuthorizedDeviceQuery |
authorized(org.vertx.java.core.Vertx vertx,
java.lang.String devId,
java.lang.String devType,
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> headers,
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> queryParams,
java.lang.String partnershipId) |
public final java.lang.String latd
public final java.lang.String pass
public final java.lang.String baseUrl
public RequestsFactory(java.lang.String latd, java.lang.String pass, java.lang.String baseUrl)
public AuthenticatedEASQuery authenticatedEas(java.lang.String devId, java.lang.String devType, com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> headers, com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> queryParams)
public AuthorizedDeviceQuery authorized(org.vertx.java.core.Vertx vertx, java.lang.String devId, java.lang.String devType, com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> headers, com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> queryParams, java.lang.String partnershipId)
public BasicAuthHandler.AuthenticatedRequest authenticated(java.lang.String devId, java.lang.String devType, com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> headers, com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> queryParams)
public BasicAuthHandler.AuthenticatedRequest authenticated(com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> headers, java.lang.String query)
BasicAuthHandler.AuthenticatedRequest
for a base64-style eas requestheaders
- query
- Copyright © 2021. All Rights Reserved.