private static class WebTargetValueFactoryProvider.BindingModel
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.lang.annotation.Annotation |
annotation |
private java.lang.String |
baseUri |
private java.lang.Class<? extends javax.ws.rs.core.Configuration> |
configClass |
static WebTargetValueFactoryProvider.BindingModel |
EMPTY |
private boolean |
inheritProviders |
| Modifier | Constructor and Description |
|---|---|
private |
BindingModel(java.lang.annotation.Annotation annotation) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
baseUri()
Get the client base URI.
|
static WebTargetValueFactoryProvider.BindingModel |
create(java.lang.annotation.Annotation binding)
Create a client binding model from a
client binding annotation. |
static WebTargetValueFactoryProvider.BindingModel |
create(java.util.Collection<java.lang.annotation.Annotation> bindingCandidates)
Create a client binding model from a set of
client binding
annotation candidates. |
boolean |
equals(java.lang.Object o) |
java.lang.annotation.Annotation |
getAnnotation()
Get the client binding annotation this model represents.
|
java.lang.Class<? extends javax.ws.rs.core.Configuration> |
getConfigClass()
Get the configuration class to be used.
|
int |
hashCode() |
boolean |
inheritProviders()
Check if the server-side providers should be inherited.
|
java.lang.String |
toString() |
public static final WebTargetValueFactoryProvider.BindingModel EMPTY
private final java.lang.annotation.Annotation annotation
private final java.lang.Class<? extends javax.ws.rs.core.Configuration> configClass
private final boolean inheritProviders
private final java.lang.String baseUri
public static WebTargetValueFactoryProvider.BindingModel create(java.lang.annotation.Annotation binding)
client binding annotation.binding - client binding annotation.public static WebTargetValueFactoryProvider.BindingModel create(java.util.Collection<java.lang.annotation.Annotation> bindingCandidates)
client binding
annotation candidates.
A ClientBinding marker meta-annotation is used to select the set of binding
annotations. Only those annotations that are annotated with the binding marker
meta-annotation are considered as binding annotations. All other annotations are filtered
out and ignored.
bindingCandidates - candidate binding annotations.public java.lang.annotation.Annotation getAnnotation()
public java.lang.Class<? extends javax.ws.rs.core.Configuration> getConfigClass()
public boolean inheritProviders()
true if server-side providers should be inherited, false otherwise.public java.lang.String baseUri()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object