Package com.google.gson.interceptors
Class InterceptorFactory
java.lang.Object
com.google.gson.interceptors.InterceptorFactory
- All Implemented Interfaces:
TypeAdapterFactory
A type adapter factory that implements
@Intercept
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TypeAdapter
<T> Returns a type adapter fortype
, or null if this factory doesn't supporttype
.
-
Constructor Details
-
InterceptorFactory
public InterceptorFactory()
-
-
Method Details
-
create
Description copied from interface:TypeAdapterFactory
Returns a type adapter fortype
, or null if this factory doesn't supporttype
.- Specified by:
create
in interfaceTypeAdapterFactory
-