ServiceResponseBuilder.Factory Class

  • java.lang.Object
    • com.microsoft.bot.restclient.ServiceResponseBuilder.Factory

Implements

public static final class ServiceResponseBuilder.Factory
implements Factory

A factory to create a service response builder.

Constructor Summary

Constructor Description
Factory()

Method Summary

Modifier and Type Method and Description
ServiceResponseBuilder<T,E> <T,E>newInstance(SerializerAdapter<?> serializerAdapter)

Returns a response builder instance.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

Factory

public Factory()

Method Details

<T,E>newInstance

public ServiceResponseBuilder newInstance(SerializerAdapter serializerAdapter)

Returns a response builder instance. This can be created new or cached.

Parameters:

serializerAdapter

Applies to