public class RestClientBean extends Object implements javax.enterprise.inject.spi.Bean<Object>, javax.enterprise.inject.spi.PassivationCapable
Modifier and Type | Field and Description |
---|---|
static String |
QUERY_PARAM_STYLE_FORMAT |
static String |
REST_CONN_TIMEOUT_FORMAT |
static String |
REST_FOLLOW_REDIRECTS_FORMAT |
static String |
REST_HOSTNAME_VERIFIER_FORMAT |
static String |
REST_KEY_STORE_FORMAT |
static String |
REST_KEY_STORE_PASSWORD_FORMAT |
static String |
REST_KEY_STORE_TYPE_FORMAT |
static String |
REST_PROVIDERS_FORMAT |
static String |
REST_PROVIDERS_PRIORITY_FORMAT |
static String |
REST_PROXY_ADDRESS_FORMAT |
static String |
REST_READ_TIMEOUT_FORMAT |
static String |
REST_SCOPE_FORMAT |
static String |
REST_TRUST_STORE_FORMAT |
static String |
REST_TRUST_STORE_PASSWORD_FORMAT |
static String |
REST_TRUST_STORE_TYPE_FORMAT |
static String |
REST_URI_FORMAT |
static String |
REST_URL_FORMAT |
Constructor and Description |
---|
RestClientBean(Class<?> clientInterface,
javax.enterprise.inject.spi.BeanManager beanManager) |
Modifier and Type | Method and Description |
---|---|
Object |
create(javax.enterprise.context.spi.CreationalContext<Object> creationalContext) |
void |
destroy(Object instance,
javax.enterprise.context.spi.CreationalContext<Object> creationalContext) |
Class<?> |
getBeanClass() |
String |
getId() |
Set<javax.enterprise.inject.spi.InjectionPoint> |
getInjectionPoints() |
String |
getName() |
Set<Annotation> |
getQualifiers() |
Class<? extends Annotation> |
getScope() |
Set<Class<? extends Annotation>> |
getStereotypes() |
Set<Type> |
getTypes() |
boolean |
isAlternative() |
boolean |
isNullable() |
public static final String REST_URL_FORMAT
public static final String REST_URI_FORMAT
public static final String REST_SCOPE_FORMAT
public static final String REST_PROVIDERS_FORMAT
public static final String REST_CONN_TIMEOUT_FORMAT
public static final String REST_READ_TIMEOUT_FORMAT
public static final String REST_PROVIDERS_PRIORITY_FORMAT
public static final String REST_TRUST_STORE_FORMAT
public static final String REST_TRUST_STORE_PASSWORD_FORMAT
public static final String REST_TRUST_STORE_TYPE_FORMAT
public static final String REST_HOSTNAME_VERIFIER_FORMAT
public static final String REST_KEY_STORE_FORMAT
public static final String REST_KEY_STORE_PASSWORD_FORMAT
public static final String REST_KEY_STORE_TYPE_FORMAT
public static final String REST_FOLLOW_REDIRECTS_FORMAT
public static final String REST_PROXY_ADDRESS_FORMAT
public static final String QUERY_PARAM_STYLE_FORMAT
public RestClientBean(Class<?> clientInterface, javax.enterprise.inject.spi.BeanManager beanManager)
public String getId()
getId
in interface javax.enterprise.inject.spi.PassivationCapable
public Class<?> getBeanClass()
getBeanClass
in interface javax.enterprise.inject.spi.Bean<Object>
public Set<javax.enterprise.inject.spi.InjectionPoint> getInjectionPoints()
getInjectionPoints
in interface javax.enterprise.inject.spi.Bean<Object>
public boolean isNullable()
isNullable
in interface javax.enterprise.inject.spi.Bean<Object>
public Object create(javax.enterprise.context.spi.CreationalContext<Object> creationalContext)
create
in interface javax.enterprise.context.spi.Contextual<Object>
public void destroy(Object instance, javax.enterprise.context.spi.CreationalContext<Object> creationalContext)
destroy
in interface javax.enterprise.context.spi.Contextual<Object>
public Set<Type> getTypes()
getTypes
in interface javax.enterprise.inject.spi.BeanAttributes<Object>
public Set<Annotation> getQualifiers()
getQualifiers
in interface javax.enterprise.inject.spi.BeanAttributes<Object>
public Class<? extends Annotation> getScope()
getScope
in interface javax.enterprise.inject.spi.BeanAttributes<Object>
public String getName()
getName
in interface javax.enterprise.inject.spi.BeanAttributes<Object>
public Set<Class<? extends Annotation>> getStereotypes()
getStereotypes
in interface javax.enterprise.inject.spi.BeanAttributes<Object>
public boolean isAlternative()
isAlternative
in interface javax.enterprise.inject.spi.BeanAttributes<Object>
Apache CXF