Annotation Interface Request
Annotates an RPC endpoint.
This annotation provides namespace for annotations for dialogue client generation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfacestatic @interfacestatic @interfacestatic @interfacestatic @interfaceSimilar to the Feign QueryMap serialization type.static @interface -
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionClass<? extends DeserializerFactory> Response bodyDeserializer.Class<? extends ErrorDecoder> Error handling strategy.
-
Element Details
-
method
com.palantir.dialogue.HttpMethod method -
path
String pathRequest path. Follows conjure format. Path parameter names must correspond to parameters on the annotated method.- See Also:
-
accept
Class<? extends DeserializerFactory> acceptResponse bodyDeserializer. By default this deserializer is only used for successful (i.e.200 <= response.code() < 300) responses.- Returns:
- class that implements a zero-arg constructor to be used to deserialize the response
- Default:
com.palantir.dialogue.annotations.Json.class
-
errorDecoder
Class<? extends ErrorDecoder> errorDecoderError handling strategy.- Returns:
- class that implements a zero-arg constructor to be used to deserialize an error response
- Default:
com.palantir.dialogue.annotations.ConjureErrorDecoder.class
-