Class AbstractImpl
- java.lang.Object
-
- cz.gopay.api.v3.impl.apacheclient.AbstractImpl
-
- Direct Known Subclasses:
HttpClientAuthClientImpl,HttpClientPaymentClientImpl
public class AbstractImpl extends Object
- Author:
- Frantisek Sichinger
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringACCEPTprotected StringapiUrlprotected static StringAUTHORIZATIONprotected static StringCONTENT_TYPEprotected static StringGRANT_TYPEprotected static StringIMPLEMENTATION_NAMEprotected org.apache.logging.log4j.Loggerloggerprotected static StringSCOPEprotected static StringUSER_AGENTprotected static StringVERSION
-
Constructor Summary
Constructors Constructor Description AbstractImpl(String apiUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Stringmarshall(Object object)protected <T> TunMarshall(org.apache.http.client.fluent.Response response, Class<T> entity)protected <T> TunMarshallComplexResponse(org.apache.http.client.fluent.Response response, com.fasterxml.jackson.core.type.TypeReference<T> typeReference)
-
-
-
Field Detail
-
IMPLEMENTATION_NAME
protected static final String IMPLEMENTATION_NAME
- See Also:
- Constant Field Values
-
VERSION
protected static final String VERSION
- See Also:
- Constant Field Values
-
AUTHORIZATION
protected static final String AUTHORIZATION
- See Also:
- Constant Field Values
-
SCOPE
protected static final String SCOPE
- See Also:
- Constant Field Values
-
GRANT_TYPE
protected static final String GRANT_TYPE
- See Also:
- Constant Field Values
-
CONTENT_TYPE
protected static final String CONTENT_TYPE
- See Also:
- Constant Field Values
-
ACCEPT
protected static final String ACCEPT
- See Also:
- Constant Field Values
-
USER_AGENT
protected static final String USER_AGENT
- See Also:
- Constant Field Values
-
apiUrl
protected String apiUrl
-
logger
protected org.apache.logging.log4j.Logger logger
-
-
Constructor Detail
-
AbstractImpl
public AbstractImpl(String apiUrl)
-
-
Method Detail
-
unMarshall
protected <T> T unMarshall(org.apache.http.client.fluent.Response response, Class<T> entity)
-
unMarshallComplexResponse
protected <T> T unMarshallComplexResponse(org.apache.http.client.fluent.Response response, com.fasterxml.jackson.core.type.TypeReference<T> typeReference)
-
-