Class ShipEngineRequest<I,O>
java.lang.Object
com.broadleafcommerce.shipping.service.integrations.shipengine.service.ShipEngineRequest<I,O>
- Type Parameters:
I
- The type of Object in the request bodyO
- The type for the response from the ShipEngine API
Holds request header and body data needed by WebClient to exchange with the ShipEngine API
-
Method Summary
Modifier and TypeMethodDescriptionstatic <I,
O> ShipEngineRequest<String, O> buildGetRequest
(String uri, Class<O> responseType) static <I,
O> ShipEngineRequest<I, O> buildPostRequest
(String uri, I requestObject, Class<O> responseType) org.springframework.http.HttpMethod
getPath()
-
Method Details
-
buildGetRequest
-
buildPostRequest
public static <I,O> ShipEngineRequest<I,O> buildPostRequest(String uri, I requestObject, Class<O> responseType) -
getHttpMethod
public org.springframework.http.HttpMethod getHttpMethod() -
getPath
-
getRequestObject
-
getReturnType
-