public class HttpClientProvider extends Object implements EJBTransportProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
HTTP |
static String |
HTTPS |
static Set<String> |
PROTOCOLS |
| Constructor and Description |
|---|
HttpClientProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(EJBReceiverContext receiverContext) |
EJBReceiver |
getReceiver(EJBReceiverContext ejbReceiverContext,
String s)
Get an Enterprise Bean receiver for the protocol identified by the given URI scheme.
|
void |
notifyRegistered(EJBReceiverContext receiverContext)
Notify the provider instance that it has been registered with the given client context.
|
boolean |
supportsProtocol(String uriScheme)
Determine whether this transport provider supports the protocol identified by the given URI scheme.
|
public static final String HTTP
public static final String HTTPS
public void notifyRegistered(EJBReceiverContext receiverContext)
EJBTransportProvidernotifyRegistered in interface EJBTransportProviderreceiverContext - the Enterprise Beans receiver context (not null)public boolean supportsProtocol(String uriScheme)
EJBTransportProvidersupportsProtocol in interface EJBTransportProvideruriScheme - the URI schemetrue if this provider supports the protocol, false otherwisepublic EJBReceiver getReceiver(EJBReceiverContext ejbReceiverContext, String s) throws IllegalArgumentException
EJBTransportProvidergetReceiver in interface EJBTransportProviderejbReceiverContext - the receiver contexts - the URI schemenull Enterprise Beans receiverIllegalArgumentException - if the protocol is not supportedpublic void close(EJBReceiverContext receiverContext) throws Exception
close in interface EJBTransportProviderExceptionCopyright © 2022 JBoss by Red Hat. All rights reserved.