What is the difference between DubboProtocol and HttpProtocol in the dubbo framework?Difference between the Apache HTTP Server and Apache Tomcat?Apache logs — what is difference between %a and %h?Difference Between SSLCACertificateFile and SSLCertificateChainFileWhat is the difference between HTTP_HOST and SERVER_NAME in PHP?Difference between socket and websocket?RewriteCond: what is the difference between writing ^ or not?What is the difference between CloseableHttpClient and HttpClient in Apache HttpClient API?HttpClient Connection reset by peer: socket write errorWhat is the difference between $var and %VAR in apache?RewriteCond for certain QUERY_STRING needed
How many people can lift Thor's hammer?
Tiny image scraper for xkcd.com
What's the difference between a share and a stock?
Translate English to Pig Latin | PIG_LATIN.PY
Identifying the following distribution
Default argument for a functor in a templated parameter
Why there are construction cranes on apparently completed buildings in New York?
Never make public members virtual/abstract - really?
Are language and thought the same?
Draw the ☣ (Biohazard Symbol)
GFI outlets tripped after power outage
How does the UK House of Commons think they can prolong the deadline of Brexit?
Combinatorics problems that can be solved more easily using probability
How do I delete cookies from a specific site?
Is mathematics truth?
Why are all volatile liquids combustible
'Hard work never hurt anyone' Why not 'hurts'?
Low quality postdoc application and deadline extension
In-universe, why does Doc Brown program the time machine to go to 1955?
Ceiling fan electrical box missing female screw holes
How do I make my fill-in-the-blank exercise more obvious?
Would you recommend a keyboard for beginners with or without lights in keys for learning?
Mute single speaker?
If I have an accident, should I file a claim with my car insurance company?
What is the difference between DubboProtocol and HttpProtocol in the dubbo framework?
Difference between the Apache HTTP Server and Apache Tomcat?Apache logs — what is difference between %a and %h?Difference Between SSLCACertificateFile and SSLCertificateChainFileWhat is the difference between HTTP_HOST and SERVER_NAME in PHP?Difference between socket and websocket?RewriteCond: what is the difference between writing ^ or not?What is the difference between CloseableHttpClient and HttpClient in Apache HttpClient API?HttpClient Connection reset by peer: socket write errorWhat is the difference between $var and %VAR in apache?RewriteCond for certain QUERY_STRING needed
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
URL url = invoker.getUrl();
// export service.
/**
* 根据url中的参数得到服务的key,
* key类似:me.cxis.dubbo.service.HelloService:20080
* 然后根据new一个DubboExproter实例
* 放到exporterMap中
*/
String key = serviceKey(url);
DubboExporter<T> exporter = new DubboExporter<T>(invoker, key, exporterMap);
exporterMap.put(key, exporter);
//export an stub service for dispaching event
// 有关于本地存根的一些处理
Boolean isStubSupportEvent = url.getParameter(Constants.STUB_EVENT_KEY,Constants.DEFAULT_STUB_EVENT);
Boolean isCallbackservice = url.getParameter(Constants.IS_CALLBACK_SERVICE, false);
if (isStubSupportEvent && !isCallbackservice)
// 启动服务器
openServer(url);
return exporter;
}
What's the difference between DubboProtocol.java->export()
and HttpProtocol.java->export()
apache
add a comment |
URL url = invoker.getUrl();
// export service.
/**
* 根据url中的参数得到服务的key,
* key类似:me.cxis.dubbo.service.HelloService:20080
* 然后根据new一个DubboExproter实例
* 放到exporterMap中
*/
String key = serviceKey(url);
DubboExporter<T> exporter = new DubboExporter<T>(invoker, key, exporterMap);
exporterMap.put(key, exporter);
//export an stub service for dispaching event
// 有关于本地存根的一些处理
Boolean isStubSupportEvent = url.getParameter(Constants.STUB_EVENT_KEY,Constants.DEFAULT_STUB_EVENT);
Boolean isCallbackservice = url.getParameter(Constants.IS_CALLBACK_SERVICE, false);
if (isStubSupportEvent && !isCallbackservice)
// 启动服务器
openServer(url);
return exporter;
}
What's the difference between DubboProtocol.java->export()
and HttpProtocol.java->export()
apache
please ask the question in English with more elaboration.
– Amir
Mar 28 at 4:21
add a comment |
URL url = invoker.getUrl();
// export service.
/**
* 根据url中的参数得到服务的key,
* key类似:me.cxis.dubbo.service.HelloService:20080
* 然后根据new一个DubboExproter实例
* 放到exporterMap中
*/
String key = serviceKey(url);
DubboExporter<T> exporter = new DubboExporter<T>(invoker, key, exporterMap);
exporterMap.put(key, exporter);
//export an stub service for dispaching event
// 有关于本地存根的一些处理
Boolean isStubSupportEvent = url.getParameter(Constants.STUB_EVENT_KEY,Constants.DEFAULT_STUB_EVENT);
Boolean isCallbackservice = url.getParameter(Constants.IS_CALLBACK_SERVICE, false);
if (isStubSupportEvent && !isCallbackservice)
// 启动服务器
openServer(url);
return exporter;
}
What's the difference between DubboProtocol.java->export()
and HttpProtocol.java->export()
apache
URL url = invoker.getUrl();
// export service.
/**
* 根据url中的参数得到服务的key,
* key类似:me.cxis.dubbo.service.HelloService:20080
* 然后根据new一个DubboExproter实例
* 放到exporterMap中
*/
String key = serviceKey(url);
DubboExporter<T> exporter = new DubboExporter<T>(invoker, key, exporterMap);
exporterMap.put(key, exporter);
//export an stub service for dispaching event
// 有关于本地存根的一些处理
Boolean isStubSupportEvent = url.getParameter(Constants.STUB_EVENT_KEY,Constants.DEFAULT_STUB_EVENT);
Boolean isCallbackservice = url.getParameter(Constants.IS_CALLBACK_SERVICE, false);
if (isStubSupportEvent && !isCallbackservice)
// 启动服务器
openServer(url);
return exporter;
}
What's the difference between DubboProtocol.java->export()
and HttpProtocol.java->export()
apache
apache
edited Mar 28 at 4:42
halfelf
7,09011 gold badges35 silver badges50 bronze badges
7,09011 gold badges35 silver badges50 bronze badges
asked Mar 28 at 4:11
phiepiphiepi
6
6
please ask the question in English with more elaboration.
– Amir
Mar 28 at 4:21
add a comment |
please ask the question in English with more elaboration.
– Amir
Mar 28 at 4:21
please ask the question in English with more elaboration.
– Amir
Mar 28 at 4:21
please ask the question in English with more elaboration.
– Amir
Mar 28 at 4:21
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55390040%2fwhat-is-the-difference-between-dubboprotocol-and-httpprotocol-in-the-dubbo-frame%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55390040%2fwhat-is-the-difference-between-dubboprotocol-and-httpprotocol-in-the-dubbo-frame%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
please ask the question in English with more elaboration.
– Amir
Mar 28 at 4:21