Class WebTargetValueParamProvider.BindingModel
java.lang.Object
org.glassfish.jersey.server.internal.inject.WebTargetValueParamProvider.BindingModel
- Enclosing class:
WebTargetValueParamProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Annotationprivate final Stringprivate final Class<? extends javax.ws.rs.core.Configuration> static final WebTargetValueParamProvider.BindingModelprivate 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 bindingannotation.create(Collection<Annotation> bindingCandidates) Create a client binding model from a set ofclient bindingannotation candidates.booleanGet the client binding annotation this model represents.Class<? extends javax.ws.rs.core.Configuration> Get the configuration class to be used.inthashCode()booleanCheck 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 bindingannotation.- 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 bindingannotation candidates.A
ClientBindingmarker 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:
trueif server-side providers should be inherited,falseotherwise.
-
baseUri
Get the client base URI.- Returns:
- client base URI.
-
equals
-
hashCode
public int hashCode() -
toString
-