T - Type used as a request object in the request.public class PowerAuthApiRequest<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
PowerAuthApiRequest.Encryption
Request encryption type
|
| Constructor and Description |
|---|
PowerAuthApiRequest()
Default constructor
|
PowerAuthApiRequest(String encryption,
T requestObject)
Constructor with a given request object
|
PowerAuthApiRequest(T requestObject)
Constructor with a given request object
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEncryption()
Get encryption type.
|
T |
getRequestObject()
Get request object
|
void |
setEncryption(String encryption)
Set encryption type.
|
void |
setRequestObject(T requestObject)
Set request object
|
public PowerAuthApiRequest()
public PowerAuthApiRequest(T requestObject)
requestObject - Request objectpublic PowerAuthApiRequest(String encryption, T requestObject)
encryption - Request encryption type, use static constant from PowerAuthApiRequest.Encryption class.requestObject - Request objectpublic String getEncryption()
public void setEncryption(String encryption)
encryption - Encryption type.public T getRequestObject()
public void setRequestObject(T requestObject)
requestObject - Request objectCopyright © 2016–2017 Lime - HighTech Solutions Inc.. All rights reserved.