Java Code Examples for com.alibaba.dubbo.common.Constants#SERVER_KEY
The following examples show how to use
com.alibaba.dubbo.common.Constants#SERVER_KEY .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Transporter.java From dubbo-2.6.5 with Apache License 2.0 | 2 votes |
/** * Bind a server. * * @param url server url * @param handler * @return server * @throws RemotingException * @see com.alibaba.dubbo.remoting.Transporters#bind(URL, ChannelHandler...) */ @Adaptive({Constants.SERVER_KEY, Constants.TRANSPORTER_KEY}) Server bind(URL url, ChannelHandler handler) throws RemotingException;
Example 2
Source File: HttpBinder.java From dubbo-2.6.5 with Apache License 2.0 | 2 votes |
/** * bind the server. * * @param url server url. * @return server. */ @Adaptive({Constants.SERVER_KEY}) HttpServer bind(URL url, HttpHandler handler);
Example 3
Source File: Transporter.java From dubbox with Apache License 2.0 | 2 votes |
/** * Bind a server. * * @see com.alibaba.dubbo.remoting.Transporters#bind(URL, Receiver, ChannelHandler) * @param url server url * @param handler * @return server * @throws RemotingException */ @Adaptive({Constants.SERVER_KEY, Constants.TRANSPORTER_KEY}) Server bind(URL url, ChannelHandler handler) throws RemotingException;
Example 4
Source File: HttpBinder.java From dubbox with Apache License 2.0 | 2 votes |
/** * bind the server. * * @param url server url. * @return server. */ @Adaptive({Constants.SERVER_KEY}) HttpServer bind(URL url, HttpHandler handler);
Example 5
Source File: Transporter.java From dubbox-hystrix with Apache License 2.0 | 2 votes |
/** * Bind a server. * * @see com.alibaba.dubbo.remoting.Transporters#bind(URL, Receiver, ChannelHandler) * @param url server url * @param handler * @return server * @throws RemotingException */ @Adaptive({Constants.SERVER_KEY, Constants.TRANSPORTER_KEY}) Server bind(URL url, ChannelHandler handler) throws RemotingException;
Example 6
Source File: HttpBinder.java From dubbox-hystrix with Apache License 2.0 | 2 votes |
/** * bind the server. * * @param url server url. * @return server. */ @Adaptive({Constants.SERVER_KEY}) HttpServer bind(URL url, HttpHandler handler);
Example 7
Source File: Transporter.java From dubbo3 with Apache License 2.0 | 2 votes |
/** * Bind a server. * * @param url server url * @param handler handler * @return server * @throws RemotingException remote exception * @see com.alibaba.dubbo.remoting.Transporters#bind(String, ChannelHandler...) */ @Adaptive({Constants.SERVER_KEY, Constants.TRANSPORTER_KEY}) Server bind(URL url, ChannelHandler handler) throws RemotingException;
Example 8
Source File: Transporter.java From dubbox with Apache License 2.0 | 2 votes |
/** * Bind a server. * * @see com.alibaba.dubbo.remoting.Transporters#bind(URL, Receiver, ChannelHandler) * @param url server url * @param handler * @return server * @throws RemotingException */ @Adaptive({Constants.SERVER_KEY, Constants.TRANSPORTER_KEY}) Server bind(URL url, ChannelHandler handler) throws RemotingException;
Example 9
Source File: HttpBinder.java From dubbox with Apache License 2.0 | 2 votes |
/** * bind the server. * * @param url server url. * @return server. */ @Adaptive({Constants.SERVER_KEY}) HttpServer bind(URL url, HttpHandler handler);
Example 10
Source File: Transporter.java From dubbox with Apache License 2.0 | 2 votes |
/** * Bind a server. * * @see com.alibaba.dubbo.remoting.Transporters#bind(URL, Receiver, ChannelHandler) * @param url server url * @param handler * @return server * @throws RemotingException */ @Adaptive({Constants.SERVER_KEY, Constants.TRANSPORTER_KEY}) Server bind(URL url, ChannelHandler handler) throws RemotingException;
Example 11
Source File: HttpBinder.java From dubbox with Apache License 2.0 | 2 votes |
/** * bind the server. * * @param url server url. * @return server. */ @Adaptive({Constants.SERVER_KEY}) HttpServer bind(URL url, HttpHandler handler);