java.lang.Object
com.broadleafcommerce.shipping.service.integrations.shipengine.service.ShipEngineRequest<I,O>
Type Parameters:
I - The type of Object in the request body
O - The type for the response from the ShipEngine API

public class ShipEngineRequest<I,O> extends Object
Holds request header and body data needed by WebClient to exchange with the ShipEngine API
  • Method Details

    • buildGetRequest

      public static <I, O> ShipEngineRequest<String,O> buildGetRequest(String uri, Class<O> responseType)
    • buildPostRequest

      public static <I, O> ShipEngineRequest<I,O> buildPostRequest(String uri, I requestObject, Class<O> responseType)
    • getHttpMethod

      public org.springframework.http.HttpMethod getHttpMethod()
    • getPath

      public String getPath()
    • getRequestObject

      public I getRequestObject()
    • getReturnType

      public Class<O> getReturnType()