Package com.oracle.bmc.http.internal
Class ResponseConversionFunctionFactory
- java.lang.Object
-
- com.oracle.bmc.http.internal.ResponseConversionFunctionFactory
-
@Deprecated public class ResponseConversionFunctionFactory extends Object
Deprecated.all clients of this version or newer useResponseConversionFunctionFactoryV2insteadFactory class to create the appropriate type of Function to convert a REST Response into its final form.
-
-
Constructor Summary
Constructors Constructor Description ResponseConversionFunctionFactory()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Function<javax.ws.rs.core.Response,WithHeaders<Void>>create()Deprecated.all clients of this version or newer useResponseConversionFunctionFactoryV2insteadFunction<javax.ws.rs.core.Response,WithHeaders<Void>>create(ServiceDetails serviceDetails)Deprecated.all clients of this version or newer useResponseConversionFunctionFactoryV2instead<T> Function<javax.ws.rs.core.Response,WithHeaders<T>>create(Class<T> clazz)Deprecated.all clients of this version or newer useResponseConversionFunctionFactoryV2instead<T> Function<javax.ws.rs.core.Response,WithHeaders<T>>create(Class<T> clazz, ServiceDetails serviceDetails)Deprecated.all clients of this version or newer useResponseConversionFunctionFactoryV2instead<T> Function<javax.ws.rs.core.Response,WithHeaders<T>>create(javax.ws.rs.core.GenericType<T> type)Deprecated.all clients of this version or newer useResponseConversionFunctionFactoryV2instead<T> Function<javax.ws.rs.core.Response,WithHeaders<T>>create(javax.ws.rs.core.GenericType<T> type, ServiceDetails serviceDetails)Deprecated.all clients of this version or newer useResponseConversionFunctionFactoryV2instead
-
-
-
Method Detail
-
create
@Deprecated public Function<javax.ws.rs.core.Response,WithHeaders<Void>> create()
Deprecated.all clients of this version or newer useResponseConversionFunctionFactoryV2insteadCreates a Function that will not convert the Response into any given type, just return the headers.- Returns:
- A new Function.
-
create
@Deprecated public Function<javax.ws.rs.core.Response,WithHeaders<Void>> create(ServiceDetails serviceDetails)
Deprecated.all clients of this version or newer useResponseConversionFunctionFactoryV2insteadCreates a Function that will not convert the Response into any given type, just return the headers.- Parameters:
serviceDetails- service details of the Response- Returns:
- A new Function.
-
create
@Deprecated public <T> Function<javax.ws.rs.core.Response,WithHeaders<T>> create(Class<T> clazz)
Deprecated.all clients of this version or newer useResponseConversionFunctionFactoryV2insteadCreates a Function that will convert the Response into the given object type.- Parameters:
clazz- The type of instance to convert to.- Returns:
- A new Function.
-
create
@Deprecated public <T> Function<javax.ws.rs.core.Response,WithHeaders<T>> create(Class<T> clazz, ServiceDetails serviceDetails)
Deprecated.all clients of this version or newer useResponseConversionFunctionFactoryV2insteadCreates a Function that will convert the Response into the given object type.- Parameters:
clazz- The type of instance to convert to.serviceDetails- service details of the Response- Returns:
- A new Function.
-
create
@Deprecated public <T> Function<javax.ws.rs.core.Response,WithHeaders<T>> create(javax.ws.rs.core.GenericType<T> type)
Deprecated.all clients of this version or newer useResponseConversionFunctionFactoryV2insteadCreates a Function that will convert the Response into a parameterized collection object, or some other parameterized type.- Parameters:
type- The generic type to convert to.- Returns:
- A new Function.
-
create
@Deprecated public <T> Function<javax.ws.rs.core.Response,WithHeaders<T>> create(javax.ws.rs.core.GenericType<T> type, ServiceDetails serviceDetails)
Deprecated.all clients of this version or newer useResponseConversionFunctionFactoryV2insteadCreates a Function that will convert the Response into a parameterized collection object, or some other parameterized type.- Parameters:
type- The generic type to convert to.serviceDetails- service details of the Response- Returns:
- A new Function.
-
-