Class HttpAccessTransport
java.lang.Object
fr.paris.lutece.plugins.identitystore.v3.web.rs.service.HttpAccessTransport
- All Implemented Interfaces:
fr.paris.lutece.plugins.identitystore.v3.business.IHttpTransportProvider
- Direct Known Subclasses:
HttpApiManagerAccessTransport
public class HttpAccessTransport
extends Object
implements fr.paris.lutece.plugins.identitystore.v3.business.IHttpTransportProvider
IHttpTransportProvider which use library-httpaccess
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.ResponseDto>
TdoDelete(String strEndPointUrl, Map<String, String> mapParams, Map<String, String> mapHeadersRequest, Class<T> responseJsonClass, com.fasterxml.jackson.databind.ObjectMapper mapper) <T extends fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.ResponseDto>
TdoDeleteJSON(String strEndPointUrl, Map<String, String> mapParams, Map<String, String> mapHeadersRequest, Object json, Class<T> responseJsonClass, com.fasterxml.jackson.databind.ObjectMapper mapper) <T extends fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.ResponseDto>
TdoGet(String strEndPointUrl, Map<String, String> mapParams, Map<String, String> mapHeadersRequest, Class<T> responseJsonClass, com.fasterxml.jackson.databind.ObjectMapper mapper) <T extends fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.ResponseDto>
TdoPostJSON(String strUrl, Map<String, String> mapParams, Map<String, String> mapHeadersRequest, Object json, Class<T> responseJsonClass, com.fasterxml.jackson.databind.ObjectMapper mapper) <T extends fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.ResponseDto>
List<T>doPostJSONforList(String strUrl, Map<String, String> mapParams, Map<String, String> mapHeadersRequest, Object json, Class<T> responseJsonClass, com.fasterxml.jackson.databind.ObjectMapper mapper) <T extends fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.ResponseDto>
TdoPutJSON(String strUrl, Map<String, String> mapParams, Map<String, String> mapHeadersRequest, Object json, Class<T> responseJsonClass, com.fasterxml.jackson.databind.ObjectMapper mapper) get end pointvoidsetApiEndPointUrl(String strApiEndPointUrl) set end point
-
Constructor Details
-
HttpAccessTransport
public HttpAccessTransport()
-
-
Method Details
-
doPost
public String doPost(String strUrl, Map<String, String> mapParams, Map<String, throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionString> mapHeadersRequest) - Specified by:
doPostin interfacefr.paris.lutece.plugins.identitystore.v3.business.IHttpTransportProvider- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
doPostJSON
public <T extends fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.ResponseDto> T doPostJSON(String strUrl, Map<String, String> mapParams, Map<String, throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionString> mapHeadersRequest, Object json, Class<T> responseJsonClass, com.fasterxml.jackson.databind.ObjectMapper mapper) - Specified by:
doPostJSONin interfacefr.paris.lutece.plugins.identitystore.v3.business.IHttpTransportProvider- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
doPutJSON
public <T extends fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.ResponseDto> T doPutJSON(String strUrl, Map<String, String> mapParams, Map<String, throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionString> mapHeadersRequest, Object json, Class<T> responseJsonClass, com.fasterxml.jackson.databind.ObjectMapper mapper) - Specified by:
doPutJSONin interfacefr.paris.lutece.plugins.identitystore.v3.business.IHttpTransportProvider- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
doPostJSONforList
public <T extends fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.ResponseDto> List<T> doPostJSONforList(String strUrl, Map<String, String> mapParams, Map<String, throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionString> mapHeadersRequest, Object json, Class<T> responseJsonClass, com.fasterxml.jackson.databind.ObjectMapper mapper) - Specified by:
doPostJSONforListin interfacefr.paris.lutece.plugins.identitystore.v3.business.IHttpTransportProvider- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
doGet
public <T extends fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.ResponseDto> T doGet(String strEndPointUrl, Map<String, String> mapParams, Map<String, throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionString> mapHeadersRequest, Class<T> responseJsonClass, com.fasterxml.jackson.databind.ObjectMapper mapper) - Specified by:
doGetin interfacefr.paris.lutece.plugins.identitystore.v3.business.IHttpTransportProvider- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
doDelete
public <T extends fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.ResponseDto> T doDelete(String strEndPointUrl, Map<String, String> mapParams, Map<String, throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionString> mapHeadersRequest, Class<T> responseJsonClass, com.fasterxml.jackson.databind.ObjectMapper mapper) - Specified by:
doDeletein interfacefr.paris.lutece.plugins.identitystore.v3.business.IHttpTransportProvider- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
doDeleteJSON
public <T extends fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.ResponseDto> T doDeleteJSON(String strEndPointUrl, Map<String, String> mapParams, Map<String, throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreExceptionString> mapHeadersRequest, Object json, Class<T> responseJsonClass, com.fasterxml.jackson.databind.ObjectMapper mapper) - Specified by:
doDeleteJSONin interfacefr.paris.lutece.plugins.identitystore.v3.business.IHttpTransportProvider- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
setApiEndPointUrl
set end point- Specified by:
setApiEndPointUrlin interfacefr.paris.lutece.plugins.identitystore.v3.business.IHttpTransportProvider- Parameters:
strApiEndPointUrl-
-
getApiEndPointUrl
get end point- Specified by:
getApiEndPointUrlin interfacefr.paris.lutece.plugins.identitystore.v3.business.IHttpTransportProvider- Returns:
- strEndPointUrl
-