public static class MessagingBinders.MessageBodyProviders extends AbstractBinder
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,java.lang.Object> |
applicationProperties |
private javax.ws.rs.RuntimeType |
runtimeType |
Constructor and Description |
---|
MessageBodyProviders(java.util.Map<java.lang.String,java.lang.Object> applicationProperties,
javax.ws.rs.RuntimeType runtimeType)
Create new message body providers injection binder.
|
Modifier and Type | Method and Description |
---|---|
private <T extends javax.ws.rs.ext.MessageBodyReader & javax.ws.rs.ext.MessageBodyWriter> |
bindSingletonWorker(java.lang.Class<T> worker) |
protected void |
configure()
Implement to provide binding definitions using the exposed binding methods.
|
bind, bind, bind, bind, bindAsContract, bindAsContract, bindAsContract, bindFactory, bindFactory, bindFactory, createManagedInstanceProvider, getBindings, install
private final java.util.Map<java.lang.String,java.lang.Object> applicationProperties
private final javax.ws.rs.RuntimeType runtimeType
public MessageBodyProviders(java.util.Map<java.lang.String,java.lang.Object> applicationProperties, javax.ws.rs.RuntimeType runtimeType)
applicationProperties
- map containing application properties. May be null
.runtimeType
- runtime (client or server) where the binder is used.protected void configure()
AbstractBinder
configure
in class AbstractBinder
private <T extends javax.ws.rs.ext.MessageBodyReader & javax.ws.rs.ext.MessageBodyWriter> void bindSingletonWorker(java.lang.Class<T> worker)