site Internet:Un instant. Nuages et flammesteneur
@font-face{font-family:'SourceCodePro';font-style:normal;font-weight:300;font-display:swap;src:url(/fonts.gstatic.com/s/sourcecodepro/v23/HI_diYsKILxRpg3hIP6sJ7fM7PqPMcMnZFqUwX28DJKQtMlrSg.woff)format('woff');}@font-face{font-family:'SourceCodePro';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts.gstatic.com/s/sourcecodepro/v23/HI_diYsKILxRpg3hIP6sJ7fM7PqPMcMnZFqUwX28DMyQtMlrSg.woff)format('woff');} Baeldung document.addEventListener('DOMContentLoaded',function(){ letview_subscription=document.querySelector(".woocommerce-view-subscription.user-registration-MyAccount-nigation-link--dashboard"); if(view_subscription){ view_subscription.classList.remove('is-active'); document.querySelector(".woocommerce-view-subscription.user-registration-MyAccount-nigation-link--subscriptions").classList.add("is-active"); } letview_order=document.querySelector(".woocommerce-view-order.user-registration-MyAccount-nigation-link--dashboard"); if(view_order){ view_order.classList.remove('is-active'); document.querySelector(".woocommerce-view-order.user-registration-MyAccount-nigation-link--orders").classList.add("is-active"); } }); {"@context":":\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":":\/\/\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":":\/\/\/#listItem","position":1,"name":"Home"}]},{"@type":"Organization","@id":":\/\/\/#organization","name":"Baeldung","description":"Ja,SpringandWebDevelopmenttutorials","url":":\/\/\/","logo":{"@type":"ImeObject","url":":\/\/\/wp-content\/uploads\/2021\/10\/Leaf-dark-225-new.jpg","@id":":\/\/\/#organizationLogo","width":225,"height":225},"ime":{"@id":":\/\/\/#organizationLogo"},"sameAs":[":\/\/twitter.com\/baeldung"]},{"@type":"WebPe","@id":":\/\/\/#webpe","url":":\/\/\/","name":"Baeldung","description":"In-depth,to-the-pointtutorialsonJa,Spring,SpringBoot,Security,andREST.","inLangue":"en-US","isPartOf":{"@id":":\/\/\/#website"},"breadcrumb":{"@id":":\/\/\/#breadcrumblist"},"ime":{"@type":"ImeObject","url":":\/\/\/wp-content\/uploads\/2021\/08\/Baeldung-Featured-Ime.png","@id":":\/\/\/#mainIme","width":1200,"height":628},"primaryImeOfPe":{"@id":":\/\/\/#mainIme"},"datePublished":"2020-10-30T15:34:47+02:00","dateModified":"2024-03-23T08:52:56+02:00"},{"@type":"WebSite","@id":":\/\/\/#website","url":":\/\/\/","name":"Baeldung","description":"Ja,SpringandWebDevelopmenttutorials","inLangue":"en-US","publisher":{"@id":":\/\/\/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":":\/\/\/?s={search_term_string}"},"query-input":"requiredname=search_term_string"}}]} /*!Thisfileisauto-generated*/.wp-block-button__link{color:#fff;background-color:#c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em+2px)calc(1.333em+2px);font-size:1.125em}.wp-block-file__button{background:#c;color:#fff;text-decoration:none}:root{--wp--preset--aspect-ratio--square:1;--wp--preset--aspect-ratio--4-3:4/3;--wp--preset--aspect-ratio--3-4:3/4;--wp--preset--aspect-ratio--3-2:3/2;--wp--preset--aspect-ratio--2-3:2/3;--wp--preset--aspect-ratio--16-9:16/9;--wp--preset--aspect-ratio--9-16:9/16;--wp--preset--color--black:#;--wp--preset--color--cyan-bluish-gray:#abb8c3;--wp--preset--color--white:#ffffff;--wp--preset--color--pale-pink:#f78da7;--wp--preset--color--vivid-red:#cf2e2e;--wp--preset--color--luminous-vivid-orange:#ff6900;--wp--preset--color--luminous-vivid-amber:#fcb900;--wp--preset--color--light-green-cyan:#7bdcb5;--wp--preset--color--vivid-green-cyan:#00d084;--wp--preset--color--pale-cyan-blue:#8ed1fc;--wp--preset--color--vivid-cyan-blue:#0693e3;--wp--preset--color--vivid-purple:#9b51e0;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple:linear-gradient(135deg,rgba(6,147,227,1)0%,rgb(155,81,224)100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan:linear-gradient(135deg,rgb(122,220,180)0%,rgb(0,208,130)100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange:linear-gradient(135deg,rgba(252,185,0,1)0%,rgba(255,105,0,1)100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red:linear-gradient(135deg,rgba(255,105,0,1)0%,rgb(207,46,46)100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray:linear-gradient(135deg,rgb(238,238,238)0%,rgb(169,184,195)100%);--wp--preset--gradient--cool-to-warm-spectrum:linear-gradient(135deg,rgb(74,234,220)0%,rgb(151,120,209)20%,rgb(207,42,186)40%,rgb(238,44,130)60%,rgb(251,105,98)80%,rgb(254,248,76)100%);--wp--preset--gradient--blush-light-purple:linear-gradient(135deg,rgb(255,206,236)0%,rgb(152,150,240)100%);--wp--preset--gradient--blush-bordeaux:linear-gradient(135deg,rgb(254,205,165)0%,rgb(254,45,45)50%,rgb(107,0,62)100%);--wp--preset--gradient--luminous-dusk:linear-gradient(135deg,rgb(255,203,112)0%,rgb(199,81,192)50%,rgb(65,88,208)100%);--wp--preset--gradient--pale-ocean:linear-gradient(135deg,rgb(255,245,203)0%,rgb(182,227,212)50%,rgb(51,167,181)100%);--wp--preset--gradient--electric-grass:linear-gradient(135deg,rgb(202,248,128)0%,rgb(113,206,126)100%);--wp--preset--gradient--midnight:linear-gradient(135deg,rgb(2,3,129)0%,rgb(40,116,252)100%);--wp--preset--font-size--small:13px;--wp--preset--font-size--medium:20px;--wp--preset--font-size--large:36px;--wp--preset--font-size--x-large:42px;--wp--preset--font-family--inter:"Inter",sans-serif;--wp--preset--font-family--cardo:Cardo;--wp--preset--spacing--20:0.44rem;--wp--preset--spacing--30:0.67rem;--wp--preset--spacing--40:1rem;--wp--preset--spacing--50:1.5rem;--wp--preset--spacing--60:2.25rem;--wp--preset--spacing--70:3.38rem;--wp--preset--spacing--80:5.06rem;--wp--preset--shadow--natural:6px6px9pxrgba(0,0,0,0.2);--wp--preset--shadow--deep:12px12px50pxrgba(0,0,0,0.4);--wp--preset--shadow--sharp:6px6px0pxrgba(0,0,0,0.2);--wp--preset--shadow--outlined:6px6px0px-3pxrgba(255,255,255,1),6px6pxrgba(0,0,0,1);--wp--preset--shadow--crisp:6px6px0pxrgba(0,0,0,1);}:where(.is-layout-flex){gap:0.5em;}:where(.is-layout-grid){gap:0.5em;}body.is-layout-flex{display:flex;}.is-layout-flex{flex-wrap:wrap;align-items:center;}.is-layout-flex>:is(*,div){margin:0;}body.is-layout-grid{display:grid;}.is-layout-grid>:is(*,div){margin:0;}:where(.wp-block-columns.is-layout-flex){gap:2em;}:where(.wp-block-columns.is-layout-grid){gap:2em;}:where(.wp-block-post-template.is-layout-flex){gap:1.25em;}:where(.wp-block-post-template.is-layout-grid){gap:1.25em;}.has-black-color{color:var(--wp--preset--color--black)!important;}.has-cyan-bluish-gray-color{color:var(--wp--preset--color--cyan-bluish-gray)!important;}.has-white-color{color:var(--wp--preset--color--white)!important;}.has-pale-pink-color{color:var(--wp--preset--color--pale-pink)!important;}.has-vivid-red-color{color:var(--wp--preset--color--vivid-red)!important;}.has-luminous-vivid-orange-color{color:var(--wp--preset--color--luminous-vivid-orange)!important;}.has-luminous-vivid-amber-color{color:var(--wp--preset--color--luminous-vivid-amber)!important;}.has-light-green-cyan-color{color:var(--wp--preset--color--light-green-cyan)!important;}.has-vivid-green-cyan-color{color:var(--wp--preset--color--vivid-green-cyan)!important;}.has-pale-cyan-blue-color{color:var(--wp--preset--color--pale-cyan-blue)!important;}.has-vivid-cyan-blue-color{color:var(--wp--preset--color--vivid-cyan-blue)!important;}.has-vivid-purple-color{color:var(--wp--preset--color--vivid-purple)!important;}.has-black-background-color{background-color:var(--wp--preset--color--black)!important;}.has-cyan-bluish-gray-background-color{background-color:var(--wp--preset--color--cyan-bluish-gray)!important;}.has-white-background-color{background-color:var(--wp--preset--color--white)!important;}.has-pale-pink-background-color{background-color:var(--wp--preset--color--pale-pink)!important;}.has-vivid-red-background-color{background-color:var(--wp--preset--color--vivid-red)!important;}.has-luminous-vivid-orange-background-color{background-color:var(--wp--preset--color--luminous-vivid-orange)!important;}.has-luminous-vivid-amber-background-color{background-color:var(--wp--preset--color--luminous-vivid-amber)!important;}.has-light-green-cyan-background-color{background-color:var(--wp--preset--color--light-green-cyan)!important;}.has-vivid-green-cyan-background-color{background-color:var(--wp--preset--color--vivid-green-cyan)!important;}.has-pale-cyan-blue-background-color{background-color:var(--wp--preset--color--pale-cyan-blue)!important;}.has-vivid-cyan-blue-background-color{background-color:var(--wp--preset--color--vivid-cyan-blue)!important;}.has-vivid-purple-background-color{background-color:var(--wp--preset--color--vivid-purple)!important;}.has-black-border-color{border-color:var(--wp--preset--color--black)!important;}.has-cyan-bluish-gray-border-color{border-color:var(--wp--preset--color--cyan-bluish-gray)!important;}.has-white-border-color{border-color:var(--wp--preset--color--white)!important;}.has-pale-pink-border-color{border-color:var(--wp--preset--color--pale-pink)!important;}.has-vivid-red-border-color{border-color:var(--wp--preset--color--vivid-red)!important;}.has-luminous-vivid-orange-border-color{border-color:var(--wp--preset--color--luminous-vivid-orange)!important;}.has-luminous-vivid-amber-border-color{border-color:var(--wp--preset--color--luminous-vivid-amber)!important;}.has-light-green-cyan-border-color{border-color:var(-Un instant. Nuages et flammes-wp--preset--color--light-green-cyan)!important;}.has-vivid-green-cyan-border-color{border-color:var(--wp--preset--color--vivid-green-cyan)!important;}.has-pale-cyan-blue-border-color{border-color:var(--wp--preset--color--pale-cyan-blue)!important;}.has-vivid-cyan-blue-border-color{border-color:var(--wp--preset--color--vivid-cyan-blue)!important;}.has-vivid-purple-border-color{border-color:var(--wp--preset--color--vivid-purple)!important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple)!important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan)!important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange)!important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background:var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red)!important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray)!important;}.has-cool-to-warm-spectrum-gradient-background{background:var(--wp--preset--gradient--cool-to-warm-spectrum)!important;}.has-blush-light-purple-gradient-background{background:var(--wp--preset--gradient--blush-light-purple)!important;}.has-blush-bordeaux-gradient-background{background:var(--wp--preset--gradient--blush-bordeaux)!important;}.has-luminous-dusk-gradient-background{background:var(--wp--preset--gradient--luminous-dusk)!important;}.has-pale-ocean-gradient-background{background:var(--wp--preset--gradient--pale-ocean)!important;}.has-electric-grass-gradient-background{background:var(--wp--preset--gradient--electric-grass)!important;}.has-midnight-gradient-background{background:var(--wp--preset--gradient--midnight)!important;}.has-small-font-size{font-size:var(--wp--preset--font-size--small)!important;}.has-medium-font-size{font-size:var(--wp--preset--font-size--medium)!important;}.has-large-font-size{font-size:var(--wp--preset--font-size--large)!important;}.has-x-large-font-size{font-size:var(--wp--preset--font-size--x-large)!important;}:where(.wp-block-post-template.is-layout-flex){gap:1.25em;}:where(.wp-block-post-template.is-layout-grid){gap:1.25em;}:where(.wp-block-columns.is-layout-flex){gap:2em;}:where(.wp-block-columns.is-layout-grid){gap:2em;}:root:where(.wp-block-pullquote){font-size:1.5em;line-height:1.6;}.woocommerceform.form-row.required{visibility:visible;}#wrapa{color:#;}#wrapa:link,#wrapa:visited{color:#;}#wrap.show_more_wrappera.loadmore-editor{background-color:#63b175;border-bottom:6pxsolid#;}#wrap.show_more_wrappera.loadmore-editor:hover{background-color:#;border-bottom:6pxsolid#;}body.home#wrapa:link,body.pe-template-homepe#wrapa:link,body.home#wrapa:visited,body.pe-template-homepe#wrapa:visited{color:#63b175;}body.home#wrap.button-customa:hover,body.pe-template-homepe#wrap.button-customa:hover{background-color:#63b175!important;filter:brightness(1);}body.author#wrap.author-contact-lista:link,body.author#wrap.author-contact-lista:visited{color:#63b175;}#wrapa.n--menu_item_anchor,#wrapa.loginout__link{color:white;}#wrapa.dropdown--item_anchor:hover.dropdown--item_text,#wrapa.dropdown--item_anchor:focus.dropdown--item_text,#wrapa.dropdown--item_anchor:active.dropdown--item_text{color:#63b175;}.single#wrap.categories.btn-share{background-color:#;}#wrap.all-author-headerh1{color:#63b175;}#wrap.author-divider-separator{border-top:2pxsolid#63b175;}#wrap.all-author-content-section-even.author-ime-border{border-color:#63b175}.single#wrap.categoriesa, .single#wrap.post-tsa, .archive#wrap.related-tsa, .archive#wrap.related-categoriesa, .archive#wrapa.archive-parent-cat{background-color:#63b175;color:white}.single#wrap.post-tsa,.archive#wrap.related-tsa{background-color:#333;}.archive#wrap.related-ts.highlight{background-color:#4e9359!important;}.single#wrap.categoriesa:hover, .single#wrap.categoriesa:focus, .single#wrap.post-tsa:hover, .single#wrap.post-tsa:focus, .single#wrap.post-ts.pointeda:hover, .archive#wrap.related-ts.pointeda:hover, .single#wrap.post-ts.pointeda:hover:after, .archive#wrap.related-tsa:hover, .archive#wrap.related-ts.pointeda:hover:after, .archive#wrap.related-ts.pointeda.highlight:after, .archive#wrap.related-ts.pointeda.highlight, .archive#wrap.related-tsa:focus, .archive#wrap.related-categoriesa:hover, .archive#wrap.related-categoriesa:focus, .archive#wrapa.archive-parent-cat:hover, .archive#wrapa.archive-parent-cat:focus{background-color:#4e9359;border-color:#4e9359;}#wrapsection.further-reading-posts.fr-item.ex,#wrapsection.further-reading-posts.fr-itema{color:#7386a6;}#wrap.pe-header.single-title{color:#333}.single#wrap.post-contentp,.single#wrap.post-contenth2,.single#wrap.post-contenth3,.single#wrap.post-contenth4,.single#wrap.post-contentli{color:#000}#wrap.hljsspan{color:#63b175!important}#wrap.btn-default:hover,#wrap.hljs-copy-button,#wrap.button-brandinga,#wrap.btn-default:focus{background-color:#63b175;border-color:#63b175;}#wrap.btn-default:focus,#wrap.btn-default:focus:active,#wrap.button-brandinga:focus,#wrap.button-brandinga:active{background-color:#4e9359;border-color:#4e9359}button._1p1hm7w,a._1p1hm7w,div._3n1zmx>header,li._1jinj{background-color:#63b175!important;border-color:#63b175!important;}#wrap.author,#wrap.reviewer{border-left:3pxsolid#63b175;}#wrap.author-categories.highlight{background-color:#;border-color:#}#wrap.big-n-top-bar{background:#63b175;}#wrap.menu-mobile{background:#63b175;}#wrap.header--menu,#wrap.loginout__menu{background-color:#63b175;}#wrap.n--menu_item_highlighted{background:#63b175}#wrap.n--menu_item_darkened{background:#4e9359}#wrapli.big-n-icon{background-color:#4e9359;}#wrap.big-n-contenthr{color:#4e9359;border-color:#4e9359;}#wrap#big-na.highlightb{color:#63b175!important}#wrap#big-na.highlight::before{color:#63b175!important}#wrap.big-n-content>.row>.col-md-6ullia{color:white;}#wrap.big-n-content>.row>.col-md-6a{color:white;}#wrap.big-n-content>.row>.col-md-6ullia:hover{color:#A4B4D3;}#wrap.n--dropdown{background:#;}#wrap.n--dropdown_content{background:#;}#wrap.n--dropdown_content:before,#wrap.n--dropdown_content:after{background-color:#;}#wrapa.n--menu_item_anchor_active,#wrapa.n--menu_item_anchor:active,#wrapa.loginout__link:hover{background-color:#;}#wrapn.header--menuli.inner-dropdowna.n--dropdown_active,#wrap.n--dropdown_item:hover{background-color:#;}#wrapn.header--menu.n--dropdownli.inner-dropdown.n--dropdown,#wrap n.header--menu.n--dropdownli.inner-dropdown.n--dropdownul{background-color:#;}#wrap#big-n{background-color:#525E74;}#wrap.big-n-content{background-color:#;}#wrap.big-n-top-bara.close-big-n{background-color:#;}#wrapli.big-n-icon:hover{background-color:#;}#wrapli.big-n-icona.n--menu_item_anchor:active{background-color:#;}#wrap#menu-search.active.btn-search{background-color:#4e9359;}#wrap#menu-search.active.btn-search:hover{background-color:#63b175;}#wrap.pination>li>a,#wrap.pination>li>span{color:#63b175;}#wrap.pination>.active>a,#wrap .pination>.active>span,#wrap .pination>.active>a:hover,#wrap .pination>.active>span:hover,#wrap .pination>.active>a:focus,#wrap .pination>.active>span:focus{color:white;background-color:#63b175;border-color:#63b175;}#wrap.archive-columns.post-title{color:#4e9359;}body.author.archive#wrap.author-fullname{color:#63b175}#wrap.table-styledth{background-color:#63b175}#wrap.table-styledtd:not(:last-child){border-right-color:#63b175}#wrap.table-styledtr:nth-child(odd){background-color:#f0fff7}#wrap.hljs-keyword,#wrap.hljs-attribute,#wrap.hljs-selector-t,#wrap.hljs-meta-keyword,#wrap.hljs-doct,#wrap.hljs-name{color:#63b175;}#wrap.hljs-type,#wrap.hljs-string,#wrap.hljs-number,#wrap.hljs-selector-id,#wrap.hljs-selector-class,#wrap.hljs-quote,#wrap.hljs-template-t,#wrap.hljs-deletion{color:#4E9359;}#wrap.hljs-title,#wrap.hljs-section{color:#;font-weight:bold;}#wrap.hljs,#wrap.hljs-subst{color:#;}#wrap.hljs{background-color:#fafafa;}body#wrap.hljs{border-left:3pxsolid#}#wrap.short_end{border:4pxsolid#63b175!important;}#wrap#wpcomm.wc-load-more-submit:hover,#wrap#wpcomm.wc-load-more-submit:focus{background-color:#63b175;}#wrap.wpcf7.wpcf7-submit{background-color:#63b175;}#wrap.archive-columns.clickUn instant. Nuages et flammes-whole.post-title.hover-wrapper:before{background-color:#63b175;}#wrap.sublogo-container{background-color:#63b175;}#wrap.content-infoa,body.home#wrap.content-infoa:link,body.pe-template-homepe#wrap.content-infoa:link,body.home#wrap.content-infoa:visited,body.pe-template-homepe#wrap.content-infoa:visited{color:rgba(255,255,255,0.8);}#wrap.content-infoa:hover,body.home#wrap.content-infoa:hover,body.pe-template-homepe#wrap.content-infoa:hover{color:rgba(255,255,255,1);}#wrap.loginout__atar{border-color:#4e9359;}#wrap.content-controla{color:#63b175;}/**/@font-face{ font-family:'Raleway'; font-style:normal; font-weight:300; font-display:swap; src:url('/wp-content/themes/baeldung/library/dist/fonts/raleway.woff2')format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}@font-face{ font-family:'Raleway'; font-style:normal; font-weight:400; font-display:swap; src:url('/wp-content/themes/baeldung/library/dist/fonts/raleway.woff2')format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}@font-face{ font-family:'Raleway'; font-style:normal; font-weight:600; font-display:swap; src:url('/wp-content/themes/baeldung/library/dist/fonts/raleway.woff2')format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}@font-face{ font-family:'Raleway'; font-style:normal; font-weight:700; font-display:swap; src:url('/wp-content/themUn instant. Nuages et flammeses/baeldung/library/dist/fonts/raleway.woff2')format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;} { "@context":"httpschema.org", "@type":"Corporation", "address":{ "@type":"PostalAddress", "addressCountry":"Romania", "addressLocality":"Bucharest", "addressRegion":"Bucharest", "postalCode":"", "streetAddress":"str.Dambului,nr.96" }, "description":"Baeldung-In-depth,to-the-pointtutorialsonJa,Spring,SpringBoot,Security,andREST.", "email":"mailto:team@baeldung.com", "logo":"/wp-content/themes/baeldung/icon/baeldung-logo-schema.jpg", "name":"Baeldung", "sameAs":[ "twitter.com/baeldung", "/baeldung", "/company/baeldung", "/baeldung", "/@BaeldungTutorials", "/baeldung/" ], "telephone":"", "url":"/" } varfreestar=freestar||{};freestar.queue=freestar.queue||[];freestar.config=freestar.config||{};freestar.config.enabled_slots=[];freestar.initCallback=function(){(freestar.config.enabled_slots.length===0)?freestar.initCallbackCalled=false:freestar.newAdSlots(freestar.config.enabled_slots)}(function(){varhost=window.location.hostname;varelement=document.createElement('script');varfirstScript=document.getElementsByTName('script')[0];varurl='cmp.inmobi.com'.concat('/choice/','8de23B0-UzMb6','/',host,'/choice.js?t_version=V3');varuspTries=0;varuspTriesLimit=3;element.async=true;element.type='text/jascript';element.src=url;firstScript.parentNode.insertBefore(element,firstScript);functionmakeStub(){varTCF_LOCATOR_NAME='__tcfapiLocator';varqueue=[];varwin=window;varcmpFrame;functionaddFrame(){vardoc=win.document;varotherCMP=!!(win.frames[TCF_LOCATOR_NAME]);if(!otherCMP){if(doc.body){variframe=doc.createElement('iframe');iframe.style.cssText='display:none';iframe.name=TCF_LOCATOR_NAME;doc.body.appendChild(iframe);}else{setTimeout(addFrame,5);}}return!otherCMP;}functiontcfAPIHandler(){vargdprApplies;varargs=arguments;if(!args.length){returnqueue;}elseif(args[0]==='setGdprApplies'){if(args.length>3&&args[2]===2&&typeofargs[3]==='boolean'){gdprApplies=args[3];if(typeofargs[2]==='function'){args[2]('set',true);}}}elseif(args[0]==='ping'){varretr={gdprApplies:gdprApplies,cmpLoaded:false,cmpStatus:'stub'};if(typeofargs[2]==='function'){args[2](retr);}}else{if(args[0]==='init'&&typeofargs[3]==='object'){args[3]=Object.assign(args[3],{t_version:'V3'});}queue.push(args);}}functionpostMesseEventHandler(event){varmsgIsString=typeofevent.data==='string';varjson={};try{if(msgIsString){json=JSON.parse(event.data);}else{json=event.data;}}catch(ignore){}varpayload=json.__tcfapiCall;if(payload){window.__tcfapi(payload.command,payload.version,function(retValue,success){varreturnMsg={__tcfapiReturn:{returnValue:retValue,success:success,callId:payload.callId}};if(msgIsString){returnMsg=JSON.stringify(returnMsg);}if(event&&event.source&&event.source.postMesse){event.source.postMesse(returnMsg,'*');}},payload.parameter);}}while(win){try{if(win.frames[TCF_LOCATOR_NAME]){cmpFrame=win;break;}}catch(ignore){}if(win===window.top){break;}win=win.parent;}if(!cmpFrame){addFrame();win.__tcfapi=tcfAPIHandler;win.addEventListener('messe',postMesseEventHandler,false);}};makeStub();varuspStubFunction=function(){vararg=arguments;if(typeofwindow.__uspapi!==uspStubFunction){setTimeout(function(){if(typeofwindow.__uspapi!=='undefined'){window.__uspapi.apply(window.__uspapi,arg);}},500);}};varcheckIfUspIsReady=function(){uspTries++;if(window.__uspapi===uspStubFunction&&uspTries.short_box.short_box-announcement{background-color:#f2f2f2;border:2pxdashed#000;padding-top:40px;padding-bottom:40px;position:relative;}.short_box-icon{width:40px;position:absolute;left:0;right:0;margin:0auto;top:-20px;}.short_box.short_box-announcementp{font-size:18px!important;}.short_box.short_box-announcementpa{font-size:100%}.short_box.short_box-announcementa{font-size:150%;color:#76af7a!important;font-weight:bold;} /*PPPMesseBAEL-*/.ppp-messe{ border:3pxdashedrgb(245,194,72);}.ppp-messep{ color:#fff!important; padding:10px; font-size:15px; line-height:1.55em; text-align:center; margin:0;}.ppp-messe.dark-textp{ color:rgb(51,51,51)!important;}.ppp-messe-container.dark-text.ppp-messep{ color:rgb(51,51,51)!important;}.footer-html-banner{margin:0auto;max-width:800px;border-radius:12px;margin-bottom:20px;margin-top:40px;overflow:hidden;text-align:center;background-color:#dedede;}.footer-html-banner.header-row{background-color:rgb(82,94,116);padding:25px30px;display:flex;text-align:left;}.footer-html-bannerimg{width:100%;margin:0;}.single.post-content.footer-html-bannerimg{margin:0;}.footer-html-banner.ime-col{max-width:24%;margin:0px28px;padding-left:15px;}.footer-html-banner.text-col{max-width:76%;font-size:1.6em;line-height:1.4em;padding-left:15px;}.footer-html-banner.text-coldiv{color:rgb(251,240,240);}@media(max-width:768px){.footer-html-banner.ime-col{display:none;}.footer-html-banner.text-col{width:100%;max-width:100%;padding-left:0px;}}.footer-html-bannera.optin{display:block;margin-top:10px;text-align:center;border-radius:2px;border-bottom:6pxsolidrgb(4815864);background-color:rgb(99,177,117);color:white!important;}.footer-html-bannera.optin:hover{text-decoration:none;background-color:rgb(65,147,84);border-bottom:6pxsolid#;}.footer-html-bannera.optin.optin-button{font-size:18px;color:white;font-family:'Raleway';font-weight:bold;}.footer-security-banner.text-coldiv,.footer-.text-coldiv{padding-bottom:15px;}.footer-rest-banner{background-color:rgb(233,233,233);margin:0auto;max-width:800px;}.footer-rest-banner.ime-col{max-width:311px;width:40%;display:inline-block;vertical-align:top;}.footer-rest-banner.text-col{display:inline-block;max-width:59%;padding:50px30px0px30px;text-align:center;}.footer-rest-banner.text-coldiv{font-size:34px;line-height:46px;font-weight:bold;color:rgb(21,21,21);text-align:left;}.footer-rest-banner.text-coldivstrong{color:rgb(91,158,105)!important;font-size:30px!important;}.footer-rest-banner.text-colimg{width:115px;}.footer-rest-bannerdiv.button-row{padding:25px;background-color:rgb(83,83,83);}.footer-rest-bannera.optin{display:block;text-align:center;border-radius:2px;border-bottom:6pxsolidrgb(4815864);background-color:rgb(99,177,117);color:white!important;padding:13px50px;font-size:20px;font-weight:bold;}.footer-rest-bannera.optin:hover{text-decoration:none;background-color:rgb(48,158,64);border-bottom:6pxsolid#;}@media(max-width:600px){.footer-rest-banner.ime-col{ display:block;margin:0auto;width:100%;}.footer-rest-banner.text-col{ max-width:100%;}}.footer-persistence-banner.text-coldiv.smaller,.footer-cloud-banner.text-coldiv.smaller{font-size:19px;font-weight:bold;line-height:25px;padding-bottom:10px;}.footer-persistence-banner.text-coldiv.bigger,.footer-cloud-banner.text-coldiv.bigger{font-size:30px;font-weight:normal;}.footer-jackson-banner.text-coldiv.bigger{font-size:36px;padding-bottom:15px;padding-top:15px;}.html-banner{width:300px;border:none;background-color:rgb(222,222,222);border-radius:8px;color:white;padding-bottom:15px;}.html-banner.top-ime{border-radius:5px;overflow:hidden;}.html-banner.banner-text{text-align:center;font-size:18px;padding:20px;background-color:rgb(82,94,116);margin-bottom:15px;}.html-bannera.optin{display:block;padding:6px;width:260px;margin:0pxauto;text-align:center;border-radius:2px;border-bottom:6pxsolidrgb(4815864);background-color:rgb(99,177,117);color:white!important;}.html-bannera.optin:hover{text-decoration:none;background-color:rgb(65,147,84);border-bottom:6pxsolid#;}.html-bannera.optin.optin-button{font-size:18px;color:white;font-family:'Raleway';font-weight:bold;} /*VariationOne*/.html-banner.variation-1{padding-bottom:0px;border-radius:10px;background-color:#63B175;}.html-banner.variation-1.top-ime{border-radius:5px5px0px0px;margin-bottom:0px;padding-bottom:0px;}.html-banner.variation-1.banner-text{background-color:#63B175;margin-top:0px;padding-top:0px;border-radius:0px0px5px5px;text-align:center;display:block;padding-bottom:1em;}.html-banner.variation-1strong{display:block;font-size:1.9em;}.html-banner.variation-1a.optin{margin-top:0.5em;padding:10px10px4px10px;display:block;width:100%;background-color:#525E74;border-radius:10px;text-decoration:none;border-bottom:6pxsolid#333a47;}.html-banner.variation-1a.optin:hover{background-color:#3b4455;border-bottom:6pxsolid#333a47;}.html-banner.variation-1a.optin.optin-button{font-size:1.2em;} /*Junit*/.junit-bannerdiv.top-ime{padding:20px50px20px30px;}/*JaWeekly*/div.jw-banner{width:300px;border:none;background-color:#63b175;border-radius:8px;color:white;border-bottom:15pxsolid#;text-align:center;padding-bottom:0px;}.jw-banner.jw-ime{padding:20px;}.jw-banner.jw-text{font-size:24px;padding-top:20px;font-weight:bold;}.jw-banner.jw-text-small{font-size:1em;padding:10px;}.jw-banner.bottom-part{background-color:#;padding:20px10px10px10px;}/*Persistence*/.pers-banner.top-ime{border-radius:5px;overflow:hidden;padding:10px50px0px40px;}/*Http*/.div.top-ime{border-radius:5px;overflow:hidden;padding:10px30px0px30px;}/*REST*/.rest-bannerdiv.banner-text{padding:20px40px;}window.dataLayer=window.dataLayer||[];functiongt(){dataLayer.push(arguments);}gt('js',newDate());//commentedouton24/06/22toseetheimpactonstatsseeUX-3393//uncommentedon06/09/22setTimeout("gt('event','morethan2.5minutes',{'event_category':'Timeonpe','non_interaction':true});",);//support.google.com/analytics/answer/?hl=en&utm_id=ad#zippy=%2Cin-this-article//AddingourGA4PropertyLinkgt('config','G-FKMBFL7JWS'); freestar.queue.push(function(){ googlet.pubads().set('pe_url','baeldung.com/'); }); @font-face{font-family:Inter;font-style:normal;font-weight:300900;font-display:fallback;src:url('/wp-content/plugins/woocommerce/assets/fonts/Inter-VariableFont_slnt,wght.woff2')format('woff2');font-stretch:normal;}@font-face{font-family:Cardo;font-style:normal;font-weight:400;font-display:fallback;src:url('/wp-content/plugins/woocommerce/assets/fonts/cardo_normal_400.woff2')format('woff2');} letapi_url=":\/\/\/api\/country-code\/"//geturlofapi. letmyAsyncFunction=async()=>{ constresponse=awaitfetch(api_url); if(response.status!==200){ thrownewError("cannotfetchdata"); } letdata=awaitresponse.json(); returndata; }; myAsyncFunction() .then((data)=>{ console.log("resolved",data); window.country_code=data.countryCode;//setcountry_codeglobally. constcountryCode=newEvent('countryCodeEvent')//Createanewevent document.dispatchEvent(countryCode)//Dispatchtheevent }) .catch((err)=>{ console.log("rejected",err.messe); }); :root{ --wpforms-field-border-radius:3px;--wpforms-field-border-style:solid;--wpforms-field-border-size:1px;--wpforms-field-background-color:#ffffff;--wpforms-field-border-color:rgba(0,0,0,0.25);--wpforms-field-border-color-spare:rgba(0,0,0,0.25);--wpforms-field-text-color:rgba(0,0,0,0.7);--wpforms-field-menu-color:#ffffff;--wpforms-label-color:rgba(0,0,0,0.85);--wpforms-label-sublabel-color:rgba(0,0,0,0.55);--wpforms-label-error-color:#d;--wpforms-button-border-radius:3px;--wpforms-button-border-style:none;--wpforms-button-border-size:1px;--wpforms-button-background-color:#066aab;--wpforms-button-border-color:#066aab;--wpforms-button-text-color:#ffffff;--wpforms-pe-break-color:#066aab;--wpforms-background-ime:none;--wpforms-background-position:centercenter;--wpforms-background-repeat:no-repeat;--wpforms-background-size:cover;--wpforms-background-width:100px;--wpforms-background-height:100px;--wpforms-background-color:rgba(0,0,0,0);--wpforms-background-url:none;--wpforms-container-padding:0px;--wpforms-container-border-style:none;--wpforms-container-border-width:1px;--wpforms-container-border-color:#;--wpforms-container-border-radius:3px;--wpforms-field-size-input-height:43px;--wpforms-field-size-input-spacing:15px;--wpforms-field-size-font-size:16px;--wpforms-field-size-line-height:19px;--wpforms-field-size-padding-h:14px;--wpforms-field-size-checkbox-size:16px;--wpforms-field-size-sublabel-spacing:5px;--wpforms-field-size-icon-size:1;--wpforms-label-size-font-size:16px;--wpforms-label-size-line-height:19px;--wpforms-label-size-sublabel-font-size:14px;--wpforms-label-size-sublabel-line-height:17px;--wpforms-button-size-font-size:17px;--wpforms-button-size-height:41px;--wpforms-button-size-padding-h:15px;--wpforms-button-size-margin-top:10px;--wpforms-container-shadow-size-box-shadow:none; } StartHereCourses ▼▲RESTwithSpringBootThecanonicalreferenceforbuildingaproductiongradeAPIwithSpring LearnSpringSecurity ▼▲ THEuniqueSpringSecurityeducationifyou’reworkingwithJatoday LearnSpringSecurityCoreFocusontheCoreofSpringSecurity6LearnSpringSecurityOAuthFocusonthenewOAuth2stackinSpringSecurity6LearnSpringFromnoexperiencetoactuallybuildingstuffLearnSpringDataJPAThefullguidetopersistencewithSpringDataJPAGuides ▼▲SpringBootGetstartedandgodeepintoSpringBoot3PersistenceThePersistencewithSpringguidesRESTTheguidesonbuildingRESTAPIswithSpringSecurityTheSpringSecurityguidesAbout ▼▲FullArchiveThehighleveloverviewofallthearticlesonthesite.BaeldungEbooksDiscoverallofoureBooksAboutBaeldungAboutBaeldung. BaeldungPro(New) BaeldungProisfinallyoutandlive🙂 AllAccess AlongwithPro,alsolaunchingAll-AccessforallBaeldungcourses! JaWeeklyReviews TheJaWeekly NEWSLETTER JaWeekly,Issue569 LATEST JaWeekly,Issue568 JaWeekly,Issue567 LatestArticlesonJa GuidetoChoosingBetweenProtocolBuffersandJSON HowtoPassMethodasParameterinJa SpringSecurity6.3–What'sNew JaSeries GetStartedwithJa FULLGUIDE JaCollectionsTutorials JaConcurrencyTutorials JaStreamsTutorial SpringBootTutorials SpringBootTutorial FULLGUIDE SpringDependencyInjectionTutorials SERIES BootstrapaSimpleSpringBootApplication GUIDE OtherContent BaeldungonLinux READMORE BaeldungonCS READMORE BaeldungonKotlin READMORE BaeldungonOps READMORE OtherSpringSeries RESTwithSpringTutorial FULLGUIDE AllSpringPersistenceGuides SERIES SpringCloudSeries SERIES OnSpringSecurity AllSpringSecurityGuides FULLGUIDE TheSpringSecurityAuthenticationSeries SERIES SpringSecurityOAuth2Guides SERIES JaLibraries MockitoTutorials SERIES AGuidetoJUnit5 GUIDE IntroductiontoProjectLombok GUIDE AboutJacksonandJSON AllJacksonGuides FULLGUIDE JacksonAnnotations TheJacksonObjectMapper CoursesAllCoursesBaeldungAllAccessBaeldungAllTeamAccessTheCoursesPlatformSeriesJa8220;BacktoBasics8221;TutorialJacksonJSONSeriesApacheSeriesRESTwithSpringSeriesSpringPersistenceSeriesSecuritywithSpringSpringReactiveSeriesAboutAboutBaeldungTheFullArchiveEditorsOurPartnersPartnerwithBaeldungeBooksFAQBaeldungPro TermsofServicePrivacyPolicyCompanyInfoContact if(typeofwindow.freestar!=='undefined'&&typeofwindow.freestar.queue!=='undefined'){window.freestar.queue.push(function(){window.freestar.newSidewall("baeldung_sidewall_left");});}if(typeofwindow.freestar!=='undefined'&&typeofwindow.freestar.queue!=='undefined'){window.freestar.queue.push(function(){window.freestar.newSidewall("baeldung_sidewall_right");});}/**/ (function(){ varc=document.body.className; c=c.replace(/woocommerce-no-js/,'woocommerce-js'); document.body.className=c; })(); /**//**//**//**//**/ var_dcq=_dcq||[]; var_dcs=_dcs||{}; _dcs.account=''; (function(){ vardc=document.createElement('script'); dc.type='text/jascript';dc.async=true; dc.src='//t.getdrip.com/.js'; vars=document.getElementsByTName('script')[0]; s.parentNode.insertBefore(dc,s); })(); /**/