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 |
---|---|
EJBReceiver |
getReceiver(EJBReceiverContext ejbReceiverContext,
String s)
Get an EJB 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)
EJBTransportProvider
notifyRegistered
in interface EJBTransportProvider
receiverContext
- the EJB receiver context (not null
)public boolean supportsProtocol(String uriScheme)
EJBTransportProvider
supportsProtocol
in interface EJBTransportProvider
uriScheme
- the URI schemetrue
if this provider supports the protocol, false
otherwisepublic EJBReceiver getReceiver(EJBReceiverContext ejbReceiverContext, String s) throws IllegalArgumentException
EJBTransportProvider
getReceiver
in interface EJBTransportProvider
ejbReceiverContext
- the receiver contexts
- the URI schemenull
EJB receiverIllegalArgumentException
- if the protocol is not supportedCopyright © 2017 JBoss by Red Hat. All rights reserved.