Class WebTargetValueParamProvider.BindingModel
java.lang.Object
org.glassfish.jersey.server.internal.inject.WebTargetValueParamProvider.BindingModel
- Enclosing class:
WebTargetValueParamProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Annotation
private final String
private final Class
<? extends javax.ws.rs.core.Configuration> static final WebTargetValueParamProvider.BindingModel
private final boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbaseUri()
Get the client base URI.create
(Annotation binding) Create a client binding model from aclient binding
annotation.create
(Collection<Annotation> bindingCandidates) Create a client binding model from a set ofclient binding
annotation candidates.boolean
Get the client binding annotation this model represents.Class
<? extends javax.ws.rs.core.Configuration> Get the configuration class to be used.int
hashCode()
boolean
Check if the server-side providers should be inherited.toString()
-
Field Details
-
EMPTY
-
annotation
-
configClass
-
inheritProviders
private final boolean inheritProviders -
baseUri
-
-
Constructor Details
-
BindingModel
-
-
Method Details
-
create
Create a client binding model from aclient binding
annotation.- Parameters:
binding
- client binding annotation.- Returns:
- binding model representing a single client binding annotation.
-
create
public static WebTargetValueParamProvider.BindingModel create(Collection<Annotation> bindingCandidates) Create a client binding model from a set ofclient 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.- Parameters:
bindingCandidates
- candidate binding annotations.- Returns:
- composite binding representing the union of the individual binding annotations found among the binding candidates.
-
getAnnotation
Get the client binding annotation this model represents.- Returns:
- client binding annotation.
-
getConfigClass
Get the configuration class to be used.- Returns:
- client configuration class to be used.
-
inheritProviders
public boolean inheritProviders()Check if the server-side providers should be inherited.- Returns:
true
if server-side providers should be inherited,false
otherwise.
-
baseUri
Get the client base URI.- Returns:
- client base URI.
-
equals
-
hashCode
public int hashCode() -
toString
-