diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/404.html b/404.html new file mode 100644 index 0000000..88ab06a --- /dev/null +++ b/404.html @@ -0,0 +1,196 @@ + + + + + + Page Not Found :: Playframework + + + + + +
+ +
+
+ +
+ +
+
+

Page Not Found

+
+

The page you’re looking for does not exist. It may have been moved. You can return to the start page, or follow one of the links in the navigation to the left.

+
+
+

If you arrived on this page by clicking on a link, please notify the owner of the site that the link is broken. +If you typed the URL of this page manually, please double check that you entered the address correctly.

+
+
+
+
+
+ + + + + + + + + diff --git a/_/css/search.css b/_/css/search.css new file mode 100644 index 0000000..e0bd664 --- /dev/null +++ b/_/css/search.css @@ -0,0 +1 @@ +.search-result-dropdown-menu{position:absolute;z-index:100;display:block;right:0;left:inherit;top:100%;border-radius:4px;margin:6px 0 0;padding:0;text-align:left;height:auto;background:transparent;border:none;max-width:600px;min-width:500px;-webkit-box-shadow:0 1px 0 0 rgba(0,0,0,.2),0 2px 3px 0 rgba(0,0,0,.1);box-shadow:0 1px 0 0 rgba(0,0,0,.2),0 2px 3px 0 rgba(0,0,0,.1)}@media screen and (max-width:768px){.search-result-dropdown-menu{min-width:calc(100vw - 3.75rem)}}.search-result-dataset{position:relative;border:1px solid #d9d9d9;background:#fff;border-radius:4px;overflow:auto;padding:8px;max-height:calc(100vh - 5.25rem);line-height:1.5}.search-result-item{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:.5rem}.search-result-component-header{color:#1e1e1e;border-bottom:1px solid #ddd;margin-left:.5em;margin-right:.5em;padding-top:.25em;padding-bottom:.25em}.search-result-document-title{width:33%;border-right:1px solid #ddd;color:#02060c;font-weight:500;font-size:.8rem;padding:.5rem .5rem .5rem 0;text-align:right;position:relative;word-wrap:break-word}.search-result-document-hit{-webkit-box-flex:1;-ms-flex:1;flex:1;font-size:.75rem;color:#63676d}.search-result-document-hit>a{color:inherit;display:block;padding:.55rem .25rem .55rem .75rem}.search-result-document-hit>a:hover{background-color:rgba(69,142,225,.05)}.search-result-document-hit .search-result-highlight{color:#174d8c;background:rgba(143,187,237,.1);padding:.1em .05em;font-weight:500}.search-result-document-hit .search-result-section-title{color:#303030;font-weight:500;font-size:1.05em;margin-bottom:.25em}#search-input{padding:.25em}#search-input:focus{outline:none}#search-field,#search-field .filter{display:-webkit-box;display:-ms-flexbox;display:flex}#search-field .filter{color:#5d5d5d;cursor:pointer;font-size:.875em;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 .5rem;white-space:nowrap;overflow:hidden}#search-field.has-filter>input{border-right:none;border-radius:.1em 0 0 .1em} \ No newline at end of file diff --git a/_/css/site.css b/_/css/site.css new file mode 100644 index 0000000..96a7c51 --- /dev/null +++ b/_/css/site.css @@ -0,0 +1,3 @@ +@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(../font/roboto-latin-400-normal.woff2) format("woff2"),url(../font/roboto-latin-400-normal.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,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:Roboto;font-style:normal;font-weight:400;src:url(../font/roboto-cyrillic-400-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:url(../font/roboto-latin-400-italic.woff2) format("woff2"),url(../font/roboto-latin-400-italic.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,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:Roboto;font-style:italic;font-weight:400;src:url(../font/roboto-cyrillic-400-italic.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-weight:600;src:url(../font/roboto-latin-500-normal.woff2) format("woff2"),url(../font/roboto-latin-500-normal.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,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:Roboto;font-style:normal;font-weight:600;src:url(../font/roboto-cyrillic-500-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Roboto;font-style:italic;font-weight:600;src:url(../font/roboto-latin-500-italic.woff2) format("woff2"),url(../font/roboto-latin-500-italic.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,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:Roboto;font-style:italic;font-weight:600;src:url(../font/roboto-cyrillic-500-italic.woff2) format("woff2");unicode-range:U+0301,U+0400-045f,U+0490-0491,U+04b0-04b1,U+2116}@font-face{font-family:Roboto Mono;font-style:normal;font-weight:400;src:url(../font/roboto-mono-latin-400-normal.woff2) format("woff2"),url(../font/roboto-mono-latin-400-normal.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,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:Roboto Mono;font-style:normal;font-weight:600;src:url(../font/roboto-mono-latin-500-normal.woff2) format("woff2"),url(../font/roboto-mono-latin-500-normal.woff) format("woff");unicode-range:U+00??,U+0131,U+0152-0153,U+02bb-02bc,U+02c6,U+02da,U+02dc,U+2000-206f,U+2074,U+20ac,U+2122,U+2191,U+2193,U+2212,U+2215,U+feff,U+fffd}*,::after,::before{-webkit-box-sizing:inherit;box-sizing:inherit}html{-webkit-box-sizing:border-box;box-sizing:border-box;font-size:1.0625em;height:100%;scroll-behavior:smooth}@media screen and (min-width:1024px){html{font-size:1.125em}}body{background:#fff;color:#222;font-family:Roboto,sans-serif;line-height:1.15;margin:0;-moz-tab-size:4;-o-tab-size:4;tab-size:4;word-wrap:anywhere}a{text-decoration:none}a:hover{text-decoration:underline}a:active{background-color:none}code,kbd,pre{font-family:Roboto Mono,monospace}b,dt,strong,th{font-weight:600}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}em em{font-style:normal}strong strong{font-weight:400}button{cursor:pointer;font-family:inherit;font-size:1em;line-height:1.15;margin:0}button::-moz-focus-inner{border:none;padding:0}summary{cursor:pointer;-webkit-tap-highlight-color:transparent;outline:none}table{border-collapse:collapse;word-wrap:normal}object[type="image/svg+xml"]:not([width]){width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}::-webkit-input-placeholder{opacity:.5}::-moz-placeholder{opacity:.5}:-ms-input-placeholder{opacity:.5}::-ms-input-placeholder{opacity:.5}::placeholder{opacity:.5}@media (pointer:fine){@supports (scrollbar-width:thin){html{scrollbar-color:#c1c1c1 #fafafa}body *{scrollbar-width:thin;scrollbar-color:#c1c1c1 transparent}}html::-webkit-scrollbar{background-color:#fafafa;height:12px;width:12px}body ::-webkit-scrollbar{height:6px;width:6px}::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#c1c1c1;border:3px solid transparent;border-radius:12px}body ::-webkit-scrollbar-thumb{border-width:1.75px;border-radius:6px}::-webkit-scrollbar-thumb:hover{background-color:#9c9c9c}}@media screen and (min-width:1024px){.body{display:-webkit-box;display:-ms-flexbox;display:flex}}@media screen and (max-width:1023.5px){html.is-clipped--nav{overflow-y:hidden}}.nav-container{position:fixed;top:3.5rem;left:0;width:100%;font-size:.94444rem;z-index:1;visibility:hidden}@media screen and (min-width:769px){.nav-container{width:15rem}}@media screen and (min-width:1024px){.nav-container{font-size:.86111rem;-webkit-box-flex:0;-ms-flex:none;flex:none;position:static;top:0;visibility:visible}}.nav-container.is-active{visibility:visible}.nav{background:#fafafa;position:relative;top:2.5rem;height:calc(100vh - 6rem)}@media screen and (min-width:769px){.nav{-webkit-box-shadow:.5px 0 3px #c1c1c1;box-shadow:.5px 0 3px #c1c1c1}}@media screen and (min-width:1024px){.nav{top:3.5rem;-webkit-box-shadow:none;box-shadow:none;position:sticky;height:calc(100vh - 3.5rem)}}.nav a{color:inherit}.nav .panels{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:inherit}.nav-panel-menu{overflow-y:scroll;-ms-scroll-chaining:none;overscroll-behavior:none;height:calc(100% - 2.5rem)}.nav-panel-menu:not(.is-active) .nav-menu{opacity:.75}.nav-panel-menu:not(.is-active)::after{content:"";background:rgba(0,0,0,.5);display:block;position:absolute;top:0;right:0;bottom:0;left:0}.nav-menu{min-height:100%;padding:.5rem .75rem;line-height:1.35;position:relative}.nav-menu-toggle{background:transparent url(../img/octicons-16.svg#view-unfold) no-repeat 50%/100% 100%;border:none;float:right;height:1em;margin-right:-.5rem;opacity:.75;outline:none;padding:0;position:sticky;top:.85rem;visibility:hidden;width:1em}.nav-menu-toggle.is-active{background-image:url(../img/octicons-16.svg#view-fold)}.nav-panel-menu.is-active:hover .nav-menu-toggle{visibility:visible}.nav-menu h3.title{color:#424242;font-size:inherit;font-weight:600;margin:0;padding:.25em 0 .125em}.nav-list{list-style:none;margin:0 0 0 .75rem;padding:0}.nav-menu>.nav-list+.nav-list{margin-top:.5rem}.nav-item{margin-top:.5em}.nav-item-toggle~.nav-list{padding-bottom:.125rem}.nav-item[data-depth="0"]>.nav-list:first-child{display:block;margin:0}.nav-item:not(.is-active)>.nav-list{display:none}.nav-item-toggle{background:transparent url(../img/caret.svg) no-repeat 50%/50%;border:none;outline:none;line-height:inherit;padding:0;position:absolute;height:1.35em;width:1.35em;margin-top:-.05em;margin-left:-1.35em}.nav-item.is-active>.nav-item-toggle{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.is-current-page>.nav-link,.is-current-page>.nav-text{font-weight:600}.nav-panel-explore{background:#fafafa;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:absolute;top:0;right:0;bottom:0;left:0}.nav-panel-explore:not(:first-child){top:auto;max-height:calc(50% + 2.5rem)}.nav-panel-explore .context{font-size:.83333rem;-ms-flex-negative:0;flex-shrink:0;color:#5d5d5d;-webkit-box-shadow:0 -1px 0 #e1e1e1;box-shadow:0 -1px 0 #e1e1e1;padding:0 .5rem;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;line-height:1;height:2.5rem}.nav-panel-explore:not(:first-child) .context{cursor:pointer}.nav-panel-explore .context .version{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:inherit;-ms-flex-align:inherit;align-items:inherit}.nav-panel-explore .context .version::after{content:"";background:url(../img/chevron.svg) no-repeat 100%/auto 100%;width:1.25em;height:.75em}.nav-panel-explore .components{line-height:1.6;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-shadow:inset 0 1px 5px #e1e1e1;box-shadow:inset 0 1px 5px #e1e1e1;background:#f0f0f0;padding:.5rem .75rem 0;margin:0;overflow-y:scroll;-ms-scroll-chaining:none;overscroll-behavior:none;max-height:100%;display:block}.nav-panel-explore:not(.is-active) .components{display:none}.nav-panel-explore .component{display:block}.nav-panel-explore .component+.component{margin-top:.5rem}.nav-panel-explore .component:last-child{margin-bottom:.75rem}.nav-panel-explore .component .title{font-weight:600}.nav-panel-explore .versions{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-left:0;margin:-.25rem -.375rem 0 .375rem;line-height:1;list-style:none}.nav-panel-explore .component .version{margin:.375rem .375rem 0 0}.nav-panel-explore .component .version a{background:#c1c1c1;border-radius:.25rem;white-space:nowrap;padding:.25em .5em;display:inherit;opacity:.75}.nav-panel-explore .component .is-current a{background:#424242;color:#f0f0f0;font-weight:600;opacity:1}@media screen and (max-width:1023.5px){aside.toc.sidebar{display:none}main>.content{overflow-x:auto}}@media screen and (min-width:1024px){main{-webkit-box-flex:1;-ms-flex:auto;flex:auto;min-width:0}main>.content{display:-webkit-box;display:-ms-flexbox;display:flex}aside.toc.embedded{display:none}aside.toc.sidebar{-webkit-box-flex:0;-ms-flex:0 0 9rem;flex:0 0 9rem;-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}}@media screen and (min-width:1216px){aside.toc.sidebar{-ms-flex-preferred-size:12rem;flex-basis:12rem}}.toolbar{color:#5d5d5d;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#fafafa;-webkit-box-shadow:0 1px 0 #e1e1e1;box-shadow:0 1px 0 #e1e1e1;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:.83333rem;height:2.5rem;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;position:sticky;top:3.5rem;z-index:2}.toolbar a{color:inherit}.nav-toggle{background:url(../img/menu.svg) no-repeat 50% 47.5%;background-size:49%;border:none;outline:none;line-height:inherit;padding:0;height:2.5rem;width:2.5rem;margin-right:-.25rem}@media screen and (min-width:1024px){.nav-toggle{display:none}}.nav-toggle.is-active{background-image:url(../img/back.svg);background-size:41.5%}.home-link{display:block;background:url(../img/home-o.svg) no-repeat 50%;height:1.25rem;width:1.25rem;margin:.625rem}.home-link.is-current,.home-link:hover{background-image:url(../img/home.svg)}.edit-this-page{display:none;padding-right:.5rem}@media screen and (min-width:1024px){.edit-this-page{display:block}}.toolbar .edit-this-page a{color:#8e8e8e}.breadcrumbs{display:none;-webkit-box-flex:1;-ms-flex:1 1;flex:1 1;padding:0 .5rem 0 .75rem;line-height:1.35}@media screen and (min-width:1024px){.breadcrumbs{display:block}}a+.breadcrumbs{padding-left:.05rem}.breadcrumbs ul{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0;padding:0;list-style:none}.breadcrumbs li{display:inline;margin:0}.breadcrumbs li::after{content:"/";padding:0 .5rem}.breadcrumbs li:last-of-type::after{content:none}.page-versions{margin:0 .2rem 0 auto;position:relative;line-height:1}@media screen and (min-width:1024px){.page-versions{margin-right:.7rem}}.page-versions .version-menu-toggle{color:inherit;background:url(../img/chevron.svg) no-repeat;background-position:right .5rem top 50%;background-size:auto .75em;border:none;outline:none;line-height:inherit;padding:.5rem 1.5rem .5rem .5rem;position:relative;z-index:3}.page-versions .version-menu{display:-webkit-box;display:-ms-flexbox;display:flex;min-width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;background:-webkit-gradient(linear,left top,left bottom,from(#f0f0f0),to(#f0f0f0)) no-repeat;background:linear-gradient(180deg,#f0f0f0 0,#f0f0f0) no-repeat;padding:1.375rem 1.5rem .5rem .5rem;position:absolute;top:0;right:0;white-space:nowrap}.page-versions:not(.is-active) .version-menu{display:none}.page-versions .version{display:block;padding-top:.5rem}.page-versions .version.is-current{display:none}.page-versions .version.is-missing{color:#8e8e8e;font-style:italic;text-decoration:none}.toc-menu{color:#5d5d5d}.toc.sidebar .toc-menu{margin-right:.75rem;position:sticky;top:6rem}.toc .toc-menu h3{color:#333;font-size:.88889rem;font-weight:600;line-height:1.3;margin:0 -.5px;padding-bottom:.25rem}.toc.sidebar .toc-menu h3{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:2.5rem;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.toc .toc-menu ul{font-size:.83333rem;line-height:1.2;list-style:none;margin:0;padding:0}.toc.sidebar .toc-menu ul{max-height:calc(100vh - 8.5rem);overflow-y:auto;-ms-scroll-chaining:none;overscroll-behavior:none}@supports (scrollbar-width:none){.toc.sidebar .toc-menu ul{scrollbar-width:none}}.toc .toc-menu ul::-webkit-scrollbar{width:0;height:0}@media screen and (min-width:1024px){.toc .toc-menu h3{font-size:.83333rem}.toc .toc-menu ul{font-size:.75rem}}.toc .toc-menu li{margin:0}.toc .toc-menu li[data-level="2"] a{padding-left:1.25rem}.toc .toc-menu li[data-level="3"] a{padding-left:2rem}.toc .toc-menu a{color:inherit;border-left:2px solid #e1e1e1;display:inline-block;padding:.25rem 0 .25rem .5rem;text-decoration:none}.sidebar.toc .toc-menu a{display:block;outline:none}.toc .toc-menu a:hover{color:#1565c0}.toc .toc-menu a.is-active{border-left-color:#1565c0;color:#333}.sidebar.toc .toc-menu a:focus{background:#fafafa}.toc .toc-menu .is-hidden-toc{display:none!important}.doc{color:#333;font-size:inherit;-ms-hyphens:none;hyphens:none;line-height:1.6;margin:0 auto;max-width:40rem;padding:0 1rem 4rem}@media screen and (min-width:1024px){.doc{-webkit-box-flex:1;-ms-flex:auto;flex:auto;font-size:.94444rem;margin:0 2rem;max-width:46rem;min-width:0}}.doc h1,.doc h2,.doc h3,.doc h4,.doc h5,.doc h6{color:#191919;font-weight:400;-ms-hyphens:none;hyphens:none;line-height:1.3;margin:1rem 0 0}.doc>h1.page:first-child{font-size:2rem;margin:1.5rem 0}@media screen and (min-width:769px){.doc>h1.page:first-child{margin-top:2.5rem}}.doc>h1.page:first-child+aside.toc.embedded{margin-top:-.5rem}.doc>h2#name+.sectionbody{margin-top:1rem}#preamble+.sect1,.doc .sect1+.sect1{margin-top:2rem}.doc h1.sect0{background:#f0f0f0;font-size:1.8em;margin:1.5rem -1rem 0;padding:.5rem 1rem}.doc h2:not(.discrete){border-bottom:1px solid #e1e1e1;margin-left:-1rem;margin-right:-1rem;padding:.4rem 1rem .1rem}.doc h3:not(.discrete),.doc h4:not(.discrete){font-weight:600}.doc h1 .anchor,.doc h2 .anchor,.doc h3 .anchor,.doc h4 .anchor,.doc h5 .anchor,.doc h6 .anchor{position:absolute;text-decoration:none;width:1.75ex;margin-left:-1.5ex;visibility:hidden;font-size:.8em;font-weight:400;padding-top:.05em}.doc h1 .anchor::before,.doc h2 .anchor::before,.doc h3 .anchor::before,.doc h4 .anchor::before,.doc h5 .anchor::before,.doc h6 .anchor::before{content:"\00a7"}.doc h1:hover .anchor,.doc h2:hover .anchor,.doc h3:hover .anchor,.doc h4:hover .anchor,.doc h5:hover .anchor,.doc h6:hover .anchor{visibility:visible}.doc dl,.doc p{margin:0}.doc a{color:#1565c0}.doc a:hover{color:#104d92}.doc a.bare{-ms-hyphens:none;hyphens:none}.doc a.unresolved{color:#d32f2f}.doc i.fa{-ms-hyphens:none;hyphens:none;font-style:normal}.doc .colist>table code,.doc p code,.doc thead code{color:#222;background:#fafafa;border-radius:.25em;font-size:.95em;padding:.125em .25em}.doc code,.doc pre{-ms-hyphens:none;hyphens:none}.doc pre{font-size:.88889rem;line-height:1.5;margin:0}.doc blockquote{margin:0}.doc .paragraph.lead>p{font-size:1rem}.doc .right{float:right}.doc .left{float:left}.doc .float-gap.right{margin:0 1rem 1rem 0}.doc .float-gap.left{margin:0 0 1rem 1rem}.doc .float-group::after{content:"";display:table;clear:both}.doc .text-left{text-align:left}.doc .text-center{text-align:center}.doc .text-right{text-align:right}.doc .text-justify{text-align:justify}.doc .stretch{width:100%}.doc .big{font-size:larger}.doc .small{font-size:smaller}.doc .underline{text-decoration:underline}.doc .line-through{text-decoration:line-through}.doc .dlist,.doc .exampleblock,.doc .hdlist,.doc .imageblock,.doc .listingblock,.doc .literalblock,.doc .olist,.doc .paragraph,.doc .partintro,.doc .quoteblock,.doc .sidebarblock,.doc .tabs,.doc .ulist,.doc .verseblock,.doc .videoblock,.doc details,.doc hr{margin:1rem 0 0}.doc .tablecontainer,.doc .tablecontainer+*,.doc :not(.tablecontainer)>table.tableblock,.doc :not(.tablecontainer)>table.tableblock+*,.doc>table.tableblock,.doc>table.tableblock+*{margin-top:1.5rem}.doc table.tableblock{font-size:.83333rem}.doc p.tableblock+p.tableblock{margin-top:.5rem}.doc table.tableblock pre{font-size:inherit}.doc td.tableblock>.content{word-wrap:anywhere}.doc td.tableblock>.content>:first-child{margin-top:0}.doc table.tableblock td,.doc table.tableblock th{padding:.5rem}.doc table.tableblock,.doc table.tableblock>*>tr>*{border:0 solid #e1e1e1}.doc table.grid-all>*>tr>*{border-width:1px}.doc table.grid-cols>*>tr>*{border-width:0 1px}.doc table.grid-rows>*>tr>*{border-width:1px 0}.doc table.grid-all>thead th,.doc table.grid-rows>thead th{border-bottom-width:2.5px}.doc table.frame-all{border-width:1px}.doc table.frame-ends{border-width:1px 0}.doc table.frame-sides{border-width:0 1px}.doc table.frame-none>colgroup+*>:first-child>*,.doc table.frame-sides>colgroup+*>:first-child>*{border-top-width:0}.doc table.frame-sides>:last-child>:last-child>*{border-bottom-width:0}.doc table.frame-ends>*>tr>:first-child,.doc table.frame-none>*>tr>:first-child{border-left-width:0}.doc table.frame-ends>*>tr>:last-child,.doc table.frame-none>*>tr>:last-child{border-right-width:0}.doc table.stripes-all>tbody>tr,.doc table.stripes-even>tbody>tr:nth-of-type(2n),.doc table.stripes-hover>tbody>tr:hover,.doc table.stripes-odd>tbody>tr:nth-of-type(odd){background:#fafafa}.doc table.tableblock>tfoot{background:-webkit-gradient(linear,left top,left bottom,from(#f0f0f0),to(#fff));background:linear-gradient(180deg,#f0f0f0 0,#fff)}.doc .halign-left{text-align:left}.doc .halign-right{text-align:right}.doc .halign-center{text-align:center}.doc .valign-top{vertical-align:top}.doc .valign-bottom{vertical-align:bottom}.doc .valign-middle{vertical-align:middle}.doc .admonitionblock{margin:1.4rem 0 0}.doc .admonitionblock p,.doc .admonitionblock td.content{font-size:.88889rem}.doc .admonitionblock td.content>.title+*,.doc .admonitionblock td.content>:not(.title):first-child{margin-top:0}.doc .admonitionblock td.content pre{font-size:.83333rem}.doc .admonitionblock>table{table-layout:fixed;position:relative;width:100%}.doc .admonitionblock td.content{padding:1rem 1rem .75rem;background:#fafafa;width:100%;word-wrap:anywhere}.doc .admonitionblock td.icon{font-size:.83333rem;left:0;line-height:1;padding:0;position:absolute;top:0;-webkit-transform:translate(-.5rem,-50%);transform:translate(-.5rem,-50%)}.doc .admonitionblock td.icon i{-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:.45rem;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-filter:initial;filter:none;height:1.25rem;padding:0 .5rem;vertical-align:initial;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.doc .admonitionblock td.icon i::after{content:attr(title);font-weight:600;font-style:normal;text-transform:uppercase}.doc .admonitionblock td.icon i.icon-caution{background-color:#a0439c;color:#fff}.doc .admonitionblock td.icon i.icon-important{background-color:#d32f2f;color:#fff}.doc .admonitionblock td.icon i.icon-note{background-color:#217ee7;color:#fff}.doc .admonitionblock td.icon i.icon-tip{background-color:#41af46;color:#fff}.doc .admonitionblock td.icon i.icon-warning{background-color:#e18114;color:#fff}.doc .imageblock,.doc .videoblock{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.doc .imageblock.text-left,.doc .videoblock.text-left{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.doc .imageblock.text-right,.doc .videoblock.text-right{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.doc .image>img,.doc .image>object,.doc .image>svg,.doc .imageblock img,.doc .imageblock object,.doc .imageblock svg{display:inline-block;height:auto;max-width:100%;vertical-align:middle}.doc .image:not(.left):not(.right)>img{margin-top:-.2em}.doc .videoblock iframe,.doc .videoblock video{max-width:100%;vertical-align:middle}#preamble .abstract blockquote{background:#f0f0f0;border-left:5px solid #e1e1e1;color:#4a4a4a;font-size:.88889rem;padding:.75em 1em}.doc .quoteblock,.doc .verseblock{background:#fafafa;border-left:5px solid #5d5d5d;color:#5d5d5d}.doc .quoteblock{padding:.25rem 2rem 1.25rem}.doc .quoteblock .attribution{color:#8e8e8e;font-size:.83333rem;margin-top:.75rem}.doc .quoteblock blockquote{margin-top:1rem}.doc .quoteblock .paragraph{font-style:italic}.doc .quoteblock cite{padding-left:1em}.doc .verseblock{font-size:1.15em;padding:1rem 2rem}.doc .verseblock pre{font-family:inherit;font-size:inherit}.doc ol,.doc ul{margin:0;padding:0 0 0 2rem}.doc ol.none,.doc ol.unnumbered,.doc ol.unstyled,.doc ul.checklist,.doc ul.no-bullet,.doc ul.none,.doc ul.unstyled{list-style-type:none}.doc ol.unnumbered,.doc ul.no-bullet{padding-left:1.25rem}.doc ol.unstyled,.doc ul.unstyled{padding-left:0}.doc ul.circle{list-style-type:circle}.doc ul.disc{list-style-type:disc}.doc ul.square{list-style-type:square}.doc ul.circle ul:not([class]),.doc ul.disc ul:not([class]),.doc ul.square ul:not([class]){list-style:inherit}.doc ol.arabic{list-style-type:decimal}.doc ol.decimal{list-style-type:decimal-leading-zero}.doc ol.loweralpha{list-style-type:lower-alpha}.doc ol.upperalpha{list-style-type:upper-alpha}.doc ol.lowerroman{list-style-type:lower-roman}.doc ol.upperroman{list-style-type:upper-roman}.doc ol.lowergreek{list-style-type:lower-greek}.doc ul.checklist{padding-left:1.75rem}.doc ul.checklist p>i.fa-check-square-o:first-child,.doc ul.checklist p>i.fa-square-o:first-child{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:1.25rem;margin-left:-1.25rem}.doc ul.checklist i.fa-check-square-o::before{content:"\2713"}.doc ul.checklist i.fa-square-o::before{content:"\274f"}.doc .dlist .dlist,.doc .dlist .olist,.doc .dlist .ulist,.doc .olist .dlist,.doc .olist .olist,.doc .olist .ulist,.doc .olist li+li,.doc .ulist .dlist,.doc .ulist .olist,.doc .ulist .ulist,.doc .ulist li+li{margin-top:.5rem}.doc .admonitionblock .listingblock,.doc .olist .listingblock,.doc .ulist .listingblock{padding:0}.doc .admonitionblock .title,.doc .exampleblock .title,.doc .imageblock .title,.doc .listingblock .title,.doc .literalblock .title,.doc .openblock .title,.doc .videoblock .title,.doc table.tableblock caption{color:#5d5d5d;font-size:.88889rem;font-style:italic;font-weight:600;-ms-hyphens:none;hyphens:none;letter-spacing:.01em;padding-bottom:.075rem}.doc table.tableblock caption{text-align:left}.doc .olist .title,.doc .ulist .title{font-style:italic;font-weight:600;margin-bottom:.25rem}.doc .imageblock .title,.doc .videoblock .title{margin-top:.5rem;padding-bottom:0}.doc details{margin-left:1rem}.doc details>summary{display:block;position:relative;line-height:1.6;margin-bottom:.5rem}.doc details>summary::-webkit-details-marker{display:none}.doc details>summary::before{content:"";border:solid transparent;border-left:solid;border-width:.3em 0 .3em .5em;position:absolute;top:.5em;left:-1rem;-webkit-transform:translateX(15%);transform:translateX(15%)}.doc details[open]>summary::before{border-color:currentColor transparent transparent;border-width:.5rem .3rem 0;-webkit-transform:translateY(15%);transform:translateY(15%)}.doc details>summary::after{content:"";width:1rem;height:1em;position:absolute;top:.3em;left:-1rem}.doc details.result{margin-top:.25rem}.doc details.result>summary{color:#5d5d5d;font-style:italic;margin-bottom:0}.doc details.result>.content{margin-left:-1rem}.doc .exampleblock>.content,.doc details.result>.content{background:#fff;border:.25rem solid #5d5d5d;border-radius:.5rem;padding:.75rem}.doc .exampleblock>.content::after,.doc details.result>.content::after{content:"";display:table;clear:both}.doc .exampleblock>.content>:first-child,.doc details>.content>:first-child{margin-top:0}.doc .sidebarblock{background:#e1e1e1;border-radius:.75rem;padding:.75rem 1.5rem}.doc .sidebarblock>.content>.title{font-size:1.25rem;font-weight:600;line-height:1.3;margin-bottom:.5rem;text-align:center}.doc .sidebarblock>.content>.title+*,.doc .sidebarblock>.content>:not(.title):first-child{margin-top:0}.doc .listingblock.wrap pre,.doc table.tableblock pre{white-space:pre-wrap}.doc .listingblock pre:not(.highlight),.doc .literalblock pre,.doc pre.highlight>code{background:#fafafa;-webkit-box-shadow:inset 0 0 1.75px #e1e1e1;box-shadow:inset 0 0 1.75px #e1e1e1;display:block;overflow-x:auto;padding:.875em}.doc .listingblock>.content{position:relative}.doc .source-toolbox{display:-webkit-box;display:-ms-flexbox;display:flex;visibility:hidden;position:absolute;top:.25rem;right:.5rem;color:grey;font-family:Roboto,sans-serif;font-size:.72222rem;line-height:1;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;z-index:1}.doc .listingblock:hover .source-toolbox{visibility:visible}.doc .source-toolbox .source-lang{text-transform:uppercase;letter-spacing:.075em}.doc .source-toolbox>:not(:last-child)::after{content:"|";letter-spacing:0;padding:0 1ch}.doc .source-toolbox .copy-button{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:none;border:none;color:inherit;outline:none;padding:0;font-size:inherit;line-height:inherit;width:1em;height:1em}.doc .source-toolbox .copy-icon{-webkit-box-flex:0;-ms-flex:none;flex:none;width:inherit;height:inherit}.doc .source-toolbox img.copy-icon{-webkit-filter:invert(50.2%);filter:invert(50.2%)}.doc .source-toolbox svg.copy-icon{fill:currentColor}.doc .source-toolbox .copy-toast{-webkit-box-flex:0;-ms-flex:none;flex:none;position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:1em;background-color:#333;border-radius:.25em;padding:.5em;color:#fff;cursor:auto;opacity:0;-webkit-transition:opacity .5s ease .5s;transition:opacity .5s ease .5s}.doc .source-toolbox .copy-toast::after{content:"";position:absolute;top:0;width:1em;height:1em;border:.55em solid transparent;border-left-color:#333;-webkit-transform:rotate(-90deg) translateX(50%) translateY(50%);transform:rotate(-90deg) translateX(50%) translateY(50%);-webkit-transform-origin:left;transform-origin:left}.doc .source-toolbox .copy-button.clicked .copy-toast{opacity:1;-webkit-transition:none;transition:none}.doc .language-console .hljs-meta{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.doc .dlist dt{font-style:italic}.doc .dlist dd{margin:0 0 0 1.5rem}.doc .dlist dd+dt,.doc .dlist dd>p:first-child{margin-top:.5rem}.doc td.hdlist1,.doc td.hdlist2{padding:.5rem 0 0;vertical-align:top}.doc tr:first-child>.hdlist1,.doc tr:first-child>.hdlist2{padding-top:0}.doc td.hdlist1{font-weight:600;padding-right:.25rem}.doc td.hdlist2{padding-left:.25rem}.doc .colist{font-size:.88889rem;margin:.25rem 0 -.25rem}.doc .colist>table>tbody>tr>:first-child,.doc .colist>table>tr>:first-child{padding:.25em .5rem 0;vertical-align:top}.doc .colist>table>tbody>tr>:last-child,.doc .colist>table>tr>:last-child{padding:.25rem 0}.doc .conum[data-value]{border:1px solid;border-radius:100%;display:inline-block;font-family:Roboto,sans-serif;font-size:.75rem;font-style:normal;line-height:1.2;text-align:center;width:1.25em;height:1.25em;letter-spacing:-.25ex;text-indent:-.25ex}.doc .conum[data-value]::after{content:attr(data-value)}.doc .conum[data-value]+b{display:none}.doc hr{border:solid #e1e1e1;border-width:2px 0 0;height:0}.doc b.button{white-space:nowrap}.doc b.button::before{content:"[";padding-right:.25em}.doc b.button::after{content:"]";padding-left:.25em}.doc kbd{display:inline-block;font-size:.66667rem;background:#fafafa;border:1px solid #c1c1c1;border-radius:.25em;-webkit-box-shadow:0 1px 0 #c1c1c1,0 0 0 .1em #fff inset;box-shadow:0 1px 0 #c1c1c1,inset 0 0 0 .1em #fff;padding:.25em .5em;vertical-align:text-bottom;white-space:nowrap}.doc .keyseq,.doc kbd{line-height:1}.doc .keyseq{font-size:.88889rem}.doc .keyseq kbd{margin:0 .125em}.doc .keyseq kbd:first-child{margin-left:0}.doc .keyseq kbd:last-child{margin-right:0}.doc .menuseq,.doc .path{-ms-hyphens:none;hyphens:none}.doc .menuseq i.caret::before{content:"\203a";font-size:1.1em;font-weight:600;line-height:.90909}.doc :not(pre).nowrap{white-space:nowrap}.doc .nobreak{-ms-hyphens:none;hyphens:none;word-wrap:normal}.doc :not(pre).pre-wrap{white-space:pre-wrap}#footnotes{font-size:.85em;line-height:1.5;margin:2rem -.5rem 0}.doc td.tableblock>.content #footnotes{margin:2rem 0 0}#footnotes hr{border-top-width:1px;margin-top:0;width:20%}#footnotes .footnote{margin:.5em 0 0 1em}#footnotes .footnote+.footnote{margin-top:.25em}#footnotes .footnote>a:first-of-type{display:inline-block;margin-left:-2em;text-align:right;width:1.5em}nav.pagination{border-top:1px solid #e1e1e1;line-height:1;margin:2rem -1rem -1rem;padding:.75rem 1rem 0}nav.pagination,nav.pagination span{display:-webkit-box;display:-ms-flexbox;display:flex}nav.pagination span{-webkit-box-flex:50%;-ms-flex:50%;flex:50%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}nav.pagination .prev{padding-right:.5rem}nav.pagination .next{margin-left:auto;padding-left:.5rem;text-align:right}nav.pagination span::before{color:#8e8e8e;font-size:.75em;padding-bottom:.1em}nav.pagination .prev::before{content:"Prev"}nav.pagination .next::before{content:"Next"}nav.pagination a{font-weight:600;line-height:1.3;position:relative}nav.pagination a::after,nav.pagination a::before{color:#8e8e8e;font-weight:400;font-size:1.5em;line-height:.75;position:absolute;top:0;width:1rem}nav.pagination .prev a::before{content:"\2039";-webkit-transform:translateX(-100%);transform:translateX(-100%)}nav.pagination .next a::after{content:"\203a"}@media screen and (max-width:1023.5px){html.is-clipped--navbar{overflow-y:hidden}}body{padding-top:3.5rem}.navbar{background:#92d13d;color:#fff;font-size:.88889rem;height:3.5rem;position:fixed;top:0;width:100%;z-index:4}.navbar a{text-decoration:none}.navbar-brand{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:auto;flex:auto;padding-left:1rem}.navbar-brand .navbar-item{color:#fff}.navbar-brand .navbar-item:first-child{-ms-flex-item-align:center;align-self:center;padding:0;font-size:1.22222rem;-ms-flex-wrap:wrap;flex-wrap:wrap;line-height:1}.navbar-brand .navbar-item:first-child a{color:inherit;word-wrap:normal}.navbar-brand .navbar-item:first-child :not(:last-child){padding-right:.375rem}.navbar-brand .navbar-item.search{-webkit-box-flex:1;-ms-flex:auto;flex:auto;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}#search-input{color:#333;font-family:inherit;font-size:.95rem;width:150px;border:1px solid #dbdbdb;border-radius:.1em;line-height:1.5;padding:0 .25em}#search-input:disabled{background-color:#dbdbdb;cursor:not-allowed;pointer-events:all!important}#search-input:disabled::-webkit-input-placeholder{color:#4c4c4c}#search-input:disabled::-moz-placeholder{color:#4c4c4c}#search-input:disabled:-ms-input-placeholder{color:#4c4c4c}#search-input:disabled::-ms-input-placeholder{color:#4c4c4c}#search-input:disabled::placeholder{color:#4c4c4c}#search-input:focus{outline:none}.navbar-burger{background:none;border:none;outline:none;line-height:1;position:relative;width:3rem;padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-left:auto;min-width:0}.navbar-burger span{background-color:#fff;height:1.5px;width:1rem}.navbar-burger:not(.is-active) span{-webkit-transition:opacity 0s .25s,margin-top .25s ease-out .25s,-webkit-transform .25s ease-out;transition:opacity 0s .25s,margin-top .25s ease-out .25s,-webkit-transform .25s ease-out;transition:transform .25s ease-out,opacity 0s .25s,margin-top .25s ease-out .25s;transition:transform .25s ease-out,opacity 0s .25s,margin-top .25s ease-out .25s,-webkit-transform .25s ease-out}.navbar-burger span+span{margin-top:.25rem}.navbar-burger.is-active span+span{margin-top:-1.5px}.navbar-burger.is-active span:first-child{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.navbar-burger.is-active span:nth-child(2){opacity:0}.navbar-burger.is-active span:nth-child(3){-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.navbar-item,.navbar-link{color:#222;display:block;line-height:1.6;padding:.5rem 1rem}.navbar-item.has-dropdown{padding:0}.navbar-item .icon{width:1.25rem;height:1.25rem;display:block}.navbar-item .icon img,.navbar-item .icon svg{fill:currentColor;width:inherit;height:inherit}.navbar-link{padding-right:2.5em}.navbar-dropdown .navbar-item{padding-left:1.5rem;padding-right:1.5rem}.navbar-dropdown .navbar-item.has-label{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.navbar-dropdown .navbar-item small{color:#8e8e8e;font-size:.66667rem}.navbar-divider{background-color:#e1e1e1;border:none;height:1px;margin:.25rem 0}.navbar .button{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:#fff;border:1px solid #e1e1e1;border-radius:.15rem;height:1.75rem;color:#222;padding:0 .75em;white-space:nowrap}@media screen and (max-width:768.5px){.navbar-brand .navbar-item.search{padding-left:0;padding-right:0}}@media screen and (min-width:769px){#search-input{width:200px}}@media screen and (max-width:1023.5px){.navbar-brand{height:inherit}.navbar-brand .navbar-item{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.navbar-menu{background:#fff;-webkit-box-shadow:0 8px 16px rgba(10,10,10,.1);box-shadow:0 8px 16px rgba(10,10,10,.1);max-height:calc(100vh - 3.5rem);overflow-y:auto;-ms-scroll-chaining:none;overscroll-behavior:none;padding:.5rem 0}.navbar-menu:not(.is-active){display:none}.navbar-menu .navbar-link:hover,.navbar-menu a.navbar-item:hover{background:#f5f5f5}}@media screen and (min-width:1024px){.navbar-burger{display:none}.navbar,.navbar-end,.navbar-item,.navbar-link,.navbar-menu{display:-webkit-box;display:-ms-flexbox;display:flex}.navbar-item,.navbar-link{position:relative;-webkit-box-flex:0;-ms-flex:none;flex:none}.navbar-item:not(.has-dropdown),.navbar-link{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.navbar-item.is-hoverable:hover .navbar-dropdown{display:block}.navbar-link::after{border-width:0 0 1px 1px;border-style:solid;content:"";display:block;height:.5em;pointer-events:none;position:absolute;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);width:.5em;margin-top:-.375em;right:1.125em;top:50%}.navbar-end .navbar-link,.navbar-end>.navbar-item{color:#fff}.navbar-end .navbar-item.has-dropdown:hover .navbar-link,.navbar-end .navbar-link:hover,.navbar-end>a.navbar-item:hover{background:#000;color:#fff}.navbar-end .navbar-link::after{border-color:currentColor}.navbar-dropdown{background:#fff;border:1px solid #e1e1e1;border-top:none;border-radius:0 0 .25rem .25rem;display:none;top:100%;left:0;min-width:100%;position:absolute}.navbar-dropdown .navbar-item{padding:.5rem 3rem .5rem 1rem;white-space:nowrap}.navbar-dropdown .navbar-item small{position:relative;right:-2rem}.navbar-dropdown .navbar-item:last-child{border-radius:inherit}.navbar-dropdown.is-right{left:auto;right:0}.navbar-dropdown a.navbar-item:hover{background:#f5f5f5}}footer.footer{background-color:#343434;color:#fff;font-size:.83333rem;line-height:1.6;text-align:center}.footer p{margin:.5rem 0}.footer a{color:#999;text-decoration:none}body>footer .logo{float:left}body>footer .wrapper{zoom:1;padding:40px 30px;width:960px;margin:0 auto}@media only screen and (max-width:960px){body>footer .wrapper{width:auto}}body>footer .wrapper::after{content:" ";display:block;clear:both}body>footer .wrapper div{width:25%;padding:0 10px;float:left}@media only screen and (max-width:960px){body>footer .wrapper{padding:20px}body>footer .wrapper div{width:50%}}@media only screen and (max-width:450px){body>footer .wrapper div{width:auto;float:none;margin-top:30px}}body>footer .wrapper h3{padding:9px 0;font-weight:700;font-size:16px;border-bottom:1px solid #444}body>footer .credits{width:880px;margin:0 auto;padding:40px 0;border-top:1px solid #444;text-align:center;color:#777}@media only screen and (max-width:960px){body>footer .credits{padding:20px;width:auto}body>footer .credits p{clear:both;padding:20px 0 0}}body>footer .credits .logo img{height:24px}body>footer .lb-legal{width:880px;margin:0 auto;padding:40px 0;border-top:1px solid #444;text-align:center;color:#777;line-height:1.4}@media only screen and (max-width:960px){body>footer .lb-legal{padding:20px;width:auto}}body>footer .lb-legal a:hover{cursor:pointer}body>footer .partner{float:right;margin-left:10px}body>footer ul{margin:10px 0 0;padding:0;list-style:none}body>footer ul li{padding:4px 0}body>footer a:hover{color:green}body>footer em{color:#666;font-size:12px;font-style:inherit;text-transform:uppercase}body>footer img{height:18px;vertical-align:middle}#support{background:#454545;zoom:1;padding:40px 0}#support::after{content:" ";display:block;clear:both}#support a{color:#aaa}#support a:hover{color:green;text-decoration:none}#support .wrapper{padding:40px;zoom:1}#support .wrapper::after{content:" ";display:block;clear:both}#support article{display:inline-block;height:50px;text-align:left;padding:0 0 0 70px}#support article.community{background:url(https://playframework.com/assets/images/support/community.png) no-repeat}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-resolution:2dppx),only screen and (min-resolution:192dpi){#support article.community{background-image:url(https://playframework.com/assets/images/support/community@2x.png);background-size:auto 50px}}#support article.professional{margin-left:50px;background:url(https://playframework.com/assets/images/support/opencollective-icon-reverse.svg) no-repeat;background-size:auto 50px}@media only screen and (max-width:960px){#support{padding:1px 20px!important}#support article{display:block;height:auto;margin:30px 0!important}}#support h3{margin:3px 0;color:#fff}#support li{padding:0 10px 5px 0;display:inline-block}#support li::before{content:none} + +/*! Adapted from the GitHub style by Vasily Polovnyov */.hljs-comment,.hljs-quote{color:#998;font-style:italic}.hljs-keyword,.hljs-selector-tag,.hljs-subst{color:#333;font-weight:600}.hljs-literal,.hljs-number,.hljs-tag .hljs-attr,.hljs-template-variable,.hljs-variable{color:teal}.hljs-doctag,.hljs-string{color:#d14}.hljs-section,.hljs-selector-id,.hljs-title{color:#900;font-weight:600}.hljs-subst{font-weight:400}.hljs-class .hljs-title,.hljs-type{color:#458;font-weight:600}.hljs-attribute,.hljs-name,.hljs-tag{color:navy;font-weight:400}.hljs-link,.hljs-regexp{color:#009926}.hljs-bullet,.hljs-symbol{color:#990073}.hljs-built_in,.hljs-builtin-name{color:#0086b3}.hljs-meta{color:#999;font-weight:600}.hljs-deletion{background:#fdd}.hljs-addition{background:#dfd}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:600}@page{margin:.5in}@media print{.hide-for-print{display:none!important}html{font-size:.9375em}a{color:inherit!important;text-decoration:underline}a.bare,a[href^="#"],a[href^="mailto:"]{text-decoration:none}img,object,svg,tr{page-break-inside:avoid}thead{display:table-header-group}pre{-ms-hyphens:none;hyphens:none;white-space:pre-wrap}body{padding-top:2rem}.navbar{background:none;color:inherit;position:absolute}.navbar *{color:inherit!important}.nav-container,.navbar>:not(.navbar-brand),.toolbar,aside.toc,nav.pagination{display:none}.doc{color:inherit;margin:auto;max-width:none;padding-bottom:2rem}.doc .admonitionblock td.icon{-webkit-print-color-adjust:exact;color-adjust:exact}.doc .listingblock code[data-lang]::before{display:block}footer.footer{background:none;border-top:1px solid #e1e1e1;color:#8e8e8e;padding:.25rem .5rem 0}.footer *{color:inherit}} \ No newline at end of file diff --git a/_/css/vendor/tabs.css b/_/css/vendor/tabs.css new file mode 100644 index 0000000..baa1e6a --- /dev/null +++ b/_/css/vendor/tabs.css @@ -0,0 +1 @@ +/*! Asciidoctor Tabs | Copyright (c) 2018-present Dan Allen | MIT License */.tabs{margin-bottom:1.25em}.tablist>ul{-ms-flex-wrap:wrap;flex-wrap:wrap;list-style:none;margin:0;padding:0}.tablist>ul,.tablist>ul li{display:-webkit-box;display:-ms-flexbox;display:flex}.tablist>ul li{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#fff;cursor:pointer;font-weight:700;line-height:1.5;padding:.25em 1em;position:relative}.tablist>ul li:focus-visible{outline:none}.tablist.ulist,.tablist.ulist>ul li{margin:0}.tablist.ulist>ul li+li{margin-left:.25em}.tabs .tablist li::after{content:"";display:block;height:1px;position:absolute;bottom:-1px;left:0;right:0}.tabs.is-loading .tablist li:not(:first-child),.tabs:not(.is-loading) .tablist li:not(.is-selected){background-color:#f5f5f5}.tabs.is-loading .tablist li:first-child::after,.tabs:not(.is-loading) .tablist li.is-selected::after{background-color:#fff}.tablist>ul p{line-height:inherit;margin:0}.tabpanel{background-color:#fff;padding:1.25em}.tablist>ul li,.tabpanel{border:1px solid #dcdcdc}.tablist>ul li{border-bottom:0}.tabs.is-loading .tabpanel+.tabpanel,.tabs:not(.is-loading) .tabpanel.is-hidden{display:none}.tabpanel>:first-child{margin-top:0}#content .tabpanel>:last-child,#content .tabpanel>:last-child>:last-child,#content .tabpanel>:last-child>:last-child>li:last-child>:last-child{margin-bottom:0}.tablecontainer{overflow-x:auto}#content .tablecontainer{margin-bottom:1.25em}#content .tablecontainer>table.tableblock{margin-bottom:0} \ No newline at end of file diff --git a/_/font/roboto-cyrillic-400-italic.woff2 b/_/font/roboto-cyrillic-400-italic.woff2 new file mode 100644 index 0000000..dd587a2 Binary files /dev/null and b/_/font/roboto-cyrillic-400-italic.woff2 differ diff --git a/_/font/roboto-cyrillic-400-normal.woff2 b/_/font/roboto-cyrillic-400-normal.woff2 new file mode 100644 index 0000000..47da362 Binary files /dev/null and b/_/font/roboto-cyrillic-400-normal.woff2 differ diff --git a/_/font/roboto-cyrillic-500-italic.woff2 b/_/font/roboto-cyrillic-500-italic.woff2 new file mode 100644 index 0000000..cbe564b Binary files /dev/null and b/_/font/roboto-cyrillic-500-italic.woff2 differ diff --git a/_/font/roboto-cyrillic-500-normal.woff2 b/_/font/roboto-cyrillic-500-normal.woff2 new file mode 100644 index 0000000..cb5834f Binary files /dev/null and b/_/font/roboto-cyrillic-500-normal.woff2 differ diff --git a/_/font/roboto-latin-400-italic.woff b/_/font/roboto-latin-400-italic.woff new file mode 100644 index 0000000..ebee16b Binary files /dev/null and b/_/font/roboto-latin-400-italic.woff differ diff --git a/_/font/roboto-latin-400-italic.woff2 b/_/font/roboto-latin-400-italic.woff2 new file mode 100644 index 0000000..e1b7a79 Binary files /dev/null and b/_/font/roboto-latin-400-italic.woff2 differ diff --git a/_/font/roboto-latin-400-normal.woff b/_/font/roboto-latin-400-normal.woff new file mode 100644 index 0000000..9eaa94f Binary files /dev/null and b/_/font/roboto-latin-400-normal.woff differ diff --git a/_/font/roboto-latin-400-normal.woff2 b/_/font/roboto-latin-400-normal.woff2 new file mode 100644 index 0000000..020729e Binary files /dev/null and b/_/font/roboto-latin-400-normal.woff2 differ diff --git a/_/font/roboto-latin-500-italic.woff b/_/font/roboto-latin-500-italic.woff new file mode 100644 index 0000000..b6ad1c5 Binary files /dev/null and b/_/font/roboto-latin-500-italic.woff differ diff --git a/_/font/roboto-latin-500-italic.woff2 b/_/font/roboto-latin-500-italic.woff2 new file mode 100644 index 0000000..ae1933f Binary files /dev/null and b/_/font/roboto-latin-500-italic.woff2 differ diff --git a/_/font/roboto-latin-500-normal.woff b/_/font/roboto-latin-500-normal.woff new file mode 100644 index 0000000..d39bb52 Binary files /dev/null and b/_/font/roboto-latin-500-normal.woff differ diff --git a/_/font/roboto-latin-500-normal.woff2 b/_/font/roboto-latin-500-normal.woff2 new file mode 100644 index 0000000..29342a8 Binary files /dev/null and b/_/font/roboto-latin-500-normal.woff2 differ diff --git a/_/font/roboto-mono-latin-400-normal.woff b/_/font/roboto-mono-latin-400-normal.woff new file mode 100644 index 0000000..be3eb4c Binary files /dev/null and b/_/font/roboto-mono-latin-400-normal.woff differ diff --git a/_/font/roboto-mono-latin-400-normal.woff2 b/_/font/roboto-mono-latin-400-normal.woff2 new file mode 100644 index 0000000..f8894ba Binary files /dev/null and b/_/font/roboto-mono-latin-400-normal.woff2 differ diff --git a/_/font/roboto-mono-latin-500-normal.woff b/_/font/roboto-mono-latin-500-normal.woff new file mode 100644 index 0000000..43ca6a1 Binary files /dev/null and b/_/font/roboto-mono-latin-500-normal.woff differ diff --git a/_/font/roboto-mono-latin-500-normal.woff2 b/_/font/roboto-mono-latin-500-normal.woff2 new file mode 100644 index 0000000..b4f2bf8 Binary files /dev/null and b/_/font/roboto-mono-latin-500-normal.woff2 differ diff --git a/_/img/back.svg b/_/img/back.svg new file mode 100644 index 0000000..bf7d30e --- /dev/null +++ b/_/img/back.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_/img/caret.svg b/_/img/caret.svg new file mode 100644 index 0000000..1af41bc --- /dev/null +++ b/_/img/caret.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_/img/chevron.svg b/_/img/chevron.svg new file mode 100644 index 0000000..40e962a --- /dev/null +++ b/_/img/chevron.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_/img/home-o.svg b/_/img/home-o.svg new file mode 100644 index 0000000..95d193b --- /dev/null +++ b/_/img/home-o.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_/img/home.svg b/_/img/home.svg new file mode 100644 index 0000000..4e96b35 --- /dev/null +++ b/_/img/home.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_/img/menu.svg b/_/img/menu.svg new file mode 100644 index 0000000..8b43b2e --- /dev/null +++ b/_/img/menu.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_/img/octicons-16.svg b/_/img/octicons-16.svg new file mode 100644 index 0000000..c221510 --- /dev/null +++ b/_/img/octicons-16.svg @@ -0,0 +1 @@ +Octicons v11.2.0 by GitHub - https://primer.style/octicons/ - License: MIT \ No newline at end of file diff --git a/_/js/search-ui.js b/_/js/search-ui.js new file mode 100644 index 0000000..53a8dde --- /dev/null +++ b/_/js/search-ui.js @@ -0,0 +1,448 @@ +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : + typeof define === 'function' && define.amd ? define(['exports'], factory) : + (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.antoraSearch = {})); +})(this, (function (exports) { 'use strict'; + + function buildHighlightedText (text, positions, snippetLength) { + const textLength = text.length; + const validPositions = positions + .filter((position) => position.length > 0 && position.start + position.length <= textLength); + + if (validPositions.length === 0) { + return [ + { + type: 'text', + text: text.slice(0, snippetLength >= textLength ? textLength : snippetLength) + (snippetLength < textLength ? '...' : ''), + }, + ] + } + + const orderedPositions = validPositions.sort((p1, p2) => p1.start - p2.start); + const range = { + start: 0, + end: textLength, + }; + const firstPosition = orderedPositions[0]; + if (snippetLength && text.length > snippetLength) { + const firstPositionStart = firstPosition.start; + const firstPositionLength = firstPosition.length; + const firstPositionEnd = firstPositionStart + firstPositionLength; + + range.start = firstPositionStart - snippetLength < 0 ? 0 : firstPositionStart - snippetLength; + range.end = firstPositionEnd + snippetLength > textLength ? textLength : firstPositionEnd + snippetLength; + } + const nodes = []; + if (firstPosition.start > 0) { + nodes.push({ + type: 'text', + text: (range.start > 0 ? '...' : '') + text.slice(range.start, firstPosition.start), + }); + } + let lastEndPosition = 0; + const positionsWithinRange = orderedPositions + .filter((position) => position.start >= range.start && position.start + position.length <= range.end); + + for (const position of positionsWithinRange) { + const start = position.start; + const length = position.length; + const end = start + length; + if (lastEndPosition > 0) { + // create text Node from the last end position to the start of the current position + nodes.push({ + type: 'text', + text: text.slice(lastEndPosition, start), + }); + } + nodes.push({ + type: 'mark', + text: text.slice(start, end), + }); + lastEndPosition = end; + } + if (lastEndPosition < range.end) { + nodes.push({ + type: 'text', + text: text.slice(lastEndPosition, range.end) + (range.end < textLength ? '...' : ''), + }); + } + + return nodes + } + + /** + * Taken and adapted from: https://github.com/olivernn/lunr.js/blob/aa5a878f62a6bba1e8e5b95714899e17e8150b38/lib/tokenizer.js#L24-L67 + * @param lunr + * @param text + * @param term + * @return {{start: number, length: number}} + */ + function findTermPosition (lunr, term, text) { + const str = text.toLowerCase(); + const len = str.length; + + for (let sliceEnd = 0, sliceStart = 0; sliceEnd <= len; sliceEnd++) { + const char = str.charAt(sliceEnd); + const sliceLength = sliceEnd - sliceStart; + + if ((char.match(lunr.tokenizer.separator) || sliceEnd === len)) { + if (sliceLength > 0) { + const value = str.slice(sliceStart, sliceEnd); + // QUESTION: if we get an exact match without running the pipeline should we stop? + if (value.includes(term)) { + // returns the first match + return { + start: sliceStart, + length: value.length, + } + } + } + sliceStart = sliceEnd + 1; + } + } + + // not found! + return { + start: 0, + length: 0, + } + } + + /* global CustomEvent, globalThis */ + + const config = document.getElementById('search-ui-script').dataset; + const snippetLength = parseInt(config.snippetLength || 100, 10); + const siteRootPath = config.siteRootPath || ''; + appendStylesheet(config.stylesheet); + const searchInput = document.getElementById('search-input'); + const searchResultContainer = document.createElement('div'); + searchResultContainer.classList.add('search-result-dropdown-menu'); + searchInput.parentNode.appendChild(searchResultContainer); + const facetFilterInput = document.querySelector('#search-field input[type=checkbox][data-facet-filter]'); + + function appendStylesheet (href) { + if (!href) return + const link = document.createElement('link'); + link.rel = 'stylesheet'; + link.href = href; + document.head.appendChild(link); + } + + function highlightPageTitle (title, terms) { + const positions = getTermPosition(title, terms); + return buildHighlightedText(title, positions, snippetLength) + } + + function highlightSectionTitle (sectionTitle, terms) { + if (sectionTitle) { + const text = sectionTitle.text; + const positions = getTermPosition(text, terms); + return buildHighlightedText(text, positions, snippetLength) + } + return [] + } + + function highlightText (doc, terms) { + const text = doc.text; + const positions = getTermPosition(text, terms); + return buildHighlightedText(text, positions, snippetLength) + } + + function getTermPosition (text, terms) { + const positions = terms + .map((term) => findTermPosition(globalThis.lunr, term, text)) + .filter((position) => position.length > 0) + .sort((p1, p2) => p1.start - p2.start); + + if (positions.length === 0) { + return [] + } + return positions + } + + function highlightHit (searchMetadata, sectionTitle, doc) { + const terms = {}; + for (const term in searchMetadata) { + const fields = searchMetadata[term]; + for (const field in fields) { + terms[field] = [...(terms[field] || []), term]; + } + } + return { + pageTitleNodes: highlightPageTitle(doc.title, terms.title || []), + sectionTitleNodes: highlightSectionTitle(sectionTitle, terms.title || []), + pageContentNodes: highlightText(doc, terms.text || []), + } + } + + function createSearchResult (result, store, searchResultDataset) { + let currentComponent; + result.forEach(function (item) { + const ids = item.ref.split('-'); + const docId = ids[0]; + const doc = store.documents[docId]; + let sectionTitle; + if (ids.length > 1) { + const titleId = ids[1]; + sectionTitle = doc.titles.filter(function (item) { + return String(item.id) === titleId + })[0]; + } + const metadata = item.matchData.metadata; + const highlightingResult = highlightHit(metadata, sectionTitle, doc); + const componentVersion = store.componentVersions[`${doc.component}/${doc.version}`]; + if (componentVersion !== undefined && currentComponent !== componentVersion) { + const searchResultComponentHeader = document.createElement('div'); + searchResultComponentHeader.classList.add('search-result-component-header'); + const { title, displayVersion } = componentVersion; + const componentVersionText = `${title}${doc.version && displayVersion ? ` ${displayVersion}` : ''}`; + searchResultComponentHeader.appendChild(document.createTextNode(componentVersionText)); + searchResultDataset.appendChild(searchResultComponentHeader); + currentComponent = componentVersion; + } + searchResultDataset.appendChild(createSearchResultItem(doc, sectionTitle, item, highlightingResult)); + }); + } + + function createSearchResultItem (doc, sectionTitle, item, highlightingResult) { + const documentTitle = document.createElement('div'); + documentTitle.classList.add('search-result-document-title'); + highlightingResult.pageTitleNodes.forEach(function (node) { + let element; + if (node.type === 'text') { + element = document.createTextNode(node.text); + } else { + element = document.createElement('span'); + element.classList.add('search-result-highlight'); + element.innerText = node.text; + } + documentTitle.appendChild(element); + }); + const documentHit = document.createElement('div'); + documentHit.classList.add('search-result-document-hit'); + const documentHitLink = document.createElement('a'); + documentHitLink.href = siteRootPath + doc.url + (sectionTitle ? '#' + sectionTitle.hash : ''); + documentHit.appendChild(documentHitLink); + if (highlightingResult.sectionTitleNodes.length > 0) { + const documentSectionTitle = document.createElement('div'); + documentSectionTitle.classList.add('search-result-section-title'); + documentHitLink.appendChild(documentSectionTitle); + highlightingResult.sectionTitleNodes.forEach(function (node) { + let element; + if (node.type === 'text') { + element = document.createTextNode(node.text); + } else { + element = document.createElement('span'); + element.classList.add('search-result-highlight'); + element.innerText = node.text; + } + documentSectionTitle.appendChild(element); + }); + } + highlightingResult.pageContentNodes.forEach(function (node) { + let element; + if (node.type === 'text') { + element = document.createTextNode(node.text); + } else { + element = document.createElement('span'); + element.classList.add('search-result-highlight'); + element.innerText = node.text; + } + documentHitLink.appendChild(element); + }); + const searchResultItem = document.createElement('div'); + searchResultItem.classList.add('search-result-item'); + searchResultItem.appendChild(documentTitle); + searchResultItem.appendChild(documentHit); + searchResultItem.addEventListener('mousedown', function (e) { + e.preventDefault(); + }); + return searchResultItem + } + + function createNoResult (text) { + const searchResultItem = document.createElement('div'); + searchResultItem.classList.add('search-result-item'); + const documentHit = document.createElement('div'); + documentHit.classList.add('search-result-document-hit'); + const message = document.createElement('strong'); + message.innerText = 'No results found for query "' + text + '"'; + documentHit.appendChild(message); + searchResultItem.appendChild(documentHit); + return searchResultItem + } + + function clearSearchResults (reset) { + if (reset === true) searchInput.value = ''; + searchResultContainer.innerHTML = ''; + } + + function filter (result, documents) { + const facetFilter = facetFilterInput && facetFilterInput.checked && facetFilterInput.dataset.facetFilter; + if (facetFilter) { + const [field, value] = facetFilter.split(':'); + return result.filter((item) => { + const ids = item.ref.split('-'); + const docId = ids[0]; + const doc = documents[docId]; + return field in doc && doc[field] === value + }) + } + return result + } + + function search (index, documents, queryString) { + // execute an exact match search + let query; + let result = filter( + index.query(function (lunrQuery) { + const parser = new globalThis.lunr.QueryParser(queryString, lunrQuery); + parser.parse(); + query = lunrQuery; + }), + documents + ); + if (result.length > 0) { + return result + } + // no result, use a begins with search + result = filter( + index.query(function (lunrQuery) { + lunrQuery.clauses = query.clauses.map((clause) => { + if (clause.presence !== globalThis.lunr.Query.presence.PROHIBITED) { + clause.term = clause.term + '*'; + clause.wildcard = globalThis.lunr.Query.wildcard.TRAILING; + clause.usePipeline = false; + } + return clause + }); + }), + documents + ); + if (result.length > 0) { + return result + } + // no result, use a contains search + result = filter( + index.query(function (lunrQuery) { + lunrQuery.clauses = query.clauses.map((clause) => { + if (clause.presence !== globalThis.lunr.Query.presence.PROHIBITED) { + clause.term = '*' + clause.term + '*'; + clause.wildcard = globalThis.lunr.Query.wildcard.LEADING | globalThis.lunr.Query.wildcard.TRAILING; + clause.usePipeline = false; + } + return clause + }); + }), + documents + ); + return result + } + + function searchIndex (index, store, text) { + clearSearchResults(false); + if (text.trim() === '') { + return + } + const result = search(index, store.documents, text); + const searchResultDataset = document.createElement('div'); + searchResultDataset.classList.add('search-result-dataset'); + searchResultContainer.appendChild(searchResultDataset); + if (result.length > 0) { + createSearchResult(result, store, searchResultDataset); + } else { + searchResultDataset.appendChild(createNoResult(text)); + } + } + + function confineEvent (e) { + e.stopPropagation(); + } + + function debounce (func, wait, immediate) { + let timeout; + return function () { + const context = this; + const args = arguments; + const later = function () { + timeout = null; + if (!immediate) func.apply(context, args); + }; + const callNow = immediate && !timeout; + clearTimeout(timeout); + timeout = setTimeout(later, wait); + if (callNow) func.apply(context, args); + } + } + + function enableSearchInput (enabled) { + if (facetFilterInput) { + facetFilterInput.disabled = !enabled; + } + searchInput.disabled = !enabled; + searchInput.title = enabled ? '' : 'Loading index...'; + } + + function isClosed () { + return searchResultContainer.childElementCount === 0 + } + + function executeSearch (index) { + const debug = 'URLSearchParams' in globalThis && new URLSearchParams(globalThis.location.search).has('lunr-debug'); + const query = searchInput.value; + try { + if (!query) return clearSearchResults() + searchIndex(index.index, index.store, query); + } catch (err) { + if (err instanceof globalThis.lunr.QueryParseError) { + if (debug) { + console.debug('Invalid search query: ' + query + ' (' + err.message + ')'); + } + } else { + console.error('Something went wrong while searching', err); + } + } + } + + function toggleFilter (e, index) { + searchInput.focus(); + if (!isClosed()) { + executeSearch(index); + } + } + + function initSearch (lunr, data) { + const start = performance.now(); + const index = { index: lunr.Index.load(data.index), store: data.store }; + enableSearchInput(true); + searchInput.dispatchEvent( + new CustomEvent('loadedindex', { + detail: { + took: performance.now() - start, + }, + }) + ); + searchInput.addEventListener( + 'keydown', + debounce(function (e) { + if (e.key === 'Escape' || e.key === 'Esc') return clearSearchResults(true) + executeSearch(index); + }, 100) + ); + searchInput.addEventListener('click', confineEvent); + searchResultContainer.addEventListener('click', confineEvent); + if (facetFilterInput) { + facetFilterInput.parentElement.addEventListener('click', confineEvent); + facetFilterInput.addEventListener('change', (e) => toggleFilter(e, index)); + } + document.documentElement.addEventListener('click', clearSearchResults); + } + + // disable the search input until the index is loaded + enableSearchInput(false); + + exports.initSearch = initSearch; + + Object.defineProperty(exports, '__esModule', { value: true }); + +})); diff --git a/_/js/site.js b/_/js/site.js new file mode 100644 index 0000000..e72dab7 --- /dev/null +++ b/_/js/site.js @@ -0,0 +1,6 @@ +!function(){"use strict";var e,o,s,r=/^sect(\d)$/,i=document.querySelector(".nav-container"),a=document.querySelector(".nav-toggle"),c=i.querySelector(".nav"),t=i.querySelector(".nav-menu-toggle"),l=(a.addEventListener("click",function(e){if(a.classList.contains("is-active"))return v(e);m(e);var e=document.documentElement,t=(e.classList.add("is-clipped--nav"),a.classList.add("is-active"),i.classList.add("is-active"),c.getBoundingClientRect()),n=window.innerHeight-Math.round(t.top);Math.round(t.height)!==n&&(c.style.height=n+"px");e.addEventListener("click",v)}),i.addEventListener("click",m),i.querySelector("[data-panel=menu]"));function n(){var e,t,n=window.location.hash;if(n&&(n.indexOf("%")&&(n=decodeURIComponent(n)),!(e=l.querySelector('.nav-link[href="'+n+'"]')))){n=document.getElementById(n.slice(1));if(n)for(var i=n,a=document.querySelector("article.doc");(i=i.parentNode)&&i!==a;){var c=i.id;if((c=c||(c=r.test(i.className))&&(i.firstElementChild||{}).id)&&(e=l.querySelector('.nav-link[href="#'+c+'"]')))break}}if(e)t=e.parentNode;else{if(!s)return;e=(t=s).querySelector(".nav-link")}t!==o&&(g(l,".nav-item.is-active").forEach(function(e){e.classList.remove("is-active","is-current-path","is-current-page")}),t.classList.add("is-current-page"),d(o=t),p(l,e))}function d(e){for(var t,n=e.parentNode;!(t=n.classList).contains("nav-menu");)"LI"===n.tagName&&t.contains("nav-item")&&t.add("is-active","is-current-path"),n=n.parentNode;e.classList.add("is-active")}function u(){var e,t,n,i;this.classList.toggle("is-active")&&(e=parseFloat(window.getComputedStyle(this).marginTop),t=this.getBoundingClientRect(),n=l.getBoundingClientRect(),0<(i=(t.bottom-n.top-n.height+e).toFixed()))&&(l.scrollTop+=Math.min((t.top-n.top-e).toFixed(),i))}function v(e){m(e);e=document.documentElement;e.classList.remove("is-clipped--nav"),a.classList.remove("is-active"),i.classList.remove("is-active"),e.removeEventListener("click",v)}function m(e){e.stopPropagation()}function p(e,t){var n=e.getBoundingClientRect(),i=n.height,a=window.getComputedStyle(c);"sticky"===a.position&&(i-=n.top-parseFloat(a.top)),e.scrollTop=Math.max(0,.5*(t.getBoundingClientRect().height-i)+t.offsetTop)}function g(e,t){return[].slice.call(e.querySelectorAll(t))}l&&(e=i.querySelector("[data-panel=explore]"),o=l.querySelector(".is-current-page"),(s=o)?(d(o),p(l,o.querySelector(".nav-link"))):l.scrollTop=0,g(l,".nav-item-toggle").forEach(function(e){var t=e.parentElement,e=(e.addEventListener("click",u.bind(t)),function(e,t){e=e.nextElementSibling;return(!e||!t||e[e.matches?"matches":"msMatchesSelector"](t))&&e}(e,".nav-text"));e&&(e.style.cursor="pointer",e.addEventListener("click",u.bind(t)))}),t&&l.querySelector(".nav-item-toggle")&&(t.style.display="",t.addEventListener("click",function(){var t=!this.classList.toggle("is-active");g(l,".nav-item > .nav-item-toggle").forEach(function(e){t?e.parentElement.classList.remove("is-active"):e.parentElement.classList.add("is-active")}),o?(t&&d(o),p(l,o.querySelector(".nav-link"))):l.scrollTop=0})),e&&e.querySelector(".context").addEventListener("click",function(){g(c,"[data-panel]").forEach(function(e){e.classList.toggle("is-active")})}),l.addEventListener("mousedown",function(e){1":"")+".sect"+a);r.push("h"+(i+1)+"[id]")}else r.push("h1[id].sect0");n.push(r.join(">"))}m=n.join(","),f=d.parentNode;var c,s=[].slice.call((f||document).querySelectorAll(m));if(!s.length)return e.parentNode.removeChild(e);var l={},u=s.reduce(function(e,t){var o=document.createElement("a"),n=(o.textContent=t.textContent,l[o.href="#"+t.id]=o,document.createElement("li"));return n.dataset.level=parseInt(t.nodeName.slice(1),10)-1,n.appendChild(o),e.appendChild(n),e},document.createElement("ul")),f=e.querySelector(".toc-menu"),m=(f||((f=document.createElement("div")).className="toc-menu"),document.createElement("h3")),e=(m.textContent=e.dataset.title||"Contents",f.appendChild(m),f.appendChild(u),!document.getElementById("toc")&&d.querySelector("h1.page ~ :not(.is-before-toc)"));e&&((m=document.createElement("aside")).className="toc embedded",m.appendChild(f.cloneNode(!0)),e.parentNode.insertBefore(m,e)),window.addEventListener("load",function(){p(),window.addEventListener("scroll",p)})}}}function p(){var n,i,t,e=window.pageYOffset,o=1.15*h(document.documentElement,"fontSize"),r=d.offsetTop;e&&window.innerHeight+e+2>=document.documentElement.scrollHeight?(c=Array.isArray(c)?c:Array(c||0),n=[],i=s.length-1,s.forEach(function(e,t){var o="#"+e.id;t===i||e.getBoundingClientRect().top+h(e,"paddingTop")>r?(n.push(o),c.indexOf(o)<0&&l[o].classList.add("is-active")):~c.indexOf(o)&&l[c.shift()].classList.remove("is-active")}),u.scrollTop=u.scrollHeight-u.offsetHeight,c=1r)return!0;t="#"+e.id}),t?t!==c&&(c&&l[c].classList.remove("is-active"),(e=l[t]).classList.add("is-active"),u.scrollHeight>u.offsetHeight&&(u.scrollTop=Math.max(0,e.offsetTop+e.offsetHeight-u.offsetHeight)),c=t):c&&(l[c].classList.remove("is-active"),c=void 0))}function h(e,t){return parseFloat(window.getComputedStyle(e)[t])}}(); +!function(){"use strict";var n,o,i=document.querySelector("article.doc");function c(e){return e&&(~e.indexOf("%")?decodeURIComponent(e):e).slice(1)}function r(e){if(e){if(e.altKey||e.ctrlKey)return;window.location.hash="#"+this.id,e.preventDefault()}var t=function e(t,n){return i.contains(t)?e(t.offsetParent,t.offsetTop+n):n}(this,0)-n.getBoundingClientRect().bottom;!1===e&&o?window.scrollTo({left:0,top:t,behavior:"instant"}):window.scrollTo(0,t)}i&&(n=document.querySelector(".toolbar"),o="scrollTo"in document.documentElement,window.addEventListener("load",function e(t){var n;(n=c(window.location.hash))&&(n=document.getElementById(n))&&(r.call(n,!1),setTimeout(r.bind(n,!1),250)),window.removeEventListener("load",e)}),Array.prototype.slice.call(document.querySelectorAll('a[href^="#"]')).forEach(function(e){var t;(t=c(e.hash))&&(t=document.getElementById(t))&&e.addEventListener("click",r.bind(t))}))}(); +!function(){"use strict";var t,e=document.querySelector(".page-versions .version-menu-toggle");e&&(t=document.querySelector(".page-versions"),e.addEventListener("click",function(e){t.classList.toggle("is-active"),e.stopPropagation()}),document.documentElement.addEventListener("click",function(){t.classList.remove("is-active")}))}(); +!function(){"use strict";var i=document.querySelector(".navbar-burger");i&&i.addEventListener("click",function(t){t.stopPropagation(),document.documentElement.classList.toggle("is-clipped--navbar"),i.setAttribute("aria-expanded",this.classList.toggle("is-active"));t=document.getElementById(this.getAttribute("aria-controls")||this.dataset.target);{var e;t.classList.toggle("is-active")&&(t.style.maxHeight="",e=window.innerHeight-Math.round(t.getBoundingClientRect().top),parseInt(window.getComputedStyle(t).maxHeight,10)!==e)&&(t.style.maxHeight=e+"px")}}.bind(i))}(); +!function(){"use strict";var o=/^\$ (\S[^\\\n]*(\\\n(?!\$ )[^\\\n]*)*)(?=\n|$)/gm,s=/( ) *\\\n *|\\\n( ?) */g,l=/ +$/gm,e=(document.getElementById("site-script")||{dataset:{}}).dataset,d=window.navigator.clipboard,r=e.svgAs,p=(null==e.uiRootPath?window:e).uiRootPath||".";[].slice.call(document.querySelectorAll(".doc pre.highlight, .doc .literalblock pre")).forEach(function(e){var t,n,a,c;if(e.classList.contains("highlight"))(i=(t=e.querySelector("code")).dataset.lang)&&"console"!==i&&((a=document.createElement("span")).className="source-lang",a.appendChild(document.createTextNode(i)));else{if(!e.innerText.startsWith("$ "))return;var i=e.parentNode.parentNode;i.classList.remove("literalblock"),i.classList.add("listingblock"),e.classList.add("highlightjs","highlight"),(t=document.createElement("code")).className="language-console hljs",t.dataset.lang="console",t.appendChild(e.firstChild),e.appendChild(t)}(i=document.createElement("div")).className="source-toolbox",a&&i.appendChild(a),d&&((n=document.createElement("button")).className="copy-button",n.setAttribute("title","Copy to clipboard"),"svg"===r?((a=document.createElementNS("http://www.w3.org/2000/svg","svg")).setAttribute("class","copy-icon"),(c=document.createElementNS("http://www.w3.org/2000/svg","use")).setAttribute("href",p+"/img/octicons-16.svg#icon-clippy"),a.appendChild(c),n.appendChild(a)):((c=document.createElement("img")).src=p+"/img/octicons-16.svg#view-clippy",c.alt="copy icon",c.className="copy-icon",n.appendChild(c)),(a=document.createElement("span")).className="copy-toast",a.appendChild(document.createTextNode("Copied!")),n.appendChild(a),i.appendChild(n)),e.parentNode.appendChild(i),n&&n.addEventListener("click",function(e){var t=e.innerText.replace(l,"");"console"===e.dataset.lang&&t.startsWith("$ ")&&(t=function(e){var t,n=[];for(;t=o.exec(e);)n.push(t[1].replace(s,"$1$2"));return n.join(" && ")}(t));window.navigator.clipboard.writeText(t).then(function(){this.classList.add("clicked"),this.offsetHeight,this.classList.remove("clicked")}.bind(this),function(){})}.bind(n,t))})}(); \ No newline at end of file diff --git a/_/js/vendor/highlight.js b/_/js/vendor/highlight.js new file mode 100644 index 0000000..2fad221 --- /dev/null +++ b/_/js/vendor/highlight.js @@ -0,0 +1 @@ +!function(){class L{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function c(e,...n){const t=Object.create(null);for(const a in e)t[a]=e[a];return n.forEach(function(e){for(const n in e)t[n]=e[n]}),t}const t=e=>!!e.scope,D=(e,{prefix:n})=>{var t;return e.startsWith("language:")?e.replace("language:","language-"):e.includes(".")?[""+n+(t=e.split(".")).shift(),...t.map((e,n)=>""+e+"_".repeat(n+1))].join(" "):""+n+e};class I{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=n(e)}openNode(e){t(e)&&(e=D(e.scope,{prefix:this.classPrefix}),this.span(e))}closeNode(e){t(e)&&(this.buffer+="")}value(){return this.buffer}span(e){this.buffer+=``}}const a=(e={})=>{var n={children:[]};return Object.assign(n,e),n};class z{constructor(){this.rootNode=a(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){e=a({scope:e});this.add(e),this.stack.push(e)}closeNode(){if(1this._walk(n,e)),n.closeNode(e)),n}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every(e=>"string"==typeof e)?e.children=[e.children.join("")]:e.children.forEach(e=>{z._collapse(e)}))}}class F extends z{constructor(e){super(),this.options=e}addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,n){e=e.root;n&&(e.scope="language:"+n),this.add(e)}toHTML(){return new I(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function l(e){return e?"string"==typeof e?e:e.source:null}function j(e){return b("(?=",e,")")}function U(e){return b("(?:",e,")*")}function P(e){return b("(?:",e,")?")}function b(...e){return e.map(e=>l(e)).join("")}function m(...e){var n,t="object"==typeof(n=(t=e)[t.length-1])&&n.constructor===Object?(t.splice(t.length-1,1),n):{};return"("+(t.capture?"":"?:")+e.map(e=>l(e)).join("|")+")"}function K(e){return new RegExp(e.toString()+"|").exec("").length-1}const q=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function i(e,{joinWith:n}){let r=0;return e.map(e=>{var n=r+=1;let t=l(e),a="";for(;0`(${e})`).join(n)}function e(e,n,t={}){return(e=c({scope:"comment",begin:e,end:n,contains:[]},t)).contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0}),n=m("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/),e.contains.push({begin:b(/[ ]+/,"(",n,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),e}var H="[a-zA-Z]\\w*",r="[a-zA-Z_]\\w*",s="\\b\\d+(\\.\\d+)?",o="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",d="\\b(0b[01]+)",g={begin:"\\\\[\\s\\S]",relevance:0},u={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[g]},p={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[g]},_=e("//","$"),h=e("/\\*","\\*/"),f=e("#","$"),E=Object.freeze({__proto__:null,APOS_STRING_MODE:u,BACKSLASH_ESCAPE:g,BINARY_NUMBER_MODE:{scope:"number",begin:d,relevance:0},BINARY_NUMBER_RE:d,COMMENT:e,C_BLOCK_COMMENT_MODE:h,C_LINE_COMMENT_MODE:_,C_NUMBER_MODE:{scope:"number",begin:o,relevance:0},C_NUMBER_RE:o,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,n)=>{n.data._beginMatch=e[1]},"on:end":(e,n)=>{n.data._beginMatch!==e[1]&&n.ignoreMatch()}})},HASH_COMMENT_MODE:f,IDENT_RE:H,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:{begin:"\\.\\s*"+r,relevance:0},NUMBER_MODE:{scope:"number",begin:s,relevance:0},NUMBER_RE:s,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},QUOTE_STRING_MODE:p,REGEXP_MODE:{scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[g,{begin:/\[/,end:/\]/,relevance:0,contains:[g]}]},RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{var n=/^#![ ]*\//;return e.binary&&(e.begin=b(n,/.*\b/,e.binary,/\b.*/)),c({scope:"meta",begin:n,end:/$/,relevance:0,"on:begin":(e,n)=>{0!==e.index&&n.ignoreMatch()}},e)},TITLE_MODE:{scope:"title",begin:H,relevance:0},UNDERSCORE_IDENT_RE:r,UNDERSCORE_TITLE_MODE:{scope:"title",begin:r,relevance:0}});function Z(e,n){"."===e.input[e.index-1]&&n.ignoreMatch()}function G(e,n){void 0!==e.className&&(e.scope=e.className,delete e.className)}function W(e,n){n&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Z,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance)&&(e.relevance=0)}function Q(e,n){Array.isArray(e.illegal)&&(e.illegal=m(...e.illegal))}function X(e,n){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function V(e,n){void 0===e.relevance&&(e.relevance=1)}const J=(n,e)=>{if(n.beforeMatch){if(n.starts)throw new Error("beforeMatch cannot be used with starts");var t=Object.assign({},n);Object.keys(n).forEach(e=>{delete n[e]}),n.keywords=t.keywords,n.begin=b(t.beforeMatch,j(t.begin)),n.starts={relevance:0,contains:[Object.assign(t,{endsParent:!0})]},n.relevance=0,delete t.beforeMatch}},Y=["of","and","for","in","not","or","if","then","parent","list","value"],ee="keyword";function ne(n,t,e=ee){const a=Object.create(null);return"string"==typeof n?i(e,n.split(" ")):Array.isArray(n)?i(e,n):Object.keys(n).forEach(function(e){Object.assign(a,ne(n[e],t,e))}),a;function i(n,e){(e=t?e.map(e=>e.toLowerCase()):e).forEach(function(e){e=e.split("|");a[e[0]]=[n,function(e,n){if(n)return Number(n);return function(e){return Y.includes(e.toLowerCase())}(e)?0:1}(e[0],e[1])]})}}const te={},B=e=>{console.error(e)},ae=(e,...n)=>{console.log("WARN: "+e,...n)},y=(e,n)=>{te[e+"/"+n]||(console.log(`Deprecated as of ${e}. `+n),te[e+"/"+n]=!0)},v=new Error;function ie(e,n,{key:t}){let a=0;var i=e[t],r={},s={};for(let e=1;e<=n.length;e++)s[e+a]=i[e],r[e+a]=!0,a+=K(n[e-1]);e[t]=s,e[t]._emit=r,e[t]._multi=!0}function re(e){(n=e).scope&&"object"==typeof n.scope&&null!==n.scope&&(n.beginScope=n.scope,delete n.scope),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope});var n=e;if(Array.isArray(n.begin)){if(n.skip||n.excludeBegin||n.returnBegin)throw B("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),v;if("object"!=typeof n.beginScope||null===n.beginScope)throw B("beginScope must be object"),v;ie(n,n.begin,{key:"beginScope"}),n.begin=i(n.begin,{joinWith:""})}n=e;if(Array.isArray(n.end)){if(n.skip||n.excludeEnd||n.returnEnd)throw B("skip, excludeEnd, returnEnd not compatible with endScope: {}"),v;if("object"!=typeof n.endScope||null===n.endScope)throw B("endScope must be object"),v;ie(n,n.end,{key:"endScope"}),n.end=i(n.end,{joinWith:""})}}function se(r){function s(e,n){return new RegExp(l(e),"m"+(r.case_insensitive?"i":"")+(r.unicodeRegex?"u":"")+(n?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,n){n.position=this.position++,this.matchIndexes[this.matchAt]=n,this.regexes.push([n,e]),this.matchAt+=K(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);var e=this.regexes.map(e=>e[1]);this.matcherRe=s(i(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;var n,t,e=this.matcherRe.exec(e);return e?(n=e.findIndex((e,n)=>0t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,n){this.rules.push([e,n]),"begin"===n.type&&this.count++}exec(e){var n=this.getMatcher(this.regexIndex);n.lastIndex=this.lastIndex;let t=n.exec(e);return!this.resumingScanAtSamePosition()||t&&t.index===this.lastIndex||((n=this.getMatcher(0)).lastIndex=this.lastIndex+1,t=n.exec(e)),t&&(this.regexIndex+=t.position+1,this.regexIndex===this.count)&&this.considerAll(),t}}if(r.compilerExtensions||(r.compilerExtensions=[]),r.contains&&r.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return r.classNameAliases=c(r.classNameAliases||{}),function n(t,a){const i=t;if(!t.isCompiled){[G,X,re,J].forEach(e=>e(t,a)),r.compilerExtensions.forEach(e=>e(t,a)),t.__beforeBegin=null,[W,Q,V].forEach(e=>e(t,a)),t.isCompiled=!0;let e=null;"object"==typeof t.keywords&&t.keywords.$pattern&&(t.keywords=Object.assign({},t.keywords),e=t.keywords.$pattern,delete t.keywords.$pattern),e=e||/\w+/,t.keywords&&(t.keywords=ne(t.keywords,r.case_insensitive)),i.keywordPatternRe=s(e,!0),a&&(t.begin||(t.begin=/\B|\b/),i.beginRe=s(i.begin),t.end||t.endsWithParent||(t.end=/\B|\b/),t.end&&(i.endRe=s(i.end)),i.terminatorEnd=l(i.end)||"",t.endsWithParent)&&a.terminatorEnd&&(i.terminatorEnd+=(t.end?"|":"")+a.terminatorEnd),t.illegal&&(i.illegalRe=s(t.illegal)),t.contains||(t.contains=[]),t.contains=[].concat(...t.contains.map(function(e){var n="self"===e?t:e;return n.variants&&!n.cachedVariants&&(n.cachedVariants=n.variants.map(function(e){return c(n,{variants:null},e)})),n.cachedVariants||(function e(n){return!!n&&(n.endsWithParent||e(n.starts))}(n)?c(n,{starts:n.starts?c(n.starts):null}):Object.isFrozen(n)?c(n):n)})),t.contains.forEach(function(e){n(e,i)}),t.starts&&n(t.starts,a),i.matcher=function(e){const n=new o;return e.contains.forEach(e=>n.addRule(e.begin,{rule:e,type:"begin"})),e.terminatorEnd&&n.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&n.addRule(e.illegal,{type:"illegal"}),n}(i)}return i}(r)}class oe extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}function ce(a){const S=Object.create(null),s=Object.create(null),i=[];let A=!0;const C="Could not find the language '{}', did you forget to load/include a language module?",r={disableAutodetect:!0,name:"Plain text",contains:[]};let T={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:F};function o(e){return T.noHighlightRe.test(e)}function c(e,n,t){let a="",i="";"object"==typeof n?(a=e,t=n.ignoreIllegals,i=n.language):(y("10.7.0","highlight(lang, code, ...args) has been deprecated."),y("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),i=e,a=n),void 0===t&&(t=!0);e={code:a,language:i},g("before:highlight",e),n=e.result||R(e.language,e.code,t);return n.code=e.code,g("after:highlight",n),n}function R(a,i,r,e){const s=Object.create(null);function o(){if(h.keywords){let e=0,n=(h.keywordPatternRe.lastIndex=0,h.keywordPatternRe.exec(v)),t="";for(;n;){t+=v.substring(e,n.index);var a,i=p.case_insensitive?n[0].toLowerCase():n[0],r=h.keywords[i];!r||([r,a]=r,E.addText(t),t="",s[i]=(s[i]||0)+1,s[i]<=7&&(w+=a),r.startsWith("_"))?t+=n[0]:(i=p.classNameAliases[r]||r,l(n[0],i)),e=h.keywordPatternRe.lastIndex,n=h.keywordPatternRe.exec(v)}t+=v.substring(e),E.addText(t)}else E.addText(v)}function c(){(null!=h.subLanguage?function(){if(""!==v){let e=null;if("string"==typeof h.subLanguage){if(!S[h.subLanguage])return E.addText(v);e=R(h.subLanguage,v,!0,f[h.subLanguage]),f[h.subLanguage]=e._top}else e=D(v,h.subLanguage.length?h.subLanguage:null);0")+'"')).mode=h,e;if("end"===n.type){e=b(n);if(e!==de)return e}if("illegal"===n.type&&""===t)return 1;if(1e53*n.index)throw new Error("potential infinite loop, way more iterations than matches");return v+=t,t.length}const p=I(a);if(!p)throw B(C.replace("{}",a)),new Error('Unknown language: "'+a+'"');var t=se(p);let _="",h=e||t;const f={},E=new T.__emitter(T);var y=[];for(let e=h;e!==p;e=e.parent)e.scope&&y.unshift(e.scope);y.forEach(e=>E.openNode(e));let v="",w=0,N=0,k=0,x=!1;try{if(p.__emitTokens)p.__emitTokens(i,E);else{for(h.matcher.considerAll();;){k++,x?x=!1:h.matcher.considerAll(),h.matcher.lastIndex=N;var O=h.matcher.exec(i);if(!O)break;var M=n(i.substring(N,O.index),O);N=O.index+M}n(i.substring(N))}return E.finalize(),_=E.toHTML(),{language:a,value:_,relevance:w,illegal:!1,_emitter:E,_top:h}}catch(e){if(e.message&&e.message.includes("Illegal"))return{language:a,value:$(i),illegal:!0,relevance:0,_illegalBy:{message:e.message,index:N,context:i.slice(N-100,N+100),mode:e.mode,resultSoFar:_},_emitter:E};if(A)return{language:a,value:$(i),illegal:!1,relevance:0,errorRaised:e,_emitter:E,_top:h};throw e}}function D(n,e){e=e||T.languages||Object.keys(S);t=n,(a={value:$(t),illegal:!1,relevance:0,_top:r,_emitter:new T.__emitter(T)})._emitter.addText(t);var t=a,a=e.filter(I).filter(d).map(e=>R(e,n,!1)),e=(a.unshift(t),a.sort((e,n)=>{if(e.relevance!==n.relevance)return n.relevance-e.relevance;if(e.language&&n.language){if(I(e.language).supersetOf===n.language)return 1;if(I(n.language).supersetOf===e.language)return-1}return 0})),[t,a]=e,e=t;return e.secondBest=a,e}function n(e){t=(n=e).className+" ",t+=n.parentNode?n.parentNode.className:"";var n=(r=T.languageDetectRe.exec(t))?((i=I(r[1]))||(ae(C.replace("{}",r[1])),ae("Falling back to no-highlight mode for this block.",n)),i?r[1]:"no-highlight"):t.split(/\s+/).find(e=>o(e)||I(e));if(!o(n))if(g("before:highlightElement",{el:e,language:n}),e.dataset.highlighted)console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);else{if(0{s[e.toLowerCase()]=n})}function d(e){e=I(e);return e&&!e.disableAutodetect}function g(e,n){const t=e;i.forEach(function(e){e[t]&&e[t](n)})}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function(){e&&t()},!1),Object.assign(a,{highlight:c,highlightAuto:D,highlightAll:t,highlightElement:n,highlightBlock:function(e){return y("10.7.0","highlightBlock will be removed entirely in v12.0"),y("10.7.0","Please use highlightElement now."),n(e)},configure:function(e){T=le(T,e)},initHighlighting:()=>{t(),y("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function(){t(),y("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function(n,e){let t=null;try{t=e(a)}catch(e){if(B("Language definition for '{}' could not be registered.".replace("{}",n)),!A)throw e;B(e),t=r}t.name||(t.name=n),(S[n]=t).rawDefinition=e.bind(null,a),t.aliases&&l(t.aliases,{languageName:n})},unregisterLanguage:function(e){delete S[e];for(const n of Object.keys(s))s[n]===e&&delete s[n]},listLanguages:function(){return Object.keys(S)},getLanguage:I,registerAliases:l,autoDetection:d,inherit:le,addPlugin:function(e){var n;(n=e)["before:highlightBlock"]&&!n["before:highlightElement"]&&(n["before:highlightElement"]=e=>{n["before:highlightBlock"](Object.assign({block:e.el},e))}),n["after:highlightBlock"]&&!n["after:highlightElement"]&&(n["after:highlightElement"]=e=>{n["after:highlightBlock"](Object.assign({block:e.el},e))}),i.push(e)},removePlugin:function(e){-1!==(e=i.indexOf(e))&&i.splice(e,1)}}),a.debugMode=function(){A=!1},a.safeMode=function(){A=!0},a.versionString="11.9.0",a.regex={concat:b,lookahead:j,either:m,optional:P,anyNumberOfTimes:U};for(const u in E)"object"==typeof E[u]&&!function t(a){a instanceof Map?a.clear=a.delete=a.set=function(){throw new Error("map is read-only")}:a instanceof Set&&(a.add=a.clear=a.delete=function(){throw new Error("set is read-only")}),Object.freeze(a),Object.getOwnPropertyNames(a).forEach(e=>{var n=typeof(e=a[e]);"object"!=n&&"function"!=n||Object.isFrozen(e)||t(e)})}(E[u]);return Object.assign(a,E),a}const $=n,le=c,de=Symbol("nomatch");var u=ce({}),w=(u.newInstance=()=>ce({}),u);(u.HighlightJS=u).default=u;function ge(e){var n=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:(t=e.regex).concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],t=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:t.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}];return{name:"AsciiDoc",aliases:["adoc"],contains:[e.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),e.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ \t].+?([ \t]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},{className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"},{className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/},...n,...t,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},{begin:"^'{3,}[ \\t]*$",relevance:10},{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}function ue(e){var n=e.regex,t={},a={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[t]}]},n=(Object.assign(t,{className:"variable",variants:[{begin:n.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},a]}),{className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}),a={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},i={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t,n]},n=(n.contains.push(i),{begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,t]}),r=e.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),s={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],literal:["true","false"],built_in:["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset","alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias","set","shopt","autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp","chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"]},contains:[r,e.SHEBANG(),s,n,e.HASH_COMMENT_MODE,a,{match:/(\/[a-z._-]+)+/},i,{match:/\\"/},{className:"string",begin:/'/,end:/'/},{match:/\\'/},t]}}function be(e){var n="a-zA-Z_\\-!.?+*=<>&'",t={$pattern:n="[#]?["+n+"]["+n+"0-9/;:$#]*",built_in:(m="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord")+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},a={begin:n,relevance:0},i={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},r={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},s={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},o=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),c={scope:"punctuation",match:/,/,relevance:0},e=e.COMMENT(";","$",{relevance:0}),l={className:"literal",begin:/\b(true|false|nil)\b/},d={begin:"\\[|(#::?"+n+")?\\{",end:"[\\]\\}]",relevance:0},g={className:"symbol",begin:"[:]{1,2}"+n},u={begin:"\\(",end:"\\)"},b={endsWithParent:!0,relevance:0},t={keywords:t,className:"name",begin:n,relevance:0,starts:b},m={beginKeywords:m,keywords:{$pattern:n,keyword:m},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:n,relevance:0,excludeEnd:!0,endsParent:!0}].concat(a=[c,u,r,s,o,e,g,d,i,l,a])};return u.contains=[m,t,b],b.contains=a,d.contains=a,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[c,u,r,s,o,e,g,d,i,l]}}function me(e){var n=e.regex,t=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",r="(?!struct)("+a+"|"+n.optional(i)+"[a-zA-Z_]\\w*"+n.optional("<[^<>]+>")+")",s={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},o={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},c={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(o,{className:"string"}),{className:"string",begin:/<.*?>/},t,e.C_BLOCK_COMMENT_MODE]},d={className:"title",begin:n.optional(i)+e.IDENT_RE,relevance:0},i=n.optional(i)+e.IDENT_RE+"\\s*\\(",g={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},u=[n={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:n.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,n.lookahead(/(<[^<>]+>|)\s*\(/))},l,s,t,e.C_BLOCK_COMMENT_MODE,c,o],b={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:g,contains:u.concat([{begin:/\(/,end:/\)/,keywords:g,contains:u.concat(["self"]),relevance:0}]),relevance:0},r={className:"function",begin:"("+r+"[\\*&\\s]+)+"+i,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:g,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:g,relevance:0},{begin:i,returnBegin:!0,contains:[d],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[o,c]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[t,e.C_BLOCK_COMMENT_MODE,o,c,s,{begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:["self",t,e.C_BLOCK_COMMENT_MODE,o,c,s]}]},s,t,e.C_BLOCK_COMMENT_MODE,l]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:g,illegal:"",keywords:g,contains:["self",s]},{begin:e.IDENT_RE+"::",keywords:g},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function pe(e){var n={keyword:["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"]),built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],literal:["default","false","null","true"]},t=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),a={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},i={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},r=e.inherit(i,{illegal:/\n/}),s={className:"subst",begin:/\{/,end:/\}/,keywords:n},o=e.inherit(s,{illegal:/\n/}),c={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,o]},l={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},s]},d=e.inherit(l,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},o]}),s=(s.contains=[l,c,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_BLOCK_COMMENT_MODE],o.contains=[d,c,r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})],{variants:[l,c,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}),o={begin:"<",end:">",contains:[{beginKeywords:"in out"},t]},d=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",r={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:n,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},s,a,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},t,o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[t,o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+d+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:n,contains:[{beginKeywords:["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"].join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,o],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,relevance:0,contains:[s,a,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},r]}}const _e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],he=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],fe=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],Ee=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],ye=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function ve(e){var n=e.regex,t={IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}},e=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[t.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},t.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+fe.join("|")+")"},{begin:":(:)?("+Ee.join("|")+")"}]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+ye.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[t.BLOCK_COMMENT,t.HEXCOLOR,t.IMPORTANT,t.CSS_NUMBER_MODE,...e,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...e,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},t.FUNCTION_DISPATCH]},{begin:n.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:he.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...e,t.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+_e.join("|")+")\\b"}]}}function we(e){return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:(e=e.regex).either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:e.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}function Ne(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"({scope:"char.escape",begin:t.concat(/\\/,e),relevance:0});var o={className:"string",begin:"~[a-z](?="+(l="[/|([{<\"']")+")",contains:(d=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}]).map(e=>n.inherit(e,{contains:[s(e.end),r,i]}))},c={className:"string",begin:"~[A-Z](?="+l+")",contains:d.map(e=>n.inherit(e,{contains:[s(e.end)]}))},l={className:"regex",variants:[{begin:"~r(?="+l+")",contains:d.map(e=>n.inherit(e,{end:t.concat(e.end,/[uismxfU]{0,7}/),contains:[s(e.end),r,i]}))},{begin:"~R(?="+l+")",contains:d.map(e=>n.inherit(e,{end:t.concat(e.end,/[uismxfU]{0,7}/),contains:[s(e.end)]}))}]},d={className:"string",contains:[n.BACKSLASH_ESCAPE,i],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},g={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[n.inherit(n.TITLE_MODE,{begin:e,endsParent:!0})]},u=n.inherit(g,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),l=[d,l,c,o,n.HASH_COMMENT_MODE,u,g,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[d,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"}],relevance:0},{className:"symbol",begin:e+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},{className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return{name:"Elixir",aliases:["ex","exs"],keywords:a,contains:i.contains=l}}function xe(e){var n={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:n,illegal:"?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",i={variants:[e.COMMENT("--+","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},r={className:"meta",begin:/\{-#/,end:/#-\}/},s={className:"meta",begin:"^#",end:"$"},o={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},c={begin:"\\(",end:"\\)",illegal:'"',contains:[r,s,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),i]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[c,i],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[c,i],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[o,c,i]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[r,o,c,{begin:/\{/,end:/\}/,contains:c.contains},i]},{beginKeywords:"default",end:"$",contains:[o,c,i]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,i]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[o,e.QUOTE_STRING_MODE,i]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},r,s,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},e.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{match:`\\b(${n})(\\.(${n}))?`+`([eE][+-]?(${n}))?\\b`},{match:`\\b0[xX]_*(${t})(\\.(${t}))?`+`([pP][+-]?(${n}))?\\b`},{match:"\\b0[oO](([0-7]_*)+)\\b"},{match:"\\b0[bB](([01]_*)+)\\b"}]},o,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${a}--+|--+(?!-)`+a},i,{begin:"->|<-"}]}}var d="[0-9](_*[0-9])*",h=`\\.(${d})`,_="[0-9a-fA-F](_*[0-9a-fA-F])*",Se={className:"number",variants:[{begin:`(\\b(${d})((${h})|\\.)?|(${h}))`+`[eE][+-]?(${d})[fFdD]?\\b`},{begin:`\\b(${d})((${h})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${h})[fFdD]?\\b`},{begin:`\\b(${d})[fFdD]\\b`},{begin:`\\b0[xX]((${_})\\.?|(${_})?\\.(${_}))`+`[pP][+-]?(${d})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${_})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function Ae(e){var n=e.regex,t="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",a=t+function n(t,a,i){return-1===i?"":t.replace(a,e=>n(t,a,i-1))}("(?:<"+t+"~~~(?:\\s*,\\s*"+t+"~~~)*>)?",/~~~/g,2),i={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},r={className:"meta",begin:"@"+t,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},s={className:"params",begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:i,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,t],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[n.concat(/(?!else)/,t),/\s+/,t,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,t],className:{1:"keyword",3:"title.class"},contains:[s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+a+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:i,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,Se,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},Se,r]}}const Ce="[A-Za-z$_][0-9A-Za-z$_]*",Te=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Re=["true","false","null","undefined","NaN","Infinity"],De=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Ie=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Le=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Be=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],$e=[].concat(Le,De,Ie);function ze(e){const n=e.regex;var t=Ce;const a="<>",i="",r=/<[A-Za-z0-9\\._:-]+/,s=/\/[A-Za-z0-9\\._:-]+>|\/>/,o=(e,n)=>{var t,a,i=e[0].length+e.index,r=e.input[i];("<"===r||","===r||(">"===r&&([r,t]=[e,{after:i}["after"]],a="",k={match:[/const|var|let/,/\s+/,t,/\s*/,/=\s*/,/(async\s*)?/,n.lookahead(N)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[_]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:c,exports:{PARAMS_CONTAINS:d,CLASS_REFERENCE:f},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,u,b,m,p,{match:/\$\d+/},l,f,{className:"attr",begin:t+n.lookahead(":"),relevance:0},k,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[p,e.REGEXP_MODE,{className:"function",begin:N,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:d}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:a,end:i},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:r,"on:begin":o,end:s}],subLanguage:"xml",contains:[{begin:r,end:s,skip:!0,contains:["self"]}]}]},E,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[_,e.inherit(e.TITLE_MODE,{begin:t,className:"title.function"})]},{match:/\.\.\./,relevance:0},v,{match:"\\$"+t,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[_]},y,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},h,w,{match:/\$[(.]/}]}}function Fe(e){var n=["true","false","null"],t={scope:"literal",beginKeywords:n.join(" ")};return{name:"JSON",keywords:{literal:n},contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},e.QUOTE_STRING_MODE,t,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}var o="[0-9](_*[0-9])*",f=`\\.(${o})`,s="[0-9a-fA-F](_*[0-9a-fA-F])*",je={className:"number",variants:[{begin:`(\\b(${o})((${f})|\\.)?|(${f}))`+`[eE][+-]?(${o})[fFdD]?\\b`},{begin:`\\b(${o})((${f})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${f})[fFdD]?\\b`},{begin:`\\b(${o})[fFdD]\\b`},{begin:`\\b0[xX]((${s})\\.?|(${s})?\\.(${s}))`+`[pP][+-]?(${o})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${s})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function Ue(e){var n={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},t={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},a={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},i={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[i={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},a]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,i,a]}]},a=(a.contains.push(i),{className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"}),r={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(i,{className:"string"}),"self"]}]},s=je,o=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),c={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},l=c;return l.variants[1].contains=[c],c.variants[1].contains=[l],{name:"Kotlin",aliases:["kt","kts"],keywords:n,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,o,{className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},t,a,r,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:n,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:n,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[c,e.C_LINE_COMMENT_MODE,o],relevance:0},e.C_LINE_COMMENT_MODE,o,a,r,i,e.C_NUMBER_MODE]},o]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},a,r]},i,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},s]}}function Pe(e){var n="\\[=*\\[",t="\\]=*\\]",a={begin:n,end:t,contains:["self"]},i=[e.COMMENT("--(?!"+n+")","$"),e.COMMENT("--"+n,t,{contains:[a],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:n,end:t,contains:[a],relevance:5}])}}function Ke(e){var n={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},t={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:e.regex.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},a={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},i={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},r=e.inherit(a,{contains:[]}),e=e.inherit(i,{contains:[]});a.contains.push(e),i.contains.push(r);let s=[n,t];return[a,i,r,e].forEach(e=>{e.contains=e.contains.concat(s)}),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:s=s.concat(a,i)},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:s}]}]},n,{className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},a,i,{className:"quote",begin:"^>\\s+",contains:s,end:"$"},{className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},t,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]}]}}function qe(e){var n={keyword:["rec","with","let","in","inherit","assert","if","else","then"],literal:["true","false","or","and","null"],built_in:["import","abort","baseNameOf","dirOf","isNull","builtins","map","removeAttrs","throw","toString","derivation"]},t={className:"subst",begin:/\$\{/,end:/\}/,keywords:n},e=[e.NUMBER_MODE,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",contains:[{className:"char.escape",begin:/''\$/},t],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},{begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/,relevance:.2}]}];return{name:"Nix",aliases:["nixos"],keywords:n,contains:t.contains=e}}function He(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function Ze(e){var n=/[a-zA-Z@][a-zA-Z0-9_]*/,t={$pattern:n,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:{"variable.language":["this","super"],$pattern:n,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+t.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:t,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}function Ge(e){const i=e.regex,r=/[dualxmsipngr]{0,12}/;var n={$pattern:/[\w.]+/,keyword:["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"].join(" ")},t={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:n},a={begin:/->\{/,end:/\}/},s={variants:[{begin:/\$\d/},{begin:i.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},o=[e.BACKSLASH_ESCAPE,t,s],c=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],l=(e,n,t="\\1")=>{var a="\\1"===t?t:i.concat(t,n);return i.concat(i.concat("(?:",e,")"),n,/(?:\\.|[^\\\/])*?/,a,/(?:\\.|[^\\\/])*?/,t,r)},d=(e,n,t)=>i.concat(i.concat("(?:",e,")"),n,/(?:\\.|[^\\\/])*?/,t,r),s=[s,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:o,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:l("s|tr|y",i.either(...c,{capture:!0}))},{begin:l("s|tr|y","\\(","\\)")},{begin:l("s|tr|y","\\[","\\]")},{begin:l("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:d("(?:m|qr)?",/\//,/\//)},{begin:d("m|qr",i.either(...c,{capture:!0}),/\1/)},{begin:d("m|qr",/\(/,/\)/)},{begin:d("m|qr",/\[/,/\]/)},{begin:d("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return t.contains=s,{name:"Perl",aliases:["pl","pm"],keywords:n,contains:a.contains=s}}function We(e){var n=e.regex,t=/(?![A-Za-z0-9])(?![$])/,a=n.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,t),t=n.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,t),i={scope:"variable",match:"\\$+"+a},r={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},s=e.inherit(e.APOS_STRING_MODE,{illegal:null}),o="[ \t\n]",s={scope:"string",variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(r)}),s,{begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(r),"on:begin":(e,n)=>{n.data._beginMatch=e[1]||e[2]},"on:end":(e,n)=>{n.data._beginMatch!==e[1]&&n.ignoreMatch()}},e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/})]},r={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},c=["false","null","true"],l=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],d={keyword:_=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],literal:(e=>{const n=[];return e.forEach(e=>{n.push(e),e.toLowerCase()===e?n.push(e.toUpperCase()):n.push(e.toLowerCase())}),n})(c),built_in:l},g=e=>e.map(e=>e.replace(/\|\d+$/,"")),u={variants:[{match:[/new/,n.concat(o,"+"),n.concat("(?!",g(l).join("\\b|"),"\\b)"),t],scope:{1:"keyword",4:"title.class"}}]},b=n.concat(a,"\\b(?!\\()"),b={variants:[{match:[n.concat(/::/,n.lookahead(/(?!class\b)/)),b],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[t,n.concat(/::/,n.lookahead(/(?!class\b)/)),b],scope:{1:"title.class",3:"variable.constant"}},{match:[t,n.concat("::",n.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[t,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},m={scope:"attr",match:n.concat(a,n.lookahead(":"),n.lookahead(/(?!::)/))},p={relevance:0,begin:/\(/,end:/\)/,keywords:d,contains:[m,i,b,e.C_BLOCK_COMMENT_MODE,s,r,u]},_={relevance:0,match:[/\b/,n.concat("(?!fn\\b|function\\b|",g(_).join("\\b|"),"|",g(l).join("\\b|"),"\\b)"),a,n.concat(o,"*"),n.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[p]},g=(p.contains.push(_),[m,b,e.C_BLOCK_COMMENT_MODE,s,r,u]);return{case_insensitive:!1,keywords:d,contains:[{begin:n.concat(/#\[\s*/,t),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:c,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:c,keyword:["new","array"]},contains:["self",...g]},...g,{scope:"meta",match:t}]},e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},{scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},{scope:"variable.language",match:/\$this\b/},i,_,b,{match:[/const/,/\s/,a],scope:{1:"keyword",3:"variable.constant"}},u,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:d,contains:["self",i,b,e.C_BLOCK_COMMENT_MODE,s,r]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},s,r]}}function Qe(e){var n="[ \\t\\f]*",t=n+"[:=]"+n,a="[ \\t\\f]+",i="([^\\\\:= \\t\\f\\n]|\\\\.)+",r={end:"([ \\t\\f]*[:=][ \\t\\f]*|[ \\t\\f]+)",relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:i+t},{begin:i+a}],contains:[{className:"attr",begin:i,endsParent:!0}],starts:r},{className:"attr",begin:i+n+"$"}]}}function Xe(e){var n={match:[/(message|enum|service)\s+/,e.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:["package","import","option","optional","required","repeated","group","oneof"],type:["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],literal:["true","false"]},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}function Ve(e){var n=e.COMMENT("#","$"),t="([A-Za-z_]|::)(\\w|::)*",a=e.inherit(e.TITLE_MODE,{begin:t}),t={className:"variable",begin:"\\$"+t},i={className:"string",contains:[e.BACKSLASH_ESCAPE,t],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[n,t,i,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[a,n]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:e.IDENT_RE,endsParent:!0}]},{begin:e.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:e.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:{keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},relevance:0,contains:[i,n,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:e.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},t]}],relevance:0}]}}function Je(e){var n=e.regex,t=/[\p{XID_Start}_]\p{XID_Continue}*/u,a={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:c=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},i={className:"meta",begin:/^(>>>|\.\.\.) /},r={className:"subst",begin:/\{/,end:/\}/,keywords:a,illegal:/#/},s={begin:/\{\{/,relevance:0},s={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,i,s,r]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i,s,r]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,r]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,r]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},o=`(\\b(${l="[0-9](_?[0-9])*"}))?\\.(${l})|\\b(${l})\\.`,c="\\b|"+c.join("|"),o={className:"number",relevance:0,variants:[{begin:`(\\b(${l})|(${o}))[eE][+-]?(${l})[jJ]?(?=${c})`},{begin:`(${o})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${c})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${c})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${c})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${c})`},{begin:`\\b(${l})[jJ](?=${c})`}]},l={className:"comment",begin:n.lookahead(/# type:/),end:/$/,keywords:a,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},c={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:["self",i,o,s,e.HASH_COMMENT_MODE]}]};return r.contains=[s,o,i],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:a,illegal:/(<\/|\?)|=>/,contains:[i,o,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},s,l,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,t],scope:{1:"keyword",3:"title.function"},contains:[c]},{variants:[{match:[/\bclass/,/\s+/,t,/\s*/,/\(\s*/,t,/\s*\)/]},{match:[/\bclass/,/\s+/,t]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[o,c,s]}]}}function Ye(e){var n=e.regex,t="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",a=n.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=n.concat(a,/(::\w+)*/),r={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield","include","extend","prepend","public","private","protected","raise","throw"],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},s={className:"doctag",begin:"@[A-Za-z]+"},o={begin:"#<",end:">"},s=[e.COMMENT("#","$",{contains:[s]}),e.COMMENT("^=begin","^=end",{contains:[s],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],c={className:"subst",begin:/#\{/,end:/\}/,keywords:r},n={className:"string",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:n.concat(/<<[-~]?'?/,n.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,c]})]}]},l={className:"number",relevance:0,variants:[{begin:`\\b([1-9](_?[0-9])*|0)(\\.(${l="[0-9](_?[0-9])*"}))?([eE][+-]?(${l})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},d={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:r}]},i=[n,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:r},{match:[/(include|extend)\s+/,i],scope:{2:"title.class"},keywords:r},{relevance:0,match:[i,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:a,scope:"title.class"},{match:[/def/,/\s+/,t],scope:{1:"keyword",3:"title.function"},contains:[d]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[n,{begin:t}],relevance:0},l,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:r},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,c],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(o,s),relevance:0}].concat(o,s),a=(c.contains=i,[{begin:/^\s*=>/,starts:{end:"$",contains:d.contains=i}},{className:"meta.prompt",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",keywords:r,contains:i}}]);return s.unshift(o),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:r,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(a).concat(s).concat(i)}}function en(e){var n={className:"title.function.invoke",relevance:0,begin:(n=e.regex).concat(/\b/,/(?!let|for|while|if|else|match\b)/,e.IDENT_RE,n.lookahead(/\s*\(/))},t="([ui](8|16|32|64|128|size)|f(32|64))?",a=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],i=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:i,keyword:["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],literal:["true","false","Some","None","Ok","Err"],built_in:a},illegal:""},n]}}function nn(e){var n=e.regex,t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},t={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[t],relevance:10}]},a={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},i={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},r={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},i]},n={className:"function",beginKeywords:"def",end:n.lookahead(/[:={\[(\n;]/),contains:[i]};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"},contains:[{begin:["//>",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t,a,n,r,e.C_NUMBER_MODE,{begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},{begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"},{begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}},{className:"meta",begin:"@[A-Za-z]+"}]}}function tn(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}function an(e){var n=e.regex,t=e.COMMENT("--","$"),a=["true","false","unknown"],i=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"];const r=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"];var s=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],o=r,c=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year","add","asc","collation","desc","final","first","last","view"].filter(e=>!r.includes(e)),o={begin:n.concat(/\b/,n.either(...o),/\s*\(/),relevance:0,keywords:{built_in:o}};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:function(e,{exceptions:n,when:t}){const a=t;return n=n||[],e.map(e=>!e.match(/\|\d+$/)&&!n.includes(e)&&a(e)?e+"|0":e)}(c,{when:e=>e.length<3}),literal:a,type:i,built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"]},contains:[{begin:n.either(...s),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:c.concat(s),literal:a,type:i}},{className:"type",begin:n.either("double precision","large object","with timezone","without timezone")},o,{className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},{className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},{begin:/"/,end:/"/,contains:[{begin:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}}function rn(e){return e?"string"==typeof e?e:e.source:null}function k(e){return x("(?=",e,")")}function x(...e){return e.map(e=>rn(e)).join("")}function O(...e){var n,t="object"==typeof(n=(t=e)[t.length-1])&&n.constructor===Object?(t.splice(t.length-1,1),n):{};return"("+(t.capture?"":"?:")+e.map(e=>rn(e)).join("|")+")"}const M=e=>x(/\b/,e,/\w$/.test(e)?/\b/:/\B/),sn=["Protocol","Type"].map(M),on=["init","self"].map(M),cn=["Any","Self"],S=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],ln=["false","nil","true"],dn=["assignment","associativity","higherThan","left","lowerThan","none","right"],gn=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],un=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"];p=O(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/);const bn=O(p,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),A=x(p,bn,"*");g=O(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/);const C=O(g,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),T=x(g,C,"*"),R=x(/[A-Z]/,C,"*"),mn=["attached","autoclosure",x(/convention\(/,O("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",x(/objc\(/,T,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],pn=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function _n(e){var n={match:/\s+/,relevance:0},t=e.COMMENT("/\\*","\\*/",{contains:["self"]}),t=[e.C_LINE_COMMENT_MODE,t],a={match:[/\./,O(...sn,...on)],className:{2:"keyword"}},i={match:x(/\./,O(...S)),relevance:0},r=S.filter(e=>"string"==typeof e).concat(["_|0"]),s={variants:[{className:"keyword",match:O(...S.filter(e=>"string"!=typeof e).concat(cn).map(M),...on)}]},o={$pattern:O(/\b\w+/,/#\w+/),keyword:r.concat(gn),literal:ln},c=[a,i,s],l=[{match:x(/\./,O(...un)),relevance:0},{className:"built_in",match:x(/\b/,O(...un),/(?=\()/)}],d=[r={match:/->/,relevance:0},{className:"operator",relevance:0,variants:[{match:A},{match:`\\.(\\.|${bn})+`}]}],g={className:"number",relevance:0,variants:[{match:`\\b(${a="([0-9]_*)+"})(\\.(${a}))?`+`([eE][+-]?(${a}))?\\b`},{match:`\\b0x(${i="([0-9a-fA-F]_*)+"})(\\.(${i}))?`+`([pP][+-]?(${a}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]};const u=(e="")=>({className:"subst",variants:[{match:x(/\\/,e,/[0\\tnr"']/)},{match:x(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),b=(e="")=>({className:"subst",label:"interpol",begin:x(/\\/,e,/\(/),end:/\)/});var i=(e="")=>({begin:x(e,/"/),end:x(/"/,e),contains:[u(e),b(e)]}),m={className:"string",variants:[(s=(e="")=>{return{begin:x(e,/"""/),end:x(/"""/,e),contains:[u(e),([n=""]=[e],{className:"subst",match:x(/\\/,n,/[\t ]*(?:[\r\n]|\r\n)/)}),b(e)]};var n})(),s("#"),s("##"),s("###"),i(),i("#"),i("##"),i("###")]};const p=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}];var a={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:p},i={scope:"regexp",variants:[(s=e=>{var n=x(e,/\//),e=x(/\//,e);return{begin:n,end:e,contains:[...p,{scope:"comment",begin:`#(?!.*${e})`,end:/$/}]}})("###"),s("##"),s("#"),a]},_=[s={match:x(/`/,T,/`/)},{className:"variable",match:/\$\d+/},{className:"variable",match:`\\$${C}+`}],a=[{match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:pn,contains:[...d,g,m]}]}},{scope:"keyword",match:x(/@/,O(...mn))},{scope:"meta",match:x(/@/,T)}],h={match:k(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:x(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,C,"+")},{className:"type",match:R,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:x(/\s+&\s+/,k(R)),relevance:0}]},r={begin://,keywords:o,contains:[...t,...c,...a,r,h]},r=(h.contains.push(r),{match:x(T,/\s*:/),keywords:"_|0",relevance:0}),r={begin:/\(/,end:/\)/,relevance:0,keywords:o,contains:["self",r,...t,i,...c,...l,...d,g,m,..._,...a,h]},f={begin://,keywords:"repeat each",contains:[...t,h]},E={begin:/\(/,end:/\)/,keywords:o,contains:[{begin:O(k(x(T,/\s*:/)),k(x(T,/\s+/,T,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:T}]},...t,...c,...d,g,m,...a,h,r],endsParent:!0,illegal:/["']/},s={match:[/(func|macro)/,/\s+/,O(s.match,T,A)],className:{1:"keyword",3:"title.function"},contains:[f,E,n],illegal:[/\[/,/%/]},f={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[f,E,n],illegal:/\[|%/},E={match:[/operator/,/\s+/,A],className:{1:"keyword",3:"title"}},n={begin:[/precedencegroup/,/\s+/,R],className:{1:"keyword",3:"title"},contains:[h],keywords:[...dn,...ln],end:/}/};for(const w of m.variants){var y=w.contains.find(e=>"interpol"===e.label),v=(y.keywords=o,[...c,...l,...d,g,m,..._]);y.contains=[...v,{begin:/\(/,end:/\)/,contains:["self",...v]}]}return{name:"Swift",keywords:o,contains:[...t,s,f,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:o,contains:[e.inherit(e.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...c]},E,n,{beginKeywords:"import",end:/$/,contains:[...t],relevance:0},i,...c,...l,...d,g,m,..._,...a,h,r]}}function hn(e){var n=e.regex,t=n.concat(/[\p{L}_]/u,n.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),a={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},r=e.inherit(i,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:"string"}),o=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),c={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[i,o,s,r,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[i,r,o,s]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},a,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[o]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[c],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[c],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:t,relevance:0,starts:c}]},{className:"tag",begin:n.concat(/<\//,n.lookahead(n.concat(t,/>/))),contains:[{className:"name",begin:t,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function fn(e){var n="true false yes no null",t="[\\w#;/?:@&=+$,.~*'()[\\]]+",a={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},i=e.inherit(a,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),r={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},t=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+t},{className:"type",begin:"!<"+t+">"},{className:"type",begin:"!"+t},{className:"type",begin:"!!"+t},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},{className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},{begin:/\{/,end:/\}/,contains:[r],illegal:"\\n",relevance:0},{begin:"\\[",end:"\\]",contains:[r],illegal:"\\n",relevance:0},a];return(n=[...t]).pop(),n.push(i),r.contains=n,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:t}}!function(){"use strict";w.registerLanguage("asciidoc",ge),w.registerLanguage("bash",ue),w.registerLanguage("clojure",be),w.registerLanguage("cpp",me),w.registerLanguage("cs",pe),w.registerLanguage("css",ve),w.registerLanguage("diff",we),w.registerLanguage("dockerfile",Ne),w.registerLanguage("elixir",ke),w.registerLanguage("go",xe),w.registerLanguage("groovy",Oe),w.registerLanguage("haskell",Me),w.registerLanguage("java",Ae),w.registerLanguage("javascript",ze),w.registerLanguage("json",Fe),w.registerLanguage("kotlin",Ue),w.registerLanguage("lua",Pe),w.registerLanguage("markdown",Ke),w.registerLanguage("nix",qe),w.registerLanguage("none",He),w.registerLanguage("objectivec",Ze),w.registerLanguage("perl",Ge),w.registerLanguage("php",We),w.registerLanguage("properties",Qe),w.registerLanguage("protobuf",Xe),w.registerLanguage("puppet",Ve),w.registerLanguage("python",Je),w.registerLanguage("ruby",Ye),w.registerLanguage("rust",en),w.registerLanguage("scala",nn),w.registerLanguage("shell",tn),w.registerLanguage("sql",an),w.registerLanguage("swift",_n),w.registerLanguage("xml",hn),w.registerLanguage("yaml",fn),[].slice.call(document.querySelectorAll("pre code.hljs[data-lang]")).forEach(function(e){w.highlightBlock(e)})}()}(); \ No newline at end of file diff --git a/_/js/vendor/lunr.js b/_/js/vendor/lunr.js new file mode 100644 index 0000000..cdc94cd --- /dev/null +++ b/_/js/vendor/lunr.js @@ -0,0 +1,6 @@ +/** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + */ +!function(){var e=function(t){var r=new e.Builder;return r.pipeline.add(e.trimmer,e.stopWordFilter,e.stemmer),r.searchPipeline.add(e.stemmer),t.call(r,r),r.build()};e.version="2.3.9",e.utils={},e.utils.warn=function(e){return function(t){e.console&&console.warn&&console.warn(t)}}(this),e.utils.asString=function(e){return void 0===e||null===e?"":e.toString()},e.utils.clone=function(e){if(null===e||void 0===e)return e;for(var t=Object.create(null),r=Object.keys(e),i=0;i0){var c=e.utils.clone(r)||{};c.position=[a,l],c.index=s.length,s.push(new e.Token(i.slice(a,o),c))}a=o+1}}return s},e.tokenizer.separator=/[\s\-]+/,e.Pipeline=function(){this._stack=[]},e.Pipeline.registeredFunctions=Object.create(null),e.Pipeline.registerFunction=function(t,r){r in this.registeredFunctions&&e.utils.warn("Overwriting existing registered function: "+r),t.label=r,e.Pipeline.registeredFunctions[t.label]=t},e.Pipeline.warnIfFunctionNotRegistered=function(t){var r=t.label&&t.label in this.registeredFunctions;r||e.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",t)},e.Pipeline.load=function(t){var r=new e.Pipeline;return t.forEach(function(t){var i=e.Pipeline.registeredFunctions[t];if(!i)throw new Error("Cannot load unregistered function: "+t);r.add(i)}),r},e.Pipeline.prototype.add=function(){var t=Array.prototype.slice.call(arguments);t.forEach(function(t){e.Pipeline.warnIfFunctionNotRegistered(t),this._stack.push(t)},this)},e.Pipeline.prototype.after=function(t,r){e.Pipeline.warnIfFunctionNotRegistered(r);var i=this._stack.indexOf(t);if(i==-1)throw new Error("Cannot find existingFn");i+=1,this._stack.splice(i,0,r)},e.Pipeline.prototype.before=function(t,r){e.Pipeline.warnIfFunctionNotRegistered(r);var i=this._stack.indexOf(t);if(i==-1)throw new Error("Cannot find existingFn");this._stack.splice(i,0,r)},e.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);t!=-1&&this._stack.splice(t,1)},e.Pipeline.prototype.run=function(e){for(var t=this._stack.length,r=0;r1&&(se&&(r=n),s!=e);)i=r-t,n=t+Math.floor(i/2),s=this.elements[2*n];return s==e?2*n:s>e?2*n:sa?l+=2:o==a&&(t+=r[u+1]*i[l+1],u+=2,l+=2);return t},e.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},e.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,r=0;t0){var o,a=s.str.charAt(0);a in s.node.edges?o=s.node.edges[a]:(o=new e.TokenSet,s.node.edges[a]=o),1==s.str.length&&(o["final"]=!0),n.push({node:o,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(0!=s.editsRemaining){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new e.TokenSet;s.node.edges["*"]=u}if(0==s.str.length&&(u["final"]=!0),n.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&n.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),1==s.str.length&&(s.node["final"]=!0),s.str.length>=1){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new e.TokenSet;s.node.edges["*"]=l}1==s.str.length&&(l["final"]=!0),n.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var c,h=s.str.charAt(0),d=s.str.charAt(1);d in s.node.edges?c=s.node.edges[d]:(c=new e.TokenSet,s.node.edges[d]=c),1==s.str.length&&(c["final"]=!0),n.push({node:c,editsRemaining:s.editsRemaining-1,str:h+s.str.slice(2)})}}}return i},e.TokenSet.fromString=function(t){for(var r=new e.TokenSet,i=r,n=0,s=t.length;n=e;t--){var r=this.uncheckedNodes[t],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r["char"]]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}},e.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},e.Index.prototype.search=function(t){return this.query(function(r){var i=new e.QueryParser(t,r);i.parse()})},e.Index.prototype.query=function(t){for(var r=new e.Query(this.fields),i=Object.create(null),n=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),u=0;u1?this._b=1:this._b=e},e.Builder.prototype.k1=function(e){this._k1=e},e.Builder.prototype.add=function(t,r){var i=t[this._ref],n=Object.keys(this._fields);this._documents[i]=r||{},this.documentCount+=1;for(var s=0;s=this.length)return e.QueryLexer.EOS;var t=this.str.charAt(this.pos);return this.pos+=1,t},e.QueryLexer.prototype.width=function(){return this.pos-this.start},e.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},e.QueryLexer.prototype.backup=function(){this.pos-=1},e.QueryLexer.prototype.acceptDigitRun=function(){var t,r;do t=this.next(),r=t.charCodeAt(0);while(r>47&&r<58);t!=e.QueryLexer.EOS&&this.backup()},e.QueryLexer.prototype.more=function(){return this.pos1&&(t.backup(),t.emit(e.QueryLexer.TERM)),t.ignore(),t.more())return e.QueryLexer.lexText},e.QueryLexer.lexEditDistance=function(t){return t.ignore(),t.acceptDigitRun(),t.emit(e.QueryLexer.EDIT_DISTANCE),e.QueryLexer.lexText},e.QueryLexer.lexBoost=function(t){return t.ignore(),t.acceptDigitRun(),t.emit(e.QueryLexer.BOOST),e.QueryLexer.lexText},e.QueryLexer.lexEOS=function(t){t.width()>0&&t.emit(e.QueryLexer.TERM)},e.QueryLexer.termSeparator=e.tokenizer.separator,e.QueryLexer.lexText=function(t){for(;;){var r=t.next();if(r==e.QueryLexer.EOS)return e.QueryLexer.lexEOS;if(92!=r.charCodeAt(0)){if(":"==r)return e.QueryLexer.lexField;if("~"==r)return t.backup(),t.width()>0&&t.emit(e.QueryLexer.TERM),e.QueryLexer.lexEditDistance;if("^"==r)return t.backup(),t.width()>0&&t.emit(e.QueryLexer.TERM),e.QueryLexer.lexBoost;if("+"==r&&1===t.width())return t.emit(e.QueryLexer.PRESENCE),e.QueryLexer.lexText;if("-"==r&&1===t.width())return t.emit(e.QueryLexer.PRESENCE),e.QueryLexer.lexText;if(r.match(e.QueryLexer.termSeparator))return e.QueryLexer.lexTerm}else t.escapeCharacter()}},e.QueryParser=function(t,r){this.lexer=new e.QueryLexer(t),this.query=r,this.currentClause={},this.lexemeIdx=0},e.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var t=e.QueryParser.parseClause;t;)t=t(this);return this.query},e.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},e.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},e.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},e.QueryParser.parseClause=function(t){var r=t.peekLexeme();if(void 0!=r)switch(r.type){case e.QueryLexer.PRESENCE:return e.QueryParser.parsePresence;case e.QueryLexer.FIELD:return e.QueryParser.parseField;case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var i="expected either a field or a term, found "+r.type;throw r.str.length>=1&&(i+=" with value '"+r.str+"'"),new e.QueryParseError(i,r.start,r.end)}},e.QueryParser.parsePresence=function(t){var r=t.consumeLexeme();if(void 0!=r){switch(r.str){case"-":t.currentClause.presence=e.Query.presence.PROHIBITED;break;case"+":t.currentClause.presence=e.Query.presence.REQUIRED;break;default:var i="unrecognised presence operator'"+r.str+"'";throw new e.QueryParseError(i,r.start,r.end)}var n=t.peekLexeme();if(void 0==n){var i="expecting term or field, found nothing";throw new e.QueryParseError(i,r.start,r.end)}switch(n.type){case e.QueryLexer.FIELD:return e.QueryParser.parseField;case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var i="expecting term or field, found '"+n.type+"'";throw new e.QueryParseError(i,n.start,n.end)}}},e.QueryParser.parseField=function(t){var r=t.consumeLexeme();if(void 0!=r){if(t.query.allFields.indexOf(r.str)==-1){var i=t.query.allFields.map(function(e){return"'"+e+"'"}).join(", "),n="unrecognised field '"+r.str+"', possible fields: "+i;throw new e.QueryParseError(n,r.start,r.end)}t.currentClause.fields=[r.str];var s=t.peekLexeme();if(void 0==s){var n="expecting term, found nothing";throw new e.QueryParseError(n,r.start,r.end)}switch(s.type){case e.QueryLexer.TERM:return e.QueryParser.parseTerm;default:var n="expecting term, found '"+s.type+"'";throw new e.QueryParseError(n,s.start,s.end)}}},e.QueryParser.parseTerm=function(t){var r=t.consumeLexeme();if(void 0!=r){t.currentClause.term=r.str.toLowerCase(),r.str.indexOf("*")!=-1&&(t.currentClause.usePipeline=!1);var i=t.peekLexeme();if(void 0==i)return void t.nextClause();switch(i.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+i.type+"'";throw new e.QueryParseError(n,i.start,i.end)}}},e.QueryParser.parseEditDistance=function(t){var r=t.consumeLexeme();if(void 0!=r){var i=parseInt(r.str,10);if(isNaN(i)){var n="edit distance must be numeric";throw new e.QueryParseError(n,r.start,r.end)}t.currentClause.editDistance=i;var s=t.peekLexeme();if(void 0==s)return void t.nextClause();switch(s.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+s.type+"'";throw new e.QueryParseError(n,s.start,s.end)}}},e.QueryParser.parseBoost=function(t){var r=t.consumeLexeme();if(void 0!=r){var i=parseInt(r.str,10);if(isNaN(i)){var n="boost must be numeric";throw new e.QueryParseError(n,r.start,r.end)}t.currentClause.boost=i;var s=t.peekLexeme();if(void 0==s)return void t.nextClause();switch(s.type){case e.QueryLexer.TERM:return t.nextClause(),e.QueryParser.parseTerm;case e.QueryLexer.FIELD:return t.nextClause(),e.QueryParser.parseField;case e.QueryLexer.EDIT_DISTANCE:return e.QueryParser.parseEditDistance;case e.QueryLexer.BOOST:return e.QueryParser.parseBoost;case e.QueryLexer.PRESENCE:return t.nextClause(),e.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+s.type+"'";throw new e.QueryParseError(n,s.start,s.end)}}},function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.lunr=t()}(this,function(){return e})}(); diff --git a/_/js/vendor/tabs.js b/_/js/vendor/tabs.js new file mode 100644 index 0000000..cdd99ae --- /dev/null +++ b/_/js/vendor/tabs.js @@ -0,0 +1,2 @@ +!function(){/*! Asciidoctor Tabs | Copyright (c) 2018-present Dan Allen | MIT License */ +"use strict";var t,l=(document.currentScript||{}).dataset||{},r=Array.prototype.forEach;function u(t){var e,a=this.tab,n=this.tabs||(this.tabs=a.closest(".tabs")),s=this.panel||(this.panel=document.getElementById(a.getAttribute("aria-controls")));i(n,".tablist .tab","tab").forEach(function(t){p(t,t===a)}),i(n,".tabpanel","tabpanel").forEach(function(t){y(t,t!==s)}),!this.isSync&&"syncStorageKey"in l&&"syncGroupId"in n.dataset&&(n=l.syncStorageKey+"-"+n.dataset.syncGroupId,window[(l.syncStorageScope||"local")+"Storage"].setItem(n,a.dataset.syncId)),t&&(~(e=(n=window.location).hash?n.href.indexOf("#"):-1)&&window.history.replaceState(null,"",n.href.slice(0,e)),t.preventDefault())}function b(t){u.call(this,t);var a=this.tabs,n=this.tab,t=a.getBoundingClientRect().y,t=(r.call(document.querySelectorAll(".tabs"),function(e){e!==a&&e.dataset.syncGroupId===a.dataset.syncGroupId&&i(e,".tablist .tab","tab").forEach(function(t){t.dataset.syncId===n.dataset.syncId&&u.call({tabs:e,tab:t,isSync:!0})})}),a.getBoundingClientRect().y-t);(t=t&&Math.round(t))&&window.scrollBy({top:t,behavior:"instant"}),document.dispatchEvent(new CustomEvent("asciidoctor-tabs:toggle",{detail:{syncGroupId:a.dataset.syncGroupId,syncId:n.dataset.syncId}}))}function i(t,e,a){var n=t.querySelector(e);if(!n)return[];for(var s=[n];(n=n.nextElementSibling)&&n.classList.contains(a);)s.push(n);return s}function e(t,e,a){r.call(t,function(t){t.classList[a](e)})}function y(t,e){t.classList[(t.hidden=e)?"add":"remove"]("is-hidden")}function p(t,e){t.setAttribute("aria-selected",""+e),t.classList[e?"add":"remove"]("is-selected"),t.tabIndex=e?0:-1}function a(){var t=window.location.hash.slice(1);t&&(t=document.getElementById(~t.indexOf("%")?decodeURIComponent(t):t))&&t.classList.contains("tab")&&("syncId"in t.dataset?b:u).call({tab:t})}document.addEventListener("asciidoctor-tabs:toggle",function(t){const a=t.detail.syncGroupId.replace(/\W/g,"-").toLowerCase(),n=t.detail.syncId.replace(/\W/g,"-").toLowerCase();document.querySelectorAll('[class^="'+a+'"]').forEach(function(t){var e=!t.classList.contains(a+"-"+n);t.classList[(t.hidden=e)?"add":"remove"]("is-hidden")})}),(t=document.querySelectorAll(".tabs")).length&&(r.call(t,function(i){var o,c=i.classList.contains("is-sync")?{}:void 0,t=i.querySelector(".tablist ul");if(t&&(t.setAttribute("role","tablist"),r.call(t.querySelectorAll("li"),function(t,e){t.tabIndex=-1,t.setAttribute("role",t.classList.add("tab")||"tab");var a,n=(s=!(s=t.id)&&(n=t.querySelector("a[id]"))?t.id=n.parentNode.removeChild(n).id:s)&&i.querySelector('.tabpanel[aria-labelledby~="'+s+'"]');if(!n)return e?void 0:p(t,!0);c&&((a=t.textContent.trim())in c?a=void 0:c[t.dataset.syncId=a]=t),e||c&&(o={tab:t,panel:n})?y(n,!0):p(t,!0),t.setAttribute("aria-controls",n.id),n.setAttribute("role","tabpanel");var s=void 0===a?u:b;t.addEventListener("click",s.bind({tabs:i,tab:t,panel:n}))}),i.closest(".tabpanel")||r.call(i.querySelectorAll(".tabpanel table.tableblock"),function(t){var e=Object.assign(document.createElement("div"),{className:"tablecontainer"});t.parentNode.insertBefore(e,t).appendChild(t)}),o)){for(var e,a,n=0,s=i.classList,d=s.length;n!==d;n++)if((a=s.item(n)).startsWith("data-sync-group-id=")){i.dataset.syncGroupId=e=s.remove(a)||a.slice(19).replace(/\u00a0/g," ");break}void 0===e&&(i.dataset.syncGroupId=e=Object.keys(c).sort().join("|"));t="syncStorageKey"in l&&window[(l.syncStorageScope||"local")+"Storage"].getItem(l.syncStorageKey+"-"+e),t=t&&c[t];t&&Object.assign(o,{tab:t,panel:document.getElementById(t.getAttribute("aria-controls"))}),p(o.tab,!0),y(o.panel,!1),document.dispatchEvent(new CustomEvent("asciidoctor-tabs:toggle",{detail:{syncGroupId:i.dataset.syncGroupId,syncId:o.tab.dataset.syncId}}))}}),a(),e(t,"is-loading","remove"),window.setTimeout(e.bind(null,t,"is-loaded","add"),0),window.addEventListener("hashchange",a))}(); \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..65e4a7f --- /dev/null +++ b/index.html @@ -0,0 +1,9 @@ + + + + + + +Redirect Notice +

Redirect Notice

+

The page you requested has been relocated to https://playframework.github.io/play-soap/2.x/index.html.

diff --git a/play-grpc/0.10.x/consuming-grpc.html b/play-grpc/0.10.x/consuming-grpc.html new file mode 100644 index 0000000..80854d8 --- /dev/null +++ b/play-grpc/0.10.x/consuming-grpc.html @@ -0,0 +1,443 @@ + + + + + + Using a gRPC client in Play :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

Using a gRPC client in Play

+
+

Akka gRPC has special support to allow for seamless injection of generated clients in Play. To enable this, you +need first to enable the gRPC plugin as described in the client docs and then add a source generator in build.sbt:

+
+
+
+
+
    +
  • +

    Scala

    +
  • +
  • +

    Java

    +
  • +
+
+
+
+
+
import play.grpc.gen.scaladsl.PlayScalaClientCodeGenerator
+akkaGrpcExtraGenerators += PlayScalaClientCodeGenerator
+libraryDependencies += "com.typesafe.play" %% "play-grpc-runtime" % "0.10.x"
+
+
+
+
+
+
+
import play.grpc.gen.javadsl.PlayJavaClientCodeGenerator
+akkaGrpcExtraGenerators += PlayJavaClientCodeGenerator
+libraryDependencies += "com.typesafe.play" %% "play-grpc-runtime" % "0.10.x"
+
+
+
+
+
+
+

This will generate a Play module that provides all generated clients for injection. The module must be enabled +by adding it to the enabled modules in the application.conf.

+
+
+

You can then put the following helloworld.proto file in app/protobuf:

+
+
+
+
syntax = "proto3";
+
+option java_multiple_files = true;
+option java_package = "example.myapp.helloworld.grpc";
+option java_outer_classname = "HelloWorldProto";
+
+package helloworld;
+
+service GreeterService {
+    rpc SayHello (HelloRequest) returns (HelloReply) {}
+}
+
+message HelloRequest {
+    string name = 1;
+}
+
+message HelloReply {
+    string message = 1;
+}
+
+
+
+

The module file is generated in example.myapp.helloworld.grpc.helloworld.AkkaGrpcClientModule, example.myapp.helloworld.grpc.AkkaGrpcClientModule, which corresponds to the default value +of flat_package for Scala. Java. You can read more about this in Services.

+
+
+

The exact package of the module will be based on the package the proto files are generated in, configured through +the java_package option in the proto-file (if there are multiple different gRPC generated clients the module will +be generated in the longest package prefix shared between the clients).

+
+
+

To hook it into Play, in application.conf:

+
+
+
+
+
    +
  • +

    Scala

    +
  • +
  • +

    Java

    +
  • +
+
+
+
+
+
// enable the client module
+play.modules.enabled += example.myapp.helloworld.grpc.helloworld.AkkaGrpcClientModule
+
+
+
+
+
+
+
// enable the client module
+play.modules.enabled += example.myapp.helloworld.grpc.AkkaGrpcClientModule
+
+
+
+
+
+
+

The clients are configured with entries under akka.grpc.client named after the client (gRPC package name dot ServiceName), +again, in application.conf:

+
+
+
+
akka.grpc.client {
+  "helloworld.GreeterService" {
+    host = "example.com"
+    port = 9000
+    # By default we connect over TLS
+    #use-tls = false
+  }
+}
+
+
+
+

See Client Configuration for more information on the available options. If the configuration +is not present for that client and it is used by some other component, the application start will fail with an exception +when injecting the client (see #271).

+
+
+

You can now use the client in a controller by injecting it:

+
+
+
+
+
    +
  • +

    Scala

    +
  • +
  • +

    Java

    +
  • +
+
+
+
+
+
package controllers
+
+import javax.inject.Inject
+import javax.inject.Singleton
+
+import scala.concurrent.ExecutionContext
+
+import example.myapp.helloworld.grpc.helloworld.GreeterServiceClient
+import example.myapp.helloworld.grpc.helloworld.HelloRequest
+import play.api.mvc.AbstractController
+import play.api.mvc.ControllerComponents
+
+@Singleton
+class MyController @Inject() (
+    implicit greeterClient: GreeterServiceClient,
+    cc: ControllerComponents,
+    exec: ExecutionContext,
+) extends AbstractController(cc) {
+
+  def sayHello(name: String) = Action.async {
+    greeterClient
+      .sayHello(HelloRequest(name))
+      .map { reply =>
+        Ok(s"response: ${reply.message}")
+      }
+  }
+
+}
+
+
+
+
+
+
+
package controllers;
+
+import example.myapp.helloworld.grpc.GreeterServiceClient;
+import example.myapp.helloworld.grpc.HelloRequest;
+import java.util.concurrent.CompletionStage;
+import javax.inject.Inject;
+import javax.inject.Singleton;
+import play.mvc.Controller;
+import play.mvc.Result;
+
+@Singleton
+public class MyController extends Controller {
+
+  private final GreeterServiceClient greeterServiceClient;
+
+  @Inject
+  public MyController(GreeterServiceClient greeterServiceClient) {
+    this.greeterServiceClient = greeterServiceClient;
+  }
+
+  public CompletionStage<Result> sayHello(String name) {
+    return greeterServiceClient
+        .sayHello(HelloRequest.newBuilder().setName(name).build())
+        .thenApply(response -> ok("response: " + response.getMessage()));
+  };
+}
+
+
+
+
+
+
+
+
+
+ + + + + + + + + diff --git a/play-grpc/0.10.x/gradle-support.html b/play-grpc/0.10.x/gradle-support.html new file mode 100644 index 0000000..cadef1c --- /dev/null +++ b/play-grpc/0.10.x/gradle-support.html @@ -0,0 +1,251 @@ + + + + + + Gradle support in Play :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

Gradle support in Play

+
+

To enable the Play support in a Gradle project you need to set the option generatePlay to true. +This will make sure play-specific code is generated in addition to plain Akka gRPC code:

+
+
+
+
akkaGrpc {
+  language = "Java"
+  generateClient = true
+  generateServer = true
+  extraGenerators = [
+    'play.grpc.gen.javadsl.PlayJavaClientCodeGenerator',
+    'play.grpc.gen.javadsl.PlayJavaServerCodeGenerator'
+  ]
+}
+
+
+
+

See the Akka gRPC Gradle support docs for further details.

+
+
+
+
+
+ + + + + + + + + diff --git a/play-grpc/0.10.x/index.html b/play-grpc/0.10.x/index.html new file mode 100644 index 0000000..623aefe --- /dev/null +++ b/play-grpc/0.10.x/index.html @@ -0,0 +1,236 @@ + + + + + + Play gRPC :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

Play gRPC

+
+

Akka gRPC provides support for building streaming gRPC servers and clients on top of Akka Streams. Play gRPC provides examples and tools on embedding Akka gRPC endpoints on Play applications.

+
+
+

For a full example project see the Quickstart Java project or Quickstart Scala project

+
+
+
+
+
+ + + + + + + + + diff --git a/play-grpc/0.10.x/serving-grpc.html b/play-grpc/0.10.x/serving-grpc.html new file mode 100644 index 0000000..49f16d3 --- /dev/null +++ b/play-grpc/0.10.x/serving-grpc.html @@ -0,0 +1,408 @@ + + + + + + Serving gRPC from Play :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

Serving gRPC from Play

+
+

To be able to serve gRPC from a Play Framework app you must enable HTTP/2 Support with HTTPS and the ALPN agent.

+
+
+ + + + + +
+ + +To use gRPC in Play Framework you must enable HTTP/2 Support. +
+
+
+

Generating classes from the gRPC service definition is done by adding the Akka gRPC plugin to your sbt build along with the Play gRPC generators:

+
+
+
+
// in project/plugins.sbt:
+addSbtPlugin("com.lightbend.akka.grpc" % "sbt-akka-grpc" % "2.1.5")
+resolvers += Resolver.sonatypeRepo("snapshots")
+libraryDependencies += "com.typesafe.play" %% "play-grpc-generators" % "0.10.x"
+
+
+
+

Then you need to enable the Play server side code generator in build.sbt:

+
+
+
+
+
    +
  • +

    Scala

    +
  • +
  • +

    Java

    +
  • +
+
+
+
+
+
enablePlugins(AkkaGrpcPlugin)
+import play.grpc.gen.scaladsl.PlayScalaServerCodeGenerator
+akkaGrpcExtraGenerators += PlayScalaServerCodeGenerator
+libraryDependencies += "com.typesafe.play" %% "play-grpc-runtime" % "0.10.x"
+
+
+
+
+
+
+
enablePlugins(AkkaGrpcPlugin)
+import play.grpc.gen.javadsl.PlayJavaServerCodeGenerator
+akkaGrpcExtraGenerators += PlayJavaServerCodeGenerator
+libraryDependencies += "com.typesafe.play" %% "play-grpc-runtime" % "0.10.x"
+
+
+
+
+
+
+

The plugin will look for .proto service descriptors in app/protobuf and output an abstract class per service that you then implement, so for example for the following protobuf descriptor:

+
+
+
+
syntax = "proto3";
+
+option java_multiple_files = true;
+option java_package = "example.myapp.helloworld.grpc";
+option java_outer_classname = "HelloWorldProto";
+
+package helloworld;
+
+service GreeterService {
+    rpc SayHello (HelloRequest) returns (HelloReply) {}
+}
+
+message HelloRequest {
+    string name = 1;
+}
+
+message HelloReply {
+    string message = 1;
+}
+
+
+
+

You will get an abstract class named example.myapp.helloworld.grpc.helloworld.AbstractGreeterServiceRouter. example.myapp.helloworld.grpc.AbstractGreeterServiceRouter. +Create a concrete subclass implementing this wherever you see fit in your project, let’s say controller.GreeterServiceImpl like so:

+
+
+
+
+
    +
  • +

    Scala

    +
  • +
  • +

    Java

    +
  • +
+
+
+
+
+
package controllers
+
+import javax.inject.Inject
+import javax.inject.Singleton
+
+import scala.concurrent.Future
+
+import akka.actor.ActorSystem
+import example.myapp.helloworld.grpc.helloworld.AbstractGreeterServiceRouter
+import example.myapp.helloworld.grpc.helloworld.HelloReply
+import example.myapp.helloworld.grpc.helloworld.HelloRequest
+
+/** User implementation, with support for dependency injection etc */
+@Singleton
+class GreeterServiceImpl @Inject() (implicit actorSystem: ActorSystem)
+    extends AbstractGreeterServiceRouter(actorSystem) {
+
+  override def sayHello(in: HelloRequest): Future[HelloReply] = Future.successful(HelloReply(s"Hello, ${in.name}!"))
+
+}
+
+
+
+
+
+
+
package controllers;
+
+import akka.actor.ActorSystem;
+import com.google.inject.Inject;
+import example.myapp.helloworld.grpc.AbstractGreeterServiceRouter;
+import example.myapp.helloworld.grpc.HelloReply;
+import example.myapp.helloworld.grpc.HelloRequest;
+import java.util.concurrent.CompletableFuture;
+import java.util.concurrent.CompletionStage;
+import javax.inject.Singleton;
+
+/** User implementation, with support for dependency injection etc */
+@Singleton
+public class GreeterServiceImpl extends AbstractGreeterServiceRouter {
+
+  @Inject
+  public GreeterServiceImpl(ActorSystem actorSystem) {
+    super(actorSystem);
+  }
+
+  @Override
+  public CompletionStage<HelloReply> sayHello(HelloRequest in) {
+    String message = String.format("Hello, %s!", in.getName());
+    HelloReply reply = HelloReply.newBuilder().setMessage(message).build();
+    return CompletableFuture.completedFuture(reply);
+  }
+}
+
+
+
+
+
+
+

And then add the router to your Play conf/routes file. Note that the router already knows its own path since it is based on the package name and service name of the service and therefore the path / is enough to get it to end up in the right place (in this example the path will be /helloworld.GreeterService). It cannot be added at an arbitrary path (if you try to do so an exception will be thrown when the router is started).

+
+
+
+
->     /   controllers.GreeterServiceImpl
+
+
+
+

A gRPC client can now connect to the server and call the provided services.

+
+
+
+
+
+ + + + + + + + + diff --git a/play-grpc/0.11.x/consuming-grpc.html b/play-grpc/0.11.x/consuming-grpc.html new file mode 100644 index 0000000..7846afb --- /dev/null +++ b/play-grpc/0.11.x/consuming-grpc.html @@ -0,0 +1,443 @@ + + + + + + Using a gRPC client in Play :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

Using a gRPC client in Play

+
+

Akka gRPC has special support to allow for seamless injection of generated clients in Play. To enable this, you +need first to enable the gRPC plugin as described in the client docs and then add a source generator in build.sbt:

+
+
+
+
+
    +
  • +

    Scala

    +
  • +
  • +

    Java

    +
  • +
+
+
+
+
+
import play.grpc.gen.scaladsl.PlayScalaClientCodeGenerator
+akkaGrpcExtraGenerators += PlayScalaClientCodeGenerator
+libraryDependencies += "com.typesafe.play" %% "play-grpc-runtime" % "0.11.x"
+
+
+
+
+
+
+
import play.grpc.gen.javadsl.PlayJavaClientCodeGenerator
+akkaGrpcExtraGenerators += PlayJavaClientCodeGenerator
+libraryDependencies += "com.typesafe.play" %% "play-grpc-runtime" % "0.11.x"
+
+
+
+
+
+
+

This will generate a Play module that provides all generated clients for injection. The module must be enabled +by adding it to the enabled modules in the application.conf.

+
+
+

You can then put the following helloworld.proto file in app/protobuf:

+
+
+
+
syntax = "proto3";
+
+option java_multiple_files = true;
+option java_package = "example.myapp.helloworld.grpc";
+option java_outer_classname = "HelloWorldProto";
+
+package helloworld;
+
+service GreeterService {
+    rpc SayHello (HelloRequest) returns (HelloReply) {}
+}
+
+message HelloRequest {
+    string name = 1;
+}
+
+message HelloReply {
+    string message = 1;
+}
+
+
+
+

The module file is generated in example.myapp.helloworld.grpc.helloworld.AkkaGrpcClientModule, example.myapp.helloworld.grpc.AkkaGrpcClientModule, which corresponds to the default value +of flat_package for Scala. Java. You can read more about this in Services.

+
+
+

The exact package of the module will be based on the package the proto files are generated in, configured through +the java_package option in the proto-file (if there are multiple different gRPC generated clients the module will +be generated in the longest package prefix shared between the clients).

+
+
+

To hook it into Play, in application.conf:

+
+
+
+
+
    +
  • +

    Scala

    +
  • +
  • +

    Java

    +
  • +
+
+
+
+
+
// enable the client module
+play.modules.enabled += example.myapp.helloworld.grpc.helloworld.AkkaGrpcClientModule
+
+
+
+
+
+
+
// enable the client module
+play.modules.enabled += example.myapp.helloworld.grpc.AkkaGrpcClientModule
+
+
+
+
+
+
+

The clients are configured with entries under akka.grpc.client named after the client (gRPC package name dot ServiceName), +again, in application.conf:

+
+
+
+
akka.grpc.client {
+  "helloworld.GreeterService" {
+    host = "example.com"
+    port = 9000
+    # By default we connect over TLS
+    #use-tls = false
+  }
+}
+
+
+
+

See Client Configuration for more information on the available options. If the configuration +is not present for that client and it is used by some other component, the application start will fail with an exception +when injecting the client (see #271).

+
+
+

You can now use the client in a controller by injecting it:

+
+
+
+
+
    +
  • +

    Scala

    +
  • +
  • +

    Java

    +
  • +
+
+
+
+
+
package controllers
+
+import javax.inject.Inject
+import javax.inject.Singleton
+
+import scala.concurrent.ExecutionContext
+
+import example.myapp.helloworld.grpc.helloworld.GreeterServiceClient
+import example.myapp.helloworld.grpc.helloworld.HelloRequest
+import play.api.mvc.AbstractController
+import play.api.mvc.ControllerComponents
+
+@Singleton
+class MyController @Inject() (
+    implicit greeterClient: GreeterServiceClient,
+    cc: ControllerComponents,
+    exec: ExecutionContext,
+) extends AbstractController(cc) {
+
+  def sayHello(name: String) = Action.async {
+    greeterClient
+      .sayHello(HelloRequest(name))
+      .map { reply =>
+        Ok(s"response: ${reply.message}")
+      }
+  }
+
+}
+
+
+
+
+
+
+
package controllers;
+
+import example.myapp.helloworld.grpc.GreeterServiceClient;
+import example.myapp.helloworld.grpc.HelloRequest;
+import java.util.concurrent.CompletionStage;
+import javax.inject.Inject;
+import javax.inject.Singleton;
+import play.mvc.Controller;
+import play.mvc.Result;
+
+@Singleton
+public class MyController extends Controller {
+
+  private final GreeterServiceClient greeterServiceClient;
+
+  @Inject
+  public MyController(GreeterServiceClient greeterServiceClient) {
+    this.greeterServiceClient = greeterServiceClient;
+  }
+
+  public CompletionStage<Result> sayHello(String name) {
+    return greeterServiceClient
+        .sayHello(HelloRequest.newBuilder().setName(name).build())
+        .thenApply(response -> ok("response: " + response.getMessage()));
+  };
+}
+
+
+
+
+
+
+
+
+
+ + + + + + + + + diff --git a/play-grpc/0.11.x/gradle-support.html b/play-grpc/0.11.x/gradle-support.html new file mode 100644 index 0000000..304d78a --- /dev/null +++ b/play-grpc/0.11.x/gradle-support.html @@ -0,0 +1,251 @@ + + + + + + Gradle support in Play :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

Gradle support in Play

+
+

To enable the Play support in a Gradle project you need to set the option generatePlay to true. +This will make sure play-specific code is generated in addition to plain Akka gRPC code:

+
+
+
+
akkaGrpc {
+  language = "Java"
+  generateClient = true
+  generateServer = true
+  extraGenerators = [
+    'play.grpc.gen.javadsl.PlayJavaClientCodeGenerator',
+    'play.grpc.gen.javadsl.PlayJavaServerCodeGenerator'
+  ]
+}
+
+
+
+

See the Akka gRPC Gradle support docs for further details.

+
+
+
+
+
+ + + + + + + + + diff --git a/play-grpc/0.11.x/index.html b/play-grpc/0.11.x/index.html new file mode 100644 index 0000000..d840774 --- /dev/null +++ b/play-grpc/0.11.x/index.html @@ -0,0 +1,236 @@ + + + + + + Play gRPC :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

Play gRPC

+
+

Akka gRPC provides support for building streaming gRPC servers and clients on top of Akka Streams. Play gRPC provides examples and tools on embedding Akka gRPC endpoints on Play applications.

+
+
+

For a full example project see the Quickstart Java project or Quickstart Scala project

+
+
+
+
+
+ + + + + + + + + diff --git a/play-grpc/0.11.x/serving-grpc.html b/play-grpc/0.11.x/serving-grpc.html new file mode 100644 index 0000000..0f7fd72 --- /dev/null +++ b/play-grpc/0.11.x/serving-grpc.html @@ -0,0 +1,408 @@ + + + + + + Serving gRPC from Play :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

Serving gRPC from Play

+
+

To be able to serve gRPC from a Play Framework app you must enable HTTP/2 Support with HTTPS and the ALPN agent.

+
+
+ + + + + +
+ + +To use gRPC in Play Framework you must enable HTTP/2 Support. +
+
+
+

Generating classes from the gRPC service definition is done by adding the Akka gRPC plugin to your sbt build along with the Play gRPC generators:

+
+
+
+
// in project/plugins.sbt:
+addSbtPlugin("com.lightbend.akka.grpc" % "sbt-akka-grpc" % "2.1.5")
+resolvers += Resolver.sonatypeRepo("snapshots")
+libraryDependencies += "com.typesafe.play" %% "play-grpc-generators" % "0.11.x"
+
+
+
+

Then you need to enable the Play server side code generator in build.sbt:

+
+
+
+
+
    +
  • +

    Scala

    +
  • +
  • +

    Java

    +
  • +
+
+
+
+
+
enablePlugins(AkkaGrpcPlugin)
+import play.grpc.gen.scaladsl.PlayScalaServerCodeGenerator
+akkaGrpcExtraGenerators += PlayScalaServerCodeGenerator
+libraryDependencies += "com.typesafe.play" %% "play-grpc-runtime" % "0.11.x"
+
+
+
+
+
+
+
enablePlugins(AkkaGrpcPlugin)
+import play.grpc.gen.javadsl.PlayJavaServerCodeGenerator
+akkaGrpcExtraGenerators += PlayJavaServerCodeGenerator
+libraryDependencies += "com.typesafe.play" %% "play-grpc-runtime" % "0.11.x"
+
+
+
+
+
+
+

The plugin will look for .proto service descriptors in app/protobuf and output an abstract class per service that you then implement, so for example for the following protobuf descriptor:

+
+
+
+
syntax = "proto3";
+
+option java_multiple_files = true;
+option java_package = "example.myapp.helloworld.grpc";
+option java_outer_classname = "HelloWorldProto";
+
+package helloworld;
+
+service GreeterService {
+    rpc SayHello (HelloRequest) returns (HelloReply) {}
+}
+
+message HelloRequest {
+    string name = 1;
+}
+
+message HelloReply {
+    string message = 1;
+}
+
+
+
+

You will get an abstract class named example.myapp.helloworld.grpc.helloworld.AbstractGreeterServiceRouter. example.myapp.helloworld.grpc.AbstractGreeterServiceRouter. +Create a concrete subclass implementing this wherever you see fit in your project, let’s say controller.GreeterServiceImpl like so:

+
+
+
+
+
    +
  • +

    Scala

    +
  • +
  • +

    Java

    +
  • +
+
+
+
+
+
package controllers
+
+import javax.inject.Inject
+import javax.inject.Singleton
+
+import scala.concurrent.Future
+
+import akka.actor.ActorSystem
+import example.myapp.helloworld.grpc.helloworld.AbstractGreeterServiceRouter
+import example.myapp.helloworld.grpc.helloworld.HelloReply
+import example.myapp.helloworld.grpc.helloworld.HelloRequest
+
+/** User implementation, with support for dependency injection etc */
+@Singleton
+class GreeterServiceImpl @Inject() (implicit actorSystem: ActorSystem)
+    extends AbstractGreeterServiceRouter(actorSystem) {
+
+  override def sayHello(in: HelloRequest): Future[HelloReply] = Future.successful(HelloReply(s"Hello, ${in.name}!"))
+
+}
+
+
+
+
+
+
+
package controllers;
+
+import akka.actor.ActorSystem;
+import com.google.inject.Inject;
+import example.myapp.helloworld.grpc.AbstractGreeterServiceRouter;
+import example.myapp.helloworld.grpc.HelloReply;
+import example.myapp.helloworld.grpc.HelloRequest;
+import java.util.concurrent.CompletableFuture;
+import java.util.concurrent.CompletionStage;
+import javax.inject.Singleton;
+
+/** User implementation, with support for dependency injection etc */
+@Singleton
+public class GreeterServiceImpl extends AbstractGreeterServiceRouter {
+
+  @Inject
+  public GreeterServiceImpl(ActorSystem actorSystem) {
+    super(actorSystem);
+  }
+
+  @Override
+  public CompletionStage<HelloReply> sayHello(HelloRequest in) {
+    String message = String.format("Hello, %s!", in.getName());
+    HelloReply reply = HelloReply.newBuilder().setMessage(message).build();
+    return CompletableFuture.completedFuture(reply);
+  }
+}
+
+
+
+
+
+
+

And then add the router to your Play conf/routes file. Note that the router already knows its own path since it is based on the package name and service name of the service and therefore the path / is enough to get it to end up in the right place (in this example the path will be /helloworld.GreeterService). It cannot be added at an arbitrary path (if you try to do so an exception will be thrown when the router is started).

+
+
+
+
->     /   controllers.GreeterServiceImpl
+
+
+
+

A gRPC client can now connect to the server and call the provided services.

+
+
+
+
+
+ + + + + + + + + diff --git a/play-grpc/0.12.x/consuming-grpc.html b/play-grpc/0.12.x/consuming-grpc.html new file mode 100644 index 0000000..d0f2dc3 --- /dev/null +++ b/play-grpc/0.12.x/consuming-grpc.html @@ -0,0 +1,444 @@ + + + + + + Using a gRPC client in Play :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

Using a gRPC client in Play

+
+

Pekko gRPC has special support to allow for seamless injection of generated clients in Play. To enable this, you +need first to enable the gRPC plugin as described in the client docs and then add a source generator in build.sbt:

+
+
+
+
+
    +
  • +

    Scala

    +
  • +
  • +

    Java

    +
  • +
+
+
+
+
+
import play.grpc.gen.scaladsl.PlayScalaClientCodeGenerator
+pekkoGrpcExtraGenerators += PlayScalaClientCodeGenerator
+libraryDependencies += "org.playframework" %% "play-grpc-runtime" % "0.12.x"
+
+
+
+
+
+
+
import play.grpc.gen.javadsl.PlayJavaClientCodeGenerator
+pekkoGrpcExtraGenerators += PlayJavaClientCodeGenerator
+libraryDependencies += "org.playframework" %% "play-grpc-runtime" % "0.12.x"
+
+
+
+
+
+
+

This will generate a Play module that provides all generated clients for injection. The module must be enabled +by adding it to the enabled modules in the application.conf.

+
+
+

You can then put the following helloworld.proto file in app/protobuf:

+
+
+
+
syntax = "proto3";
+
+option java_multiple_files = true;
+option java_package = "example.myapp.helloworld.grpc";
+option java_outer_classname = "HelloWorldProto";
+
+package helloworld;
+
+service GreeterService {
+    rpc SayHello (HelloRequest) returns (HelloReply) {}
+}
+
+message HelloRequest {
+    string name = 1;
+}
+
+message HelloReply {
+    string message = 1;
+}
+
+
+
+

The module file is generated in example.myapp.helloworld.grpc.helloworld.PekkoGrpcClientModule, +example.myapp.helloworld.grpc.PekkoGrpcClientModule, which corresponds to the default value +of flat_package for Scala. Java. You can read more about this in Services.

+
+
+

The exact package of the module will be based on the package the proto files are generated in, configured through +the java_package option in the proto-file (if there are multiple different gRPC generated clients the module will +be generated in the longest package prefix shared between the clients).

+
+
+

To hook it into Play, in application.conf:

+
+
+
+
+
    +
  • +

    Scala

    +
  • +
  • +

    Java

    +
  • +
+
+
+
+
+
// enable the client module
+play.modules.enabled += example.myapp.helloworld.grpc.helloworld.PekkoGrpcClientModule
+
+
+
+
+
+
+
// enable the client module
+play.modules.enabled += example.myapp.helloworld.grpc.PekkoGrpcClientModule
+
+
+
+
+
+
+

The clients are configured with entries under pekko.grpc.client named after the client (gRPC package name dot ServiceName), +again, in application.conf:

+
+
+
+
pekko.grpc.client {
+  "helloworld.GreeterService" {
+    host = "example.com"
+    port = 9000
+    # By default we connect over TLS
+    #use-tls = false
+  }
+}
+
+
+
+

See Client Configuration for more information on the available options. If the configuration +is not present for that client and it is used by some other component, the application start will fail with an exception +when injecting the client (see #271).

+
+
+

You can now use the client in a controller by injecting it:

+
+
+
+
+
    +
  • +

    Scala

    +
  • +
  • +

    Java

    +
  • +
+
+
+
+
+
package controllers
+
+import javax.inject.Inject
+import javax.inject.Singleton
+
+import scala.concurrent.ExecutionContext
+
+import example.myapp.helloworld.grpc.helloworld.GreeterServiceClient
+import example.myapp.helloworld.grpc.helloworld.HelloRequest
+import play.api.mvc.AbstractController
+import play.api.mvc.ControllerComponents
+
+@Singleton
+class MyController @Inject() (
+    implicit greeterClient: GreeterServiceClient,
+    cc: ControllerComponents,
+    exec: ExecutionContext,
+) extends AbstractController(cc) {
+
+  def sayHello(name: String) = Action.async {
+    greeterClient
+      .sayHello(HelloRequest(name))
+      .map { reply =>
+        Ok(s"response: ${reply.message}")
+      }
+  }
+
+}
+
+
+
+
+
+
+
package controllers;
+
+import example.myapp.helloworld.grpc.GreeterServiceClient;
+import example.myapp.helloworld.grpc.HelloRequest;
+import java.util.concurrent.CompletionStage;
+import javax.inject.Inject;
+import javax.inject.Singleton;
+import play.mvc.Controller;
+import play.mvc.Result;
+
+@Singleton
+public class MyController extends Controller {
+
+  private final GreeterServiceClient greeterServiceClient;
+
+  @Inject
+  public MyController(GreeterServiceClient greeterServiceClient) {
+    this.greeterServiceClient = greeterServiceClient;
+  }
+
+  public CompletionStage<Result> sayHello(String name) {
+    return greeterServiceClient
+        .sayHello(HelloRequest.newBuilder().setName(name).build())
+        .thenApply(response -> ok("response: " + response.getMessage()));
+  };
+}
+
+
+
+
+
+
+
+
+
+ + + + + + + + + diff --git a/play-grpc/0.12.x/gradle-support.html b/play-grpc/0.12.x/gradle-support.html new file mode 100644 index 0000000..76bd689 --- /dev/null +++ b/play-grpc/0.12.x/gradle-support.html @@ -0,0 +1,251 @@ + + + + + + Gradle support in Play :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

Gradle support in Play

+
+

To enable the Play support in a Gradle project you need to set the option generatePlay to true. +This will make sure play-specific code is generated in addition to plain Pekko gRPC code:

+
+
+
+
pekkoGrpc {
+  language = "Java"
+  generateClient = true
+  generateServer = true
+  extraGenerators = [
+    'play.grpc.gen.javadsl.PlayJavaClientCodeGenerator',
+    'play.grpc.gen.javadsl.PlayJavaServerCodeGenerator'
+  ]
+}
+
+
+
+

See the Pekko gRPC Gradle support docs for further details.

+
+
+
+
+
+ + + + + + + + + diff --git a/play-grpc/0.12.x/index.html b/play-grpc/0.12.x/index.html new file mode 100644 index 0000000..8587f83 --- /dev/null +++ b/play-grpc/0.12.x/index.html @@ -0,0 +1,236 @@ + + + + + + Play gRPC :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

Play gRPC

+
+

Pekko gRPC provides support for building streaming gRPC servers and clients on top of Pekko Streams. Play gRPC provides examples and tools on embedding Pekko gRPC endpoints on Play applications.

+
+
+

For a full example project see the Quickstart Java project or Quickstart Scala project

+
+
+
+
+
+ + + + + + + + + diff --git a/play-grpc/0.12.x/serving-grpc.html b/play-grpc/0.12.x/serving-grpc.html new file mode 100644 index 0000000..1e0f022 --- /dev/null +++ b/play-grpc/0.12.x/serving-grpc.html @@ -0,0 +1,408 @@ + + + + + + Serving gRPC from Play :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

Serving gRPC from Play

+
+

To be able to serve gRPC from a Play Framework app you must enable HTTP/2 Support with HTTPS and the ALPN agent.

+
+
+ + + + + +
+ + +To use gRPC in Play Framework you must enable HTTP/2 Support. +
+
+
+

Generating classes from the gRPC service definition is done by adding the Pekko gRPC plugin to your sbt build along with the Play gRPC generators:

+
+
+
+
// in project/plugins.sbt:
+addSbtPlugin("org.apache.pekko" % "pekko-grpc-sbt-plugin" % "1.0.3")
+resolvers += Resolver.sonatypeRepo("snapshots")
+libraryDependencies += "org.playframework" %% "play-grpc-generators" % "0.12.x"
+
+
+
+

Then you need to enable the Play server side code generator in build.sbt:

+
+
+
+
+
    +
  • +

    Scala

    +
  • +
  • +

    Java

    +
  • +
+
+
+
+
+
enablePlugins(PekkoGrpcPlugin)
+import play.grpc.gen.scaladsl.PlayScalaServerCodeGenerator
+pekkoGrpcExtraGenerators += PlayScalaServerCodeGenerator
+libraryDependencies += "org.playframework" %% "play-grpc-runtime" % "0.12.x"
+
+
+
+
+
+
+
enablePlugins(PekkoGrpcPlugin)
+import play.grpc.gen.javadsl.PlayJavaServerCodeGenerator
+pekkoGrpcExtraGenerators += PlayJavaServerCodeGenerator
+libraryDependencies += "org.playframework" %% "play-grpc-runtime" % "0.12.x"
+
+
+
+
+
+
+

The plugin will look for .proto service descriptors in app/protobuf and output an abstract class per service that you then implement, so for example for the following protobuf descriptor:

+
+
+
+
syntax = "proto3";
+
+option java_multiple_files = true;
+option java_package = "example.myapp.helloworld.grpc";
+option java_outer_classname = "HelloWorldProto";
+
+package helloworld;
+
+service GreeterService {
+    rpc SayHello (HelloRequest) returns (HelloReply) {}
+}
+
+message HelloRequest {
+    string name = 1;
+}
+
+message HelloReply {
+    string message = 1;
+}
+
+
+
+

You will get an abstract class named example.myapp.helloworld.grpc.helloworld.AbstractGreeterServiceRouter. example.myapp.helloworld.grpc.AbstractGreeterServiceRouter. +Create a concrete subclass implementing this wherever you see fit in your project, let’s say controller.GreeterServiceImpl like so:

+
+
+
+
+
    +
  • +

    Scala

    +
  • +
  • +

    Java

    +
  • +
+
+
+
+
+
package controllers
+
+import javax.inject.Inject
+import javax.inject.Singleton
+
+import scala.concurrent.Future
+
+import example.myapp.helloworld.grpc.helloworld.AbstractGreeterServiceRouter
+import example.myapp.helloworld.grpc.helloworld.HelloReply
+import example.myapp.helloworld.grpc.helloworld.HelloRequest
+import org.apache.pekko.actor.ActorSystem
+
+/** User implementation, with support for dependency injection etc */
+@Singleton
+class GreeterServiceImpl @Inject() (implicit actorSystem: ActorSystem)
+    extends AbstractGreeterServiceRouter(actorSystem) {
+
+  override def sayHello(in: HelloRequest): Future[HelloReply] = Future.successful(HelloReply(s"Hello, ${in.name}!"))
+
+}
+
+
+
+
+
+
+
package controllers;
+
+import org.apache.pekko.actor.ActorSystem;
+import com.google.inject.Inject;
+import example.myapp.helloworld.grpc.AbstractGreeterServiceRouter;
+import example.myapp.helloworld.grpc.HelloReply;
+import example.myapp.helloworld.grpc.HelloRequest;
+import java.util.concurrent.CompletableFuture;
+import java.util.concurrent.CompletionStage;
+import javax.inject.Singleton;
+
+/** User implementation, with support for dependency injection etc */
+@Singleton
+public class GreeterServiceImpl extends AbstractGreeterServiceRouter {
+
+  @Inject
+  public GreeterServiceImpl(ActorSystem actorSystem) {
+    super(actorSystem);
+  }
+
+  @Override
+  public CompletionStage<HelloReply> sayHello(HelloRequest in) {
+    String message = String.format("Hello, %s!", in.getName());
+    HelloReply reply = HelloReply.newBuilder().setMessage(message).build();
+    return CompletableFuture.completedFuture(reply);
+  }
+}
+
+
+
+
+
+
+

And then add the router to your Play conf/routes file. Note that the router already knows its own path since it is based on the package name and service name of the service and therefore the path / is enough to get it to end up in the right place (in this example the path will be /helloworld.GreeterService). It cannot be added at an arbitrary path (if you try to do so an exception will be thrown when the router is started).

+
+
+
+
->     /   controllers.GreeterServiceImpl
+
+
+
+

A gRPC client can now connect to the server and call the provided services.

+
+
+
+
+
+ + + + + + + + + diff --git a/play-soap/1.x/handlers.html b/play-soap/1.x/handlers.html new file mode 100644 index 0000000..41cdc23 --- /dev/null +++ b/play-soap/1.x/handlers.html @@ -0,0 +1,404 @@ + + + + + + Using JAX WS Handlers :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

Using JAX WS Handlers

+
+
+
+

JAX WS provides an abstraction called handlers to allow cross cutting concerns to be implemented across all calls. Handlers are able to inspect and modify the incoming and outgoing messages, including SOAP data objects and request/response headers. They’re also able to block requests from being made entirely.

+
+
+

Use cases for handlers include logging, security, monitoring, and many other application specific concerns. For examples of how to implement security using handlers, see Security.

+
+
+
+
+

Handlers in Java

+
+
+

Implementing handlers in Java

+
+

A handler can be implemented by extending a sub type of javax.xml.ws.handler.Handler. Which subtype you implement depends on your use case, for more details about the types of handlers, see here. We’ll implement a simple logging handler, to do this we extend javax.xml.ws.handler.soap.SOAPHandler.

+
+
+
+
import javax.xml.namespace.QName;
+import javax.xml.soap.SOAPMessage;
+import javax.xml.ws.handler.MessageContext;
+import javax.xml.ws.handler.soap.SOAPHandler;
+import javax.xml.ws.handler.soap.SOAPMessageContext;
+import java.util.Set;
+
+public class LoggingHandler implements SOAPHandler<SOAPMessageContext> {
+    public Set<QName> getHeaders() {
+        return null;
+    }
+
+    public boolean handleMessage(SOAPMessageContext context) {
+        Boolean outbound = (Boolean) context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY);
+        SOAPMessage message = context.getMessage();
+
+        try {
+            if (outbound) {
+                System.out.println("Sending message:");
+                message.writeTo(System.out);
+            } else {
+                Integer responseCode = (Integer) context.get(MessageContext.HTTP_RESPONSE_CODE);
+                System.out.println("Received " + responseCode + "response:");
+                message.writeTo(System.out);
+            }
+            System.out.println();
+        } catch (Exception e) {
+            throw new RuntimeException(e);
+        }
+        return true;
+    }
+
+    public boolean handleFault(SOAPMessageContext context) {
+        return true;
+    }
+
+    public void close(MessageContext context) {
+    }
+}
+
+
+
+

The main method to implement here is the handleMessage method. It takes in the message context, and returns a boolean to say whether message processing should continue down the handler chain. By returning false, you can block the request.

+
+
+

The same method is invoked for outgoing messages (that is, the request sent to the server) and incoming messages (that is, the response coming from the server). To know whether a message is incoming or outgoing, the outbound property needs to be checked. This is done using the following code:

+
+
+
+
Boolean outbound = (Boolean) context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY);
+
+
+
+

You can see that the SOAP message is also being loaded so that it can be logged, this is the XML representation of the method invocation or response. You can also see that the HTTP response code is being read from incoming messages, and being logged.

+
+
+
+

Using handlers in Java

+
+

To use the logging handler that we implemented, we can supply it to get method for our port from the service. For example, to use it with the HelloWorldService that we saw earlier in the documentation, simply pass the list of handlers to the getHelloWorld method, like so:

+
+
+
+
HelloWorld client = helloWorldService.getHelloWorld(new LoggingHandler());
+
+
+
+
+
+
+

Handlers in Scala

+
+
+

Implementing handlers in Scala

+
+

A handler can be implemented by extending a sub type of javax.xml.ws.handler.Handler. Which subtype you implement depends on your use case, for more details about the types of handlers, see here. We’ll implement a simple logging handler, to do this we extend javax.xml.ws.handler.soap.SOAPHandler.

+
+
+
+
import javax.xml.ws.handler.MessageContext
+import javax.xml.ws.handler.soap.{SOAPMessageContext, SOAPHandler}
+
+class LoggingHandler extends SOAPHandler[SOAPMessageContext] {
+  def getHeaders = null
+
+  def handleMessage(context: SOAPMessageContext) = {
+    val outbound = context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY)
+      .asInstanceOf[java.lang.Boolean]
+    val message = context.getMessage
+
+    if (outbound) {
+      println(s"Sending message:")
+      message.writeTo(System.out)
+    } else {
+      val responseCode = context.get(MessageContext.HTTP_RESPONSE_CODE)
+      println(s"Received $responseCode response:")
+      message.writeTo(System.out)
+    }
+    println()
+    true
+  }
+
+  def close(context: MessageContext) = ()
+
+  def handleFault(context: SOAPMessageContext) = {
+    println(s"Received fault:")
+    context.getMessage.writeTo(System.out)
+    println()
+    true
+  }
+}
+
+
+
+

The main method to implement here is the handleMessage method. It takes in the message context, and returns a boolean to say whether message processing should continue down the handler chain. By returning false, you can block the request.

+
+
+

The same method is invoked for outgoing messages (that is, the request sent to the server) and incoming messages (that is, the response coming from the server). To know whether a message is incoming or outgoing, the outbound property needs to be checked. This is done using the following code:

+
+
+
+
val outbound = context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY)
+  .asInstanceOf[java.lang.Boolean]
+
+
+
+

You can see that the SOAP message is also being loaded so that it can be logged, this is the XML representation of the method invocation or response. You can also see that the HTTP response code is being read from incoming messages, and being logged.

+
+
+
+

Using handlers in Scala

+
+

To use the logging handler that we implemented, we can supply it to get method for our port from the service. For example, to use it with the HelloWorldService that we saw earlier in the documentation, simply pass the list of handlers to the helloWorld method, like so:

+
+
+
+
val client: HelloWorld = helloWorldService.helloWorld(new LoggingHandler)
+
+
+
+
+
+
+
+
+
+ + + + + + + + + diff --git a/play-soap/1.x/index.html b/play-soap/1.x/index.html new file mode 100644 index 0000000..023a22d --- /dev/null +++ b/play-soap/1.x/index.html @@ -0,0 +1,266 @@ + + + + + + Play SOAP :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

Play SOAP

+
+
+
+

Play SOAP allows a Play application to make calls on a remote web service using SOAP. It provides a reactive interface to doing so, making HTTP requests asynchronously and returning promises/futures of the result.

+
+
+
+
+

JAX WS support

+
+
+

Play SOAP builds on the JAX WS spec, but doesn’t implement it exactly. JAX WS, while it does have support for making asynchronous calls, this support is somewhat clumsy, requiring all asynchronous methods to have an Async suffix, and requiring the passing of an AsyncHandler argument to handle the response, which makes it awkward to integrate into an asynchronous framework since `AsyncHandler’s do not compose well with other asynchronous constructs. This support could be described as a second class citizen, bolted on to the spec as an after thought.

+
+
+

In contrast, Play SOAP provides asynchronous invocation of SOAP services as a first class citizen. Play SOAP methods all return promises, making them easy to compose with promises from other libraries, and allowing application code to be focussed on business logic, not on wiring asynchronous callbacks together.

+
+
+
+
+

Using Play SOAP

+
+
+

Play SOAP is an sbt plugin that transforms WSDLs into SOAP client interfaces, and provides a client library that takes Play SOAP generated interfaces and dynamically implements them to make calls on remote services. The sbt plugin is called SbtWsdl, and this is the starting point to installing and using Play SOAP.

+
+
+
+
+
+
+
+ + + + + + + + + diff --git a/play-soap/1.x/play-soap-client.html b/play-soap/1.x/play-soap-client.html new file mode 100644 index 0000000..69c3c8e --- /dev/null +++ b/play-soap/1.x/play-soap-client.html @@ -0,0 +1,434 @@ + + + + + + Using the Play SOAP client :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

Using the Play SOAP client

+
+

Accessing the client

+
+
+

Once you have sbt WSDL generating a soap client for you, it is quite straightforward to use. How you access it depends on the service and port names in the WSDL. Consider the following service section from a WSDL:

+
+
+
+
<wsdl:service name="HelloWorldService">
+  <wsdl:port binding="tns:HelloWorldSoapBinding" name="HelloWorld">
+    <soap:address location="http://example.com/helloWorld"/>
+  </wsdl:port>
+</wsdl:service>
+
+
+
+

Assuming that the package name that the client was generated into is com.example, Play will generate a service class called com.example.HelloWorldService. This class is actually a Play plugin that allows you to configure the client, including configuring the address for each port to use.

+
+
+

Note that there are some situations where sbt WSDL won’t use the service name from the WSDL, these are when the name of the service conflicts with another class that it generated, such as the name of the service endpoint interface. In that case, sbt WSDL will append _Service to the end of the service name, for example com.example.HelloWorldService_Service.

+
+
+

Having located the service class, you can now get a port. In the above WSDL there is one port named HelloWorld, and, according to the HelloWorldSoapBinding (not shown above), this returns a service endpoint interface called HelloWorld. To access the endpoint, simply have it injected into your components or controllers, like so in Scala:

+
+
+
+
class MyComponent @Inject() (helloWorldService: HelloWorldService) {
+  val client: HelloWorld = helloWorldService.helloWorld
+}
+
+
+
+

Or in Java:

+
+
+
+
public class MyComponent {
+
+    private final HelloWorldService helloWorldService;
+
+    @Inject
+    public MyComponent(HelloWorldService helloWorldService) {
+        this.helloWorldService - helloWorldService;
+    }
+
+    public void someMethod() {
+        HelloWorld client = helloWorldService.getHelloWorld();
+        // use the client somehow
+    }
+}
+
+
+
+
+
+

Using the client

+
+
+

Once you’ve got a reference to the client, you can invoke methods on it. For example, let’s assume our client has operation called sayHello that takes a String parameter and returns a String parameter. To invoke this from a Play Scala action, you would do this:

+
+
+
+
import play.api.libs.concurrent.Execution.Implicits._
+
+def hello(name: String) = Action.async {
+  val client: HelloWorld = helloWorldService.helloWorld
+  client.sayHello(name).map { answer =>
+    Ok(answer)
+  }
+}
+
+
+
+

To invoke it from a Play Java action you would do this:

+
+
+
+
import java.util.concurrent.CompletionStage;
+
+public CompletionStage<Result> hello(String name) {
+    HelloWorld client = helloWorldService.getHelloWorld();
+    return client.sayHello(name).map(answer -> {
+        return ok(answer);
+    });
+}
+
+
+
+

A note on using Scala

+
+

The generated data objects will all be Java beans, with getter/setter style properties, and using Java collections. For convenience when working with the Java collections, you may import the Scala implicit conversions for Scala collections, like so:

+
+
+
+
import scala.collection.JavaConverters._
+
+
+
+

Using this you can work with Java collections as if they were Scala collections, and pass Scala collections to setters and methods that accept Java collections.

+
+
+

It’s also important to remember that many properties could be null.

+
+
+

A pure Scala client that uses case classes, Scala collections and Option is a possible future enhancement for the Play SOAP library.

+
+
+
+
+
+

Configuring the client

+
+
+

Configuration for the client works hierarchically, each configuration item is first checked to see if it’s defined for the port, if not then for the service, and finally globally. The format for global configuration is play.soap.*. The format for configuration applying to a particular service is play.soap.services.<fqsn>, where <fqsn> is the fully qualified service name, for example, com.example.HelloWorldService. The format for configuration applying to a particular port is play.soap.services.<fqsn>.ports.<portName>, where <portName> is the name of the port, for example HelloWorld.

+
+
+

So for the client above, to set the debug log just for the port, you would set:

+
+
+
+
play.soap.services.com.example.HelloWorldService.ports.HelloWorld.debugLog = true
+
+
+
+

To set it for the whole service, you would set:

+
+
+
+
play.soap.services.com.example.HelloWorldService.debugLog = true
+
+
+
+

And to set it globally, you would set:

+
+
+
+
play.soap.debugLog = true
+
+
+
+

Changing the address

+
+

The address of a port can be set using the address property. For example, to set the address of every port for the HelloWorldService:

+
+
+
+
play.soap.services.com.example.HelloWorldService.address = "http://example.com/helloWorld"
+
+
+
+
+

Turning on the debug log

+
+

The debug log will log the outbound and inbound messages, including HTTP headers, made by the client. An example of this is as follows:

+
+
+
+
16:52:17.953 [pool-1-thread-1] INFO  o.a.c.s.H.HelloWorldPort.HelloWorld - Outbound Message
+---------------------------
+ID: 1
+Address: http://example.com/helloWorld
+Encoding: UTF-8
+Http-Method: POST
+Content-Type: text/xml
+Headers: {Accept=[*/*], SOAPAction=[""]}
+Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:sayHello xmlns:ns2="http://example.com/"><name>world</name></ns2:sayHello></soap:Body></soap:Envelope>
+--------------------------------------
+16:52:18.180 [default-workqueue-1] INFO  o.a.c.s.H.HelloWorldPort.HelloWorld - Inbound Message
+----------------------------
+ID: 1
+Response-Code: 200
+Encoding: UTF-8
+Content-Type: text/xml;charset=UTF-8
+Headers: {Content-Length=[204], content-type=[text/xml;charset=UTF-8], Server=[Jetty(8.1.15.v20140411)]}
+Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:sayHelloResponse xmlns:ns2="http://example.com/"><return>Hello world</return></ns2:sayHelloResponse></soap:Body></soap:Envelope>
+--------------------------------------
+
+
+
+

The debug log can be turned on using the debugLog property, for example, to turn it on globally:

+
+
+
+
play.soap.debugLog = true
+
+
+
+

In combination with the debugLog property, you may need to adjust the logging levels in your Play application. To see the debug log, you need to ensure that org.apache.cxf.services is configured to log at least INFO messages. This can be further refined by supplying the service name, port and service endpoint interface name, for example, org.apache.cxf.services.HelloWorldService.

+
+
+
+
+
+
+
+
+ + + + + + + + + diff --git a/play-soap/1.x/sbt-wsdl.html b/play-soap/1.x/sbt-wsdl.html new file mode 100644 index 0000000..284c1bd --- /dev/null +++ b/play-soap/1.x/sbt-wsdl.html @@ -0,0 +1,385 @@ + + + + + + Using sbt WSDL :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

Using sbt WSDL

+
+

Installation

+
+
+

To install sbt WSDL into your Play project, add the following lines to your project/plugins.sbt:

+
+
+
+
addSbtPlugin("com.typesafe.sbt" % "sbt-play-soap" % "1.2.0") // requires sbt 1.x, the last version with support for sbt 0.13.18 is 1.1.3
+
+
+
+

The plugin is automatically activated on install, and this will also cause the necessary Play SOAP client libraries to be added to your project.

+
+
+
+
+

Supplying WSDLs

+
+
+

There are two ways to supply WSDLs to the plugin. One is to configure a URL or set of URLs to point the compiler at. This can be done by using the wsdlUrls setting:

+
+
+
+
WsdlKeys.wsdlUrls in Compile += url("http://someservice.com/path?wsdl")
+
+
+
+

Notice that the setting must be in the compile scope - WSDL’s can also be compiled just for the Test scope too.

+
+
+

The other is to place WSDLs in the conf/wsdls directory for a Play project, or in src/main/wsdl for an ordinary SBT project. You can also use both local files and urls.

+
+
+
+
+

Configuring WSDL compilation

+
+
+

Selecting the future API

+
+

sbt WSDL can generate clients to either return scala.concurrent.Future for Scala projects, or java.util.concurrent.CompletionStage for Java projects. If your project is a Play project, the future API will automatically be selected based on whether you enabled the PlayJava or PlayScala plugin. If it’s an ordinary sbt project, it will default to scala.concurrent.Future. This can be configured to use the Java promise using the futureApi setting:

+
+
+
+
WsdlKeys.futureApi := WsdlKeys.PlayJavaFutureApi
+
+
+
+
+

Configuring the package name

+
+

By default, all WSDLs will be generated into a package structure that matches the namespace in the WSDL. For example, if you have a WSDL that defines a targetNamespace="http://example.com/", the package that the client will be generated into will be com.example.

+
+
+

The package can be configured in many ways. One way is to override it globally, that is, for all WSDLs and namespaces, this can be done using the packageName setting:

+
+
+
+
WsdlKeys.packageName := Some("com.mycompany.example")
+
+
+
+

Additionally, individual namespaces can be configured using the packageMappings setting:

+
+
+
+
WsdlKeys.packageMappings += ("http://example.com/" -> "com.mycompany.example")
+
+
+
+

Both packageName and packageMappings can be used together, packageMappings will take precedence over packageName.

+
+
+
+

Configuring the service name

+
+

The service name from the WSDL can be overridden if desired, using the serviceName setting:

+
+
+
+
WsdlKeys.serviceName := Some("MyService")
+
+
+
+
+
+
+

Advanced configuration

+
+
+

Supplying additional arguments to wsdl2java

+
+

sbt WSDL is built on top of the Apache CXF wsdl2java tool. Many of the options that it supports can also be used when you’re using sbt WSDL. To see a full list of options supported by Apache CXF, run sbt wsdlHelp. These options can then be configured in your build by adding them to the wsdlArgs setting.

+
+
+

For example, if you the WSDL contains an operation called sayHello, and you want this to be generated using wrapper style (that is, all the arguments to the method are passed using a single object that wraps them), you could add the following configuration:

+
+
+
+
WsdlKeys.wsdlToCodeArgs += "-bareMethods=sayHello"
+
+
+
+
+

Using different configurations for different WSDL files

+
+

In some cases you may want to have completely different configurations for different WSDL files - or you may want to use the same WSDL file to generate two different clients. This can be done using the wsdlTasks task. By default, this task is built by combining all the settings used above, but if you override it, then the settings above will be ignored.

+
+
+

Each wsdl generation task that is executed is defined by the following case class:

+
+
+
+
case class WsdlTask(
+  url: URL,
+  futureApi: FutureApi = ScalaFutureApi,
+  packageName: Option[String] = None,
+  packageMappings: Map[String, String] = Map.empty,
+  serviceName: Option[String] = None,
+  args: Seq[String] = Nil
+)
+
+
+
+

Let’s say you have one WSDL on the filesystem in src/main/wsdl/foo.wsdl, and you want it generated into the com.example.foo package using the Scala future API, and another WSDL at http://example.com/bar?wsdl that you want generated into the com.example.bar package using the Java future API, then you could configure that like this:

+
+
+
+
WsdlKeys.wsdlTasks in Compile := Seq(
+  WsdlKeys.WsdlTask((sourceDirectory.value / "wsdl" / "foo.wsdl").toURI.toURL),
+    packageName = Some("com.example.foo")
+  ),
+  WsdlKeys.WsdlTask(url("http://example.com/bar?wsdl"),
+    futureApi = WsdlKeys.PlayJavaFutureApi,
+    packageName = Some("com.example.bar")
+  )
+)
+
+
+
+
+
+
+
+
+
+ + + + + + + + + diff --git a/play-soap/1.x/security.html b/play-soap/1.x/security.html new file mode 100644 index 0000000..c280b36 --- /dev/null +++ b/play-soap/1.x/security.html @@ -0,0 +1,343 @@ + + + + + + Security :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

Security

+
+
+
+

Most security protocols can be implemented in Play SOAP using handlers. For general documentation on handlers, see here.

+
+
+
+
+

Adding an authentication token to requests

+
+
+

Let’s say you wanted to make authenticated requests on a web service that expected an authentication token in the request header. To implement this, you can get the request headers from the message context, and add the authentication token there. The HTTP request headers can be loaded by reading the javax.xml.ws.handler.MessageContext.HTTP_REQUEST_HEADERS property. Of course, this should only be done when the message is an outbound message, so the implementation needs to check that as well.

+
+
+

Adding an authentication token in Java

+
+
+
import javax.xml.namespace.QName;
+import javax.xml.ws.handler.MessageContext;
+import javax.xml.ws.handler.soap.SOAPHandler;
+import javax.xml.ws.handler.soap.SOAPMessageContext;
+import java.util.*;
+
+public class AuthenticationHandler implements SOAPHandler<SOAPMessageContext> {
+
+    public Set<QName> getHeaders() {
+        return null;
+    }
+
+    public boolean handleMessage(SOAPMessageContext context) {
+        Boolean outbound = (Boolean) context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY);
+
+        if (outbound) {
+            // Get headers, create if null
+            Map<String, List<String>> headers = (Map) context.get(MessageContext.HTTP_REQUEST_HEADERS);
+            if (headers == null) {
+                headers = new HashMap<>();
+            }
+
+            // Add authentication header
+            headers.put("Authentication-Token", Arrays.asList("somesecret"));
+            context.put(MessageContext.HTTP_REQUEST_HEADERS, headers);
+        }
+        return true;
+    }
+
+    public boolean handleFault(SOAPMessageContext context) {
+        return true;
+    }
+
+    public void close(MessageContext context) {
+    }
+}
+
+
+
+
+

Adding an authentication token in Scala

+
+

Note that in the collection types used by the JAX WS API are Java collection types, so care needs to be taken to ensure that these types are used in the Scala code, rather than the Scala collection types. A common way to address this in Scala is to use aliased imports, prepending the letter J to each type, for example, import java.util.{Map ⇒ JMap}.

+
+
+
+
import javax.xml.ws.handler.MessageContext
+import javax.xml.ws.handler.soap.{SOAPMessageContext, SOAPHandler}
+
+import java.util.{Map => JMap, List => JList, HashMap => JHashMap}
+import scala.collection.JavaConverters._
+
+class AuthenticationHandler extends SOAPHandler[SOAPMessageContext] {
+  def getHeaders = null
+
+  def handleMessage(context: SOAPMessageContext) = {
+    // If this is an outbound message
+    if (context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY)
+      .asInstanceOf[java.lang.Boolean]) {
+
+      // Get the request headers, which may be null, in which case create them
+      val headers = Option(context.get(MessageContext.HTTP_REQUEST_HEADERS)
+        .asInstanceOf[JMap[String, JList[String]]]
+      ).getOrElse(new JHashMap[String, JList[String]])
+
+      // Add the authentication token to the headers
+      headers += ("Authentication-Token" -> List("somesecret"))
+
+      // Attach the headers to the context
+      context += (MessageContext.HTTP_REQUEST_HEADERS -> headers)
+
+    }
+    true
+  }
+
+  def close(context: MessageContext) = ()
+
+  def handleFault(context: SOAPMessageContext) = true
+}
+
+
+
+
+
+
+
+
+
+ + + + + + + + + diff --git a/play-soap/2.x/client/handlers.html b/play-soap/2.x/client/handlers.html new file mode 100644 index 0000000..23b4769 --- /dev/null +++ b/play-soap/2.x/client/handlers.html @@ -0,0 +1,429 @@ + + + + + + Using JAX WS Handlers :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

Using JAX WS Handlers

+
+
+
+

JAX WS provides an abstraction called handlers to allow cross cutting concerns to be implemented across all calls. Handlers are able to inspect and modify the incoming and outgoing messages, including SOAP data objects and request/response headers. They’re also able to block requests from being made entirely.

+
+
+

Use cases for handlers include logging, security, monitoring, and many other application specific concerns. For examples of how to implement security using handlers, see Security.

+
+
+
+
+

Handlers in Java

+
+
+

Implementing handlers in Java

+
+

A handler can be implemented by extending a sub type of javax.xml.ws.handler.Handler. Which subtype you implement depends on your use case, for more details about the types of handlers, see here. We’ll implement a simple logging handler, to do this we extend javax.xml.ws.handler.soap.SOAPHandler.

+
+
+
+
import javax.xml.namespace.QName;
+import javax.xml.soap.SOAPMessage;
+import javax.xml.ws.handler.MessageContext;
+import javax.xml.ws.handler.soap.SOAPHandler;
+import javax.xml.ws.handler.soap.SOAPMessageContext;
+import java.util.Set;
+
+public class LoggingHandler implements SOAPHandler<SOAPMessageContext> {
+    public Set<QName> getHeaders() {
+        return null;
+    }
+
+    public boolean handleMessage(SOAPMessageContext context) {
+        Boolean outbound = (Boolean) context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY);
+        SOAPMessage message = context.getMessage();
+
+        try {
+            if (outbound) {
+                System.out.println("Sending message:");
+                message.writeTo(System.out);
+            } else {
+                Integer responseCode = (Integer) context.get(MessageContext.HTTP_RESPONSE_CODE);
+                System.out.println("Received " + responseCode + "response:");
+                message.writeTo(System.out);
+            }
+            System.out.println();
+        } catch (Exception e) {
+            throw new RuntimeException(e);
+        }
+        return true;
+    }
+
+    public boolean handleFault(SOAPMessageContext context) {
+        return true;
+    }
+
+    public void close(MessageContext context) {
+    }
+}
+
+
+
+

The main method to implement here is the handleMessage method. It takes in the message context, and returns a boolean to say whether message processing should continue down the handler chain. By returning false, you can block the request.

+
+
+

The same method is invoked for outgoing messages (that is, the request sent to the server) and incoming messages (that is, the response coming from the server). To know whether a message is incoming or outgoing, the outbound property needs to be checked. This is done using the following code:

+
+
+
+
Boolean outbound = (Boolean) context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY);
+
+
+
+

You can see that the SOAP message is also being loaded so that it can be logged, this is the XML representation of the method invocation or response. You can also see that the HTTP response code is being read from incoming messages, and being logged.

+
+
+
+

Using handlers in Java

+
+

To use the logging handler that we implemented, we can supply it to get method for our port from the service. For example, to use it with the HelloWorldService that we saw earlier in the documentation, simply pass the list of handlers to the getHelloWorld method, like so:

+
+
+
+
HelloWorld client = helloWorldService.getHelloWorld(new LoggingHandler());
+
+
+
+
+
+
+

Handlers in Scala

+
+
+

Implementing handlers in Scala

+
+

A handler can be implemented by extending a sub type of javax.xml.ws.handler.Handler. Which subtype you implement depends on your use case, for more details about the types of handlers, see here. We’ll implement a simple logging handler, to do this we extend javax.xml.ws.handler.soap.SOAPHandler.

+
+
+
+
import javax.xml.ws.handler.MessageContext
+import javax.xml.ws.handler.soap.{SOAPMessageContext, SOAPHandler}
+
+class LoggingHandler extends SOAPHandler[SOAPMessageContext] {
+  def getHeaders = null
+
+  def handleMessage(context: SOAPMessageContext) = {
+    val outbound = context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY)
+      .asInstanceOf[java.lang.Boolean]
+    val message = context.getMessage
+
+    if (outbound) {
+      println(s"Sending message:")
+      message.writeTo(System.out)
+    } else {
+      val responseCode = context.get(MessageContext.HTTP_RESPONSE_CODE)
+      println(s"Received $responseCode response:")
+      message.writeTo(System.out)
+    }
+    println()
+    true
+  }
+
+  def close(context: MessageContext) = ()
+
+  def handleFault(context: SOAPMessageContext) = {
+    println(s"Received fault:")
+    context.getMessage.writeTo(System.out)
+    println()
+    true
+  }
+}
+
+
+
+

The main method to implement here is the handleMessage method. It takes in the message context, and returns a boolean to say whether message processing should continue down the handler chain. By returning false, you can block the request.

+
+
+

The same method is invoked for outgoing messages (that is, the request sent to the server) and incoming messages (that is, the response coming from the server). To know whether a message is incoming or outgoing, the outbound property needs to be checked. This is done using the following code:

+
+
+
+
val outbound = context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY)
+  .asInstanceOf[java.lang.Boolean]
+
+
+
+

You can see that the SOAP message is also being loaded so that it can be logged, this is the XML representation of the method invocation or response. You can also see that the HTTP response code is being read from incoming messages, and being logged.

+
+
+
+

Using handlers in Scala

+
+

To use the logging handler that we implemented, we can supply it to get method for our port from the service. For example, to use it with the HelloWorldService that we saw earlier in the documentation, simply pass the list of handlers to the helloWorld method, like so:

+
+
+
+
val client: HelloWorld = helloWorldService.helloWorld(new LoggingHandler)
+
+
+
+
+
+
+
+
+
+ + + + + + + + + diff --git a/play-soap/2.x/client/play-soap-client.html b/play-soap/2.x/client/play-soap-client.html new file mode 100644 index 0000000..aa8b0e5 --- /dev/null +++ b/play-soap/2.x/client/play-soap-client.html @@ -0,0 +1,459 @@ + + + + + + Using the Play SOAP client :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

Using the Play SOAP client

+
+

Accessing the client

+
+
+

Once you have sbt WSDL generating a soap client for you, it is quite straightforward to use. How you access it depends on the service and port names in the WSDL. Consider the following service section from a WSDL:

+
+
+
+
<wsdl:service name="HelloWorldService">
+  <wsdl:port binding="tns:HelloWorldSoapBinding" name="HelloWorld">
+    <soap:address location="http://example.com/helloWorld"/>
+  </wsdl:port>
+</wsdl:service>
+
+
+
+

Assuming that the package name that the client was generated into is com.example, Play will generate a service class called com.example.HelloWorldService. This class is actually a Play plugin that allows you to configure the client, including configuring the address for each port to use.

+
+
+

Note that there are some situations where sbt WSDL won’t use the service name from the WSDL, these are when the name of the service conflicts with another class that it generated, such as the name of the service endpoint interface. In that case, sbt WSDL will append _Service to the end of the service name, for example com.example.HelloWorldService_Service.

+
+
+

Having located the service class, you can now get a port. In the above WSDL there is one port named HelloWorld, and, according to the HelloWorldSoapBinding (not shown above), this returns a service endpoint interface called HelloWorld. To access the endpoint, simply have it injected into your components or controllers, like so in Scala:

+
+
+
+
class MyComponent @Inject() (helloWorldService: HelloWorldService) {
+  val client: HelloWorld = helloWorldService.helloWorld
+}
+
+
+
+

Or in Java:

+
+
+
+
public class MyComponent {
+
+    private final HelloWorldService helloWorldService;
+
+    @Inject
+    public MyComponent(HelloWorldService helloWorldService) {
+        this.helloWorldService - helloWorldService;
+    }
+
+    public void someMethod() {
+        HelloWorld client = helloWorldService.getHelloWorld();
+        // use the client somehow
+    }
+}
+
+
+
+
+
+

Using the client

+
+
+

Once you’ve got a reference to the client, you can invoke methods on it. For example, let’s assume our client has operation called sayHello that takes a String parameter and returns a String parameter. To invoke this from a Play Scala action, you would do this:

+
+
+
+
import play.api.libs.concurrent.Execution.Implicits._
+
+def hello(name: String) = Action.async {
+  val client: HelloWorld = helloWorldService.helloWorld
+  client.sayHello(name).map { answer =>
+    Ok(answer)
+  }
+}
+
+
+
+

To invoke it from a Play Java action you would do this:

+
+
+
+
import java.util.concurrent.CompletionStage;
+
+public CompletionStage<Result> hello(String name) {
+    HelloWorld client = helloWorldService.getHelloWorld();
+    return client.sayHello(name).map(answer -> {
+        return ok(answer);
+    });
+}
+
+
+
+

A note on using Scala

+
+

The generated data objects will all be Java beans, with getter/setter style properties, and using Java collections. For convenience when working with the Java collections, you may import the Scala implicit conversions for Scala collections, like so:

+
+
+
+
import scala.collection.JavaConverters._
+
+
+
+

Using this you can work with Java collections as if they were Scala collections, and pass Scala collections to setters and methods that accept Java collections.

+
+
+

It’s also important to remember that many properties could be null.

+
+
+

A pure Scala client that uses case classes, Scala collections and Option is a possible future enhancement for the Play SOAP library.

+
+
+
+
+
+

Configuring the client

+
+
+

Configuration for the client works hierarchically, each configuration item is first checked to see if it’s defined for the port, if not then for the service, and finally globally. The format for global configuration is play.soap.*. The format for configuration applying to a particular service is play.soap.services.<fqsn>, where <fqsn> is the fully qualified service name, for example, com.example.HelloWorldService. The format for configuration applying to a particular port is play.soap.services.<fqsn>.ports.<portName>, where <portName> is the name of the port, for example HelloWorld.

+
+
+

So for the client above, to set the debug log just for the port, you would set:

+
+
+
+
play.soap.services.com.example.HelloWorldService.ports.HelloWorld.debugLog = true
+
+
+
+

To set it for the whole service, you would set:

+
+
+
+
play.soap.services.com.example.HelloWorldService.debugLog = true
+
+
+
+

And to set it globally, you would set:

+
+
+
+
play.soap.debugLog = true
+
+
+
+

Changing the address

+
+

The address of a port can be set using the address property. For example, to set the address of every port for the HelloWorldService:

+
+
+
+
play.soap.services.com.example.HelloWorldService.address = "http://example.com/helloWorld"
+
+
+
+
+

Turning on the debug log

+
+

The debug log will log the outbound and inbound messages, including HTTP headers, made by the client. An example of this is as follows:

+
+
+
+
16:52:17.953 [pool-1-thread-1] INFO  o.a.c.s.H.HelloWorldPort.HelloWorld - Outbound Message
+---------------------------
+ID: 1
+Address: http://example.com/helloWorld
+Encoding: UTF-8
+Http-Method: POST
+Content-Type: text/xml
+Headers: {Accept=[*/*], SOAPAction=[""]}
+Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:sayHello xmlns:ns2="http://example.com/"><name>world</name></ns2:sayHello></soap:Body></soap:Envelope>
+--------------------------------------
+16:52:18.180 [default-workqueue-1] INFO  o.a.c.s.H.HelloWorldPort.HelloWorld - Inbound Message
+----------------------------
+ID: 1
+Response-Code: 200
+Encoding: UTF-8
+Content-Type: text/xml;charset=UTF-8
+Headers: {Content-Length=[204], content-type=[text/xml;charset=UTF-8], Server=[Jetty(8.1.15.v20140411)]}
+Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:sayHelloResponse xmlns:ns2="http://example.com/"><return>Hello world</return></ns2:sayHelloResponse></soap:Body></soap:Envelope>
+--------------------------------------
+
+
+
+

The debug log can be turned on using the debugLog property, for example, to turn it on globally:

+
+
+
+
play.soap.debugLog = true
+
+
+
+

In combination with the debugLog property, you may need to adjust the logging levels in your Play application. To see the debug log, you need to ensure that org.apache.cxf.services is configured to log at least INFO messages. This can be further refined by supplying the service name, port and service endpoint interface name, for example, org.apache.cxf.services.HelloWorldService.

+
+
+
+
+
+
+
+
+ + + + + + + + + diff --git a/play-soap/2.x/client/security.html b/play-soap/2.x/client/security.html new file mode 100644 index 0000000..3b42e08 --- /dev/null +++ b/play-soap/2.x/client/security.html @@ -0,0 +1,368 @@ + + + + + + Security :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

Security

+
+
+
+

Most security protocols can be implemented in Play SOAP using handlers. For general documentation on handlers, see here.

+
+
+
+
+

Adding an authentication token to requests

+
+
+

Let’s say you wanted to make authenticated requests on a web service that expected an authentication token in the request header. To implement this, you can get the request headers from the message context, and add the authentication token there. The HTTP request headers can be loaded by reading the javax.xml.ws.handler.MessageContext.HTTP_REQUEST_HEADERS property. Of course, this should only be done when the message is an outbound message, so the implementation needs to check that as well.

+
+
+

Adding an authentication token in Java

+
+
+
import javax.xml.namespace.QName;
+import javax.xml.ws.handler.MessageContext;
+import javax.xml.ws.handler.soap.SOAPHandler;
+import javax.xml.ws.handler.soap.SOAPMessageContext;
+import java.util.*;
+
+public class AuthenticationHandler implements SOAPHandler<SOAPMessageContext> {
+
+    public Set<QName> getHeaders() {
+        return null;
+    }
+
+    public boolean handleMessage(SOAPMessageContext context) {
+        Boolean outbound = (Boolean) context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY);
+
+        if (outbound) {
+            // Get headers, create if null
+            Map<String, List<String>> headers = (Map) context.get(MessageContext.HTTP_REQUEST_HEADERS);
+            if (headers == null) {
+                headers = new HashMap<>();
+            }
+
+            // Add authentication header
+            headers.put("Authentication-Token", Arrays.asList("somesecret"));
+            context.put(MessageContext.HTTP_REQUEST_HEADERS, headers);
+        }
+        return true;
+    }
+
+    public boolean handleFault(SOAPMessageContext context) {
+        return true;
+    }
+
+    public void close(MessageContext context) {
+    }
+}
+
+
+
+
+

Adding an authentication token in Scala

+
+

Note that in the collection types used by the JAX WS API are Java collection types, so care needs to be taken to ensure that these types are used in the Scala code, rather than the Scala collection types. A common way to address this in Scala is to use aliased imports, prepending the letter J to each type, for example, import java.util.{Map ⇒ JMap}.

+
+
+
+
import javax.xml.ws.handler.MessageContext
+import javax.xml.ws.handler.soap.{SOAPMessageContext, SOAPHandler}
+
+import java.util.{Map => JMap, List => JList, HashMap => JHashMap}
+import scala.collection.JavaConverters._
+
+class AuthenticationHandler extends SOAPHandler[SOAPMessageContext] {
+  def getHeaders = null
+
+  def handleMessage(context: SOAPMessageContext) = {
+    // If this is an outbound message
+    if (context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY)
+      .asInstanceOf[java.lang.Boolean]) {
+
+      // Get the request headers, which may be null, in which case create them
+      val headers = Option(context.get(MessageContext.HTTP_REQUEST_HEADERS)
+        .asInstanceOf[JMap[String, JList[String]]]
+      ).getOrElse(new JHashMap[String, JList[String]])
+
+      // Add the authentication token to the headers
+      headers += ("Authentication-Token" -> List("somesecret"))
+
+      // Attach the headers to the context
+      context += (MessageContext.HTTP_REQUEST_HEADERS -> headers)
+
+    }
+    true
+  }
+
+  def close(context: MessageContext) = ()
+
+  def handleFault(context: SOAPMessageContext) = true
+}
+
+
+
+
+
+
+
+
+
+ + + + + + + + + diff --git a/play-soap/2.x/highlights.html b/play-soap/2.x/highlights.html new file mode 100644 index 0000000..6dd145e --- /dev/null +++ b/play-soap/2.x/highlights.html @@ -0,0 +1,282 @@ + + + + + + What’s new in Play SOAP 2.x :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

What’s new in Play SOAP 2.x

+
+

CXF 4.0

+
+
+

We have upgraded CXF to the next major version, 4.0. Because CXF 4.0 is based on JakartaEE 9.1, all references to the javax.* classpath needed to be migrated to jakarta.*. For more details, see the CXF 4.0 release notes

+
+
+
+
+

Java 11

+
+
+

In order to support CXF 4.0, Play SOAP 2.x now requires Java 11. CXF 3.5 is the last major release of CXF that supported Java 8.

+
+
+
+
+
+
+
+ + + + + + + + + diff --git a/play-soap/2.x/index.html b/play-soap/2.x/index.html new file mode 100644 index 0000000..438aa1f --- /dev/null +++ b/play-soap/2.x/index.html @@ -0,0 +1,310 @@ + + + + + + Play SOAP :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

Play SOAP

+
+
+
+

Play SOAP allows an application to make calls on a remote web service using SOAP. It provides a reactive interface to doing so, making HTTP requests asynchronously and returning promises/futures of the result.

+
+
+
+
+

JAX WS support

+
+
+

Play SOAP builds on the JAX WS spec, but doesn’t implement it exactly. JAX WS does have support for making asynchronous calls, but this support is somewhat clumsy. It requires all asynchronous methods to have an Async suffix, and requires the passing of an AsyncHandler argument to handle the response. This makes it awkward to integrate into an asynchronous framework, since AsyncHandler s do not compose well with other asynchronous constructs. This support could be described as a second class citizen, bolted on to the spec as an afterthought.

+
+
+

In contrast, Play SOAP provides asynchronous invocation of SOAP services as a first class citizen. Play SOAP methods all return promises, making them easy to compose with promises from other libraries, and allowing application code to be focussed on business logic, not on wiring asynchronous callbacks together.

+
+
+
+
+

Client proxy

+
+
+

Proxy interceptor

+
+

To implement the proxy, we have to implement our own version of JaxWsClientProxy. This is the CXF JDK proxy interceptor that implements JAX WS interfaces. It’s here that asynchronous requests are handled, and the logic here is hard coded - it implements the JAX WS requirements, if a method ends in Async and returns something that implements Future then dispatch an asynchronous call. Hence why we have to implement our own to make every method asynchronous regardless of name, and to allow scala Future and Java CompletionStage return types.

+
+
+

This class has a lot of logic copied from JaxWsClientProxy, the actual part that has been customised is quite simple, it just creates a promise, and sends an asynchronous callback that redeems the promise.

+
+
+
+

Return type binding

+
+

When the SOAP bindings are generated, JAXB bindings are generated from the return type. Since this type is a future, we need to tell CXF to use the type it contains.

+
+
+

JAX WS provides a Holder type, this is used to allow methods return multiple values, something that is not possible otherwise in Java. It does this by having the first value returned as the return value of the method, and passing additional Holder objects as arguments to the method, whose values are set when the method returns. Although this wasn’t designed with returning futures in mind, the implementation of it in Apache CXF makes it quite simple to reuse this mechanism to extract the return type, hence this is what we’re doing. This allows us to completely reuse all the reflection code from Apache CXF that generates the bindings from the interface.

+
+
+

In future, we may decide to implement our own reflection code for generating bindings, but for now using the Holder mechanism is good enough. A small amount of hacking is necessary to use it, due to some odd behaviour by the CXF JAX WS support - when the bindings are created, the JAX WS support automatically inserts its own configuration, and implements it in such a way that any configuration that we’ve added for holders gets overridden. We work around this by overriding a method that eventually injects this configuration but is invoked before the binding is actually done, and after invoking the super for the method, we inject our own configuration to override the default behaviour.

+
+
+
+
+
+
+
+
+ + + + + + + + + diff --git a/play-soap/2.x/plugin/cli.html b/play-soap/2.x/plugin/cli.html new file mode 100644 index 0000000..07750f5 --- /dev/null +++ b/play-soap/2.x/plugin/cli.html @@ -0,0 +1,277 @@ + + + + + + Сommand Line Interface :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

Сommand Line Interface

+
+

Use wsdl2java with options:

+
+
+
+
export CLASSPATH=../../play-soap-plugin.jar
+wsdl2java -fe play '-xjc-Xplay:lang java' '-xjc-Xplay:target play' helloWorld.wsdl
+
+
+
+
+
+
+ + + + + + + + + diff --git a/play-soap/2.x/plugin/gradle.html b/play-soap/2.x/plugin/gradle.html new file mode 100644 index 0000000..4ba50d9 --- /dev/null +++ b/play-soap/2.x/plugin/gradle.html @@ -0,0 +1,293 @@ + + + + + + Gradle :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

Gradle

+
+

Example using play-soap-plugin with wsdl2java gradle plugin:

+
+
+

Add the following dependencies and plugin configuration to your build.gradle file. Additional arguments needed to generate java classes for our web-service WSDLs should be added to the wsdl2java block.

+
+
+
+
plugins {
+  id "no.nils.wsdl2java" version "0.12"
+}
+
+dependencies {
+    wsdl2java(
+	   [group: 'com.typesafe.play', name: 'play-soap-plugin', version: '2.0.0']
+    )
+}
+
+wsdl2java {
+    wsdlsToGenerate = [
+            ['-fe', 'play', '-xjc-Xplay:lang java', '-xjc-Xplay:target play', "${projectDir}/src/main/resources/helloWorld.wsdl"]
+    ]
+}
+
+
+
+
+
+
+ + + + + + + + + diff --git a/play-soap/2.x/plugin/how-to-use.html b/play-soap/2.x/plugin/how-to-use.html new file mode 100644 index 0000000..44f9b6a --- /dev/null +++ b/play-soap/2.x/plugin/how-to-use.html @@ -0,0 +1,319 @@ + + + + + + How To Use :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

How To Use

+
+

Play SOAP Plugin is a plugin module to JAXB that converts WSDLs into SOAP client interfaces for work with asynchronous requests.

+
+
+

Start by adding the dependency play-soap-plugin to the project and set required WSDL options:

+
+ ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
OptionAccepted valuesRequiredInterpretation

-fe

play

true

Specifies the frontend to enable play-soap-plugin

-xjc-Xplay:lang

scala, java

true

Generate the future type to wrap an original type.

+

scala - scala.concurrent.Future for Scala projects.

+

java - java.util.concurrent.CompletionStage for Java projects.

-xjc-Xplay:target

play

false

Generates SOAP client classes for the specified framework.

+

play - Play Framework

+
+

Additional documentation on WSDL2JAVA options can be found +here.

+
+
+

For better workflow integration, consider integrating the module into one of these supported build tools (maven, gradle and sbt). A direct command line interface is also available.

+
+
+
+
+
+ + + + + + + + + diff --git a/play-soap/2.x/plugin/maven.html b/play-soap/2.x/plugin/maven.html new file mode 100644 index 0000000..43f8557 --- /dev/null +++ b/play-soap/2.x/plugin/maven.html @@ -0,0 +1,318 @@ + + + + + + Maven :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

Maven

+
+

Example using play-soap-plugin with cxf-codegen-plugin maven plugin:

+
+
+

Add the following dependencies and plugin configuration to your pom.xml file. Additional arguments needed to generate java classes for our web-service WSDLs should be added to the <wsdlOptions> block.

+
+
+
+
<dependencies>
+     <dependency>
+        <groupId>com.typesafe.play</groupId>
+        <artifactId>play-soap-plugin</artifactId>
+        <version>${play.soap.plugin.version}</version>
+     </dependency>
+</dependencies>
+
+<build>
+    <plugins>
+        <plugin>
+            <groupId>org.apache.cxf</groupId>
+            <artifactId>cxf-codegen-plugin</artifactId>
+            <version>${cxf.version}</version>
+            <executions>
+                <execution>
+                    <id>generate-sources</id>
+                    <phase>generate-sources</phase>
+                    <configuration>
+                        <defaultOptions>
+                            <frontEnd>play</frontEnd>
+                        </defaultOptions>
+                        <wsdlOptions>
+                            <wsdlOption>
+                                <wsdl>${basedir}/src/main/resources/helloWorld.wsdl</wsdl>
+                                <extraargs>
+                                    <extraarg>-xjc-Xplay:lang java</extraarg>
+                                    <extraarg>-xjc-Xplay:target play</extraarg>
+                                </extraargs>
+                            </wsdlOption>
+                        </wsdlOptions>
+                    </configuration>
+                    <goals>
+                        <goal>wsdl2java</goal>
+                    </goals>
+                </execution>
+            </executions>
+        </plugin>
+    </plugins>
+</build>
+
+
+
+
+
+
+ + + + + + + + + diff --git a/play-soap/2.x/plugin/sbt.html b/play-soap/2.x/plugin/sbt.html new file mode 100644 index 0000000..c7a284c --- /dev/null +++ b/play-soap/2.x/plugin/sbt.html @@ -0,0 +1,298 @@ + + + + + + SBT :: Playframework + + + + + + +
+ +
+
+ +
+ +
+ +
+

SBT

+
+

Example using play-soap-plugin with sbt-cxf plugin

+
+
+

Add dependency and plugin into your project in project/plugins.sbt:

+
+
+
+
libraryDependencies ++= Seq("com.typesafe.play" % "play-soap-plugin" % "2.0.0")
+
+addSbtPlugin("io.paymenthighway.sbt" % "sbt-cxf" % "1.6")
+
+
+
+

Add the plugin configuration to the build.sbt file. Additional arguments needed to generate java classes for our web-service WSDLs should be added as parameters to the cxfWSDLs setting:

+
+
+
+
enablePlugins(CxfPlugin)
+
+val CxfVersion = "3.3.3"
+
+version in CXF := CxfVersion
+
+cxfWSDLs := Seq(
+  Wsdl("HelloWorld",(Compile / resourceDirectory).value / "helloWorld.wsdl",
+  Seq("-fe", "play", "-xjc-Xplay:lang scala", "-xjc-Xplay:target play"))
+)
+
+
+
+
+
+
+ + + + + + + + + diff --git a/search-index.js b/search-index.js new file mode 100644 index 0000000..414b83d --- /dev/null +++ b/search-index.js @@ -0,0 +1 @@ +antoraSearch.initSearch(lunr, {"index":{"version":"2.3.9","fields":["title","name","text","component"],"fieldVectors":[["title/1-1",[0,14.611,1,9.079]],["name/1-1",[]],["text/1-1",[]],["component/1-1",[]],["title/1-2",[0,12.519,1,7.779,2,16.551]],["name/1-2",[]],["text/1-2",[]],["component/1-2",[]],["title/1-3",[0,12.519,1,7.779,3,6.188]],["name/1-3",[]],["text/1-3",[]],["component/1-3",[]],["title/1-4",[0,14.611,4,11.302]],["name/1-4",[]],["text/1-4",[]],["component/1-4",[]],["title/1-5",[0,12.519,2,16.551,4,9.683]],["name/1-5",[]],["text/1-5",[]],["component/1-5",[]],["title/1-6",[0,12.519,3,6.188,4,9.683]],["name/1-6",[]],["text/1-6",[]],["component/1-6",[]],["title/1",[0,10.95,3,5.413,5,16.599,6,16.599]],["name/1",[0,0.976]],["text/1",[0,2.119,2,2.645,3,0.907,5,0.661,6,0.661,7,0.576,8,0.878,9,1.147,10,0.695,11,1.143,12,1.143,13,1.984,14,1.143,15,1.143,16,4.175,17,3.548,18,3.051,19,1.641,20,0.515,21,0.946,22,0.822,23,1.143,24,0.822,25,1.143,26,2.173,27,2.155,28,4.175,29,0.946,30,1.143,31,1.779,32,3.329,33,1.682,34,1.143,35,0.878,36,0.602,37,0.878,38,1.17,39,1.592,40,2.051,41,1.984,42,1.905,43,1.984,44,1.984,45,1.094,46,1.426,47,1.426,48,2.255,49,1.984,50,1.787,51,2.173,52,2.328,53,0.946,54,1.143,55,1.641,56,0.946,57,1.143,58,1.869,59,0.786,60,3.136,61,1.641,62,2.645,63,0.576,64,1.641,65,1.859,66,1.426,67,3.656,68,0.946,69,2.935,70,3.178,71,2.594,72,1.143,73,1.984,74,0.878,75,1.143,76,3.136,77,1.984,78,3.136,79,1.984,80,1.143,81,3.178,82,1.143,83,1.143,84,0.732,85,1.143,86,1.143,87,0.878,88,1.143,89,1.396,90,0.946,91,0.822,92,0.946,93,1.984,94,3.465,95,1.984,96,1.426,97,2.826,98,1.984,99,1.984,100,1.984,101,1.984,102,1.426,103,1.787,104,1.524,105,1.984,106,2.008,107,1.984,108,1.524,109,1.426,110,0.756,111,1.426,112,1.205,113,1,114,1.515,115,1.641,116,1.984,117,1.984,118,1.641,119,1.094,120,1.343,121,1.343,122,1.343,123,0.786,124,1.641,125,1.984,126,1.984,127,1.524,128,1.641,129,1.343,130,1.524,131,1.143,132,1.519,133,0.525,134,1.143,135,0.946,136,0.946,137,1.652,138,0.946,139,1.641,140,2.402,141,1.641,142,1.143,143,1.984,144,1.984,145,0.946,146,0.946,147,0.946,148,1.143,149,1.143,150,1.143]],["component/1",[20,0.389,151,0.02]],["title/2-1",[5,18.976,6,18.976,152,10.412]],["name/2-1",[]],["text/2-1",[]],["component/2-1",[]],["title/2-2",[3,6.188,20,6.436,151,0.327]],["name/2-2",[]],["text/2-2",[]],["component/2-2",[]],["title/2",[20,7.512,151,0.382]],["name/2",[153,1.966]],["text/2",[2,1.95,3,0.729,5,2.236,6,2.236,7,2.325,9,2.948,10,2.35,20,1.236,27,1.585,36,2.038,59,1.532,65,1.722,81,1.876,94,2.619,96,1.876,114,1.26,118,2.158,119,1.438,123,1.826,129,1.766,133,1.023,151,0.06,152,1.462,154,3.863,155,3.868,156,1.766,157,2.608,158,3.315,159,2.608,160,5.322,161,2.608,162,2.608,163,1.508,164,3.868,165,2.608,166,2.608,167,2.608,168,2.608,169,2.972,170,2.608,171,2.608,172,2.608,173,1.766,174,2.608,175,2.608,176,2.35,177,1.876,178,3,179,3.868,180,2.158,181,2.608,182,2.004,183,2.608,184,3.868,185,2.608,186,3,187,2.608,188,1.766,189,3.486,190,2.608,191,2.972,192,2.608,193,2.608,194,2.608,195,2.608,196,2.608,197,2.35,198,1.95,199,1.869,200,3,201,1.315,202,0.995,203,3,204,3,205,1.67,206,2.608,207,2.35]],["component/2",[20,0.389,151,0.02]],["title/3-1",[133,10.136,208,31.693]],["name/3-1",[]],["text/3-1",[]],["component/3-1",[]],["title/3-2",[3,7.223,133,10.136]],["name/3-2",[]],["text/3-2",[]],["component/3-2",[]],["title/3-3",[3,6.188,4,9.683,209,18.976]],["name/3-3",[]],["text/3-3",[]],["component/3-3",[]],["title/3-4",[133,10.136,210,16.394]],["name/3-4",[]],["text/3-4",[]],["component/3-4",[]],["title/3-5",[211,38.315,212,27.551]],["name/3-5",[]],["text/3-5",[]],["component/3-5",[]],["title/3-6",[32,23.605,213,27.154,214,27.154]],["name/3-6",[]],["text/3-6",[]],["component/3-6",[]],["title/3",[3,5.413,20,5.63,133,7.596,151,0.286]],["name/3",[20,0.238,133,0.321,151,0.012]],["text/3",[1,0.976,3,0.862,4,1.287,9,1.488,10,0.676,18,1.622,19,1.603,20,0.38,21,0.921,22,0.801,24,1.851,29,0.921,31,1.312,32,2.961,35,0.855,36,0.587,38,1.942,39,0.739,42,1.178,45,0.614,52,1.839,58,1.622,59,1.631,62,2.475,63,2.2,65,1.371,66,0.801,70,1.394,81,0.801,89,1.371,91,0.801,94,1.743,96,0.801,104,1.977,109,2.51,110,0.739,111,0.801,113,0.977,114,0.538,119,1.069,121,0.754,122,3.333,123,2.145,124,3.406,128,0.921,129,0.754,132,2.38,133,1.405,137,0.587,140,1.312,151,0.038,158,1.851,188,0.754,191,0.855,198,1.298,199,0.538,201,2.076,202,1.331,208,1.603,209,0.644,210,1.867,212,2.51,213,1.603,214,2.547,215,1.938,216,1.003,217,1.113,218,2.555,219,1.003,220,1.113,221,1.938,222,0.644,223,1.003,224,1.938,225,1.003,226,1.489,227,1.113,228,1.113,229,1.113,230,1.003,231,1.003,232,2.365,233,1.113,234,1.113,235,0.801,236,1.113,237,1.003,238,1.113,239,0.644,240,2.32,241,0.921,242,1.113,243,1.113,244,1.113,245,1.564,246,0.855,247,0.713,248,1.938,249,1.938,250,0.855,251,1.489,252,1.113,253,1.113,254,1.113,255,1.938,256,1.113,257,1.113,258,1.003,259,0.713,260,1.003,261,0.676,262,1.564,263,1.747,264,1.938,265,1.113,266,1.113,267,0.855,268,1.113,269,1.113,270,1.938,271,0.644,272,0.676,273,1.113,274,1.113,275,1.113,276,1.113,277,1.003,278,3.609,279,1.113,280,2.129,281,0.713,282,1.113,283,0.921,284,1.113,285,1.747,286,1.603,287,1.113,288,1.113,289,0.538,290,1.003,291,0.801,292,1.113,293,1.113,294,1.113,295,1.003,296,2.775,297,2.574,298,1.113,299,1.938,300,1.938,301,1.113,302,1.113,303,1.113,304,1.113,305,1.113,306,1.113,307,1.113,308,1.938,309,1.113,310,1.938,311,1.938,312,1.113,313,1.113,314,2.234,315,1.113,316,2.574,317,1.938,318,1.747,319,1.938,320,1.938,321,2.775,322,1.113,323,3.079,324,1.113,325,1.113,326,1.938,327,1.938,328,1.113,329,0.754,330,1.113,331,1.113,332,1.113,333,1.113,334,1.113,335,1.113,336,1.113,337,1.938,338,1.003,339,1.113,340,1.113,341,0.921,342,1.113,343,0.855,344,1.113,345,1.113]],["component/3",[20,0.389,151,0.02]],["title/4-1",[207,41.454]],["name/4-1",[]],["text/4-1",[]],["component/4-1",[]],["title/4-2",[121,25.939,201,19.317]],["name/4-2",[]],["text/4-2",[]],["component/4-2",[]],["title/4-3",[201,16.551,210,14.046,346,32.827]],["name/4-3",[]],["text/4-3",[]],["component/4-3",[]],["title/4-4",[291,23.605,347,32.827,348,27.154]],["name/4-4",[]],["text/4-4",[]],["component/4-4",[]],["title/4-5",[210,14.046,218,16.551,222,18.976]],["name/4-5",[]],["text/4-5",[]],["component/4-5",[]],["title/4-6",[123,13.001,210,14.046,218,16.551]],["name/4-6",[]],["text/4-6",[]],["component/4-6",[]],["title/4-7",[210,16.394,349,44.069]],["name/4-7",[]],["text/4-7",[]],["component/4-7",[]],["title/4-8",[121,19.439,173,19.439,350,17.444,351,20.648]],["name/4-8",[]],["text/4-8",[]],["component/4-8",[]],["title/4-9",[3,4.329,201,11.576,210,9.825,352,26.994,353,12.659]],["name/4-9",[]],["text/4-9",[]],["component/4-9",[]],["title/4",[3,6.188,198,16.551,201,16.551]],["name/4",[198,0.829,201,0.829]],["text/4",[1,0.709,3,1.115,4,0.679,9,0.786,20,0.451,22,0.978,31,2.026,35,1.768,38,1.025,39,0.519,59,0.911,62,2.526,63,2.601,65,0.605,94,0.921,96,0.978,97,1.225,103,1.225,112,1.818,113,1.508,121,0.921,123,0.539,129,0.921,130,1.045,133,0.931,151,0.039,152,0.949,163,0.786,169,1.045,173,0.921,189,1.225,191,1.045,197,1.225,198,2.601,199,1.446,201,3.018,202,1.826,206,1.36,207,2.074,210,2.049,218,0.686,222,2.276,223,1.225,226,1.045,230,1.225,240,2.074,241,2.475,259,0.871,260,1.225,261,0.826,262,0.826,271,0.786,277,1.225,286,1.125,289,1.446,291,2.151,295,2.074,296,1.225,329,2.026,338,1.225,346,3.937,347,1.36,348,2.475,351,0.978,352,2.298,353,1.65,354,2.627,355,1.212,356,1.225,357,1.045,358,1.564,359,1.564,360,1.564,361,1.36,362,1.045,363,1.564,364,1.564,365,2.301,366,1.564,367,1.564,368,1.36,369,0.947,370,2.647,371,2.475,372,4.528,373,1.564,374,1.564,375,1.564,376,1.564,377,2.647,378,1.564,379,1.564,380,1.125,381,1.564,382,1.564,383,1.564,384,2.647,385,2.647,386,1.564,387,1.768,388,0.871,389,0.75,390,1.564,391,1.564,392,4.049,393,1.564,394,2.647,395,1.564,396,1.564,397,3.441,398,1.564,399,1.768,400,4.917,401,1.564,402,1.564,403,1.564,404,1.564,405,4.049,406,1.564,407,1.564,408,1.564,409,1.564,410,1.125,411,1.36,412,1.564,413,1.904,414,1.564,415,1.564,416,2.647,417,1.125,418,2.301,419,1.655,420,1.045,421,1.564,422,1.125,423,1.564,424,1.564,425,1.564,426,1.36,427,3.548,428,1.564,429,1.564,430,1.36,431,1.564,432,1.564,433,1.36,434,2.647,435,3.441,436,1.564,437,1.564,438,1.564,439,2.647,440,2.647,441,1.564,442,1.564,443,1.564,444,1.564,445,1.564,446,1.564,447,1.564,448,1.564,449,1.564,450,1.564,451,1.564,452,1.36,453,1.564,454,1.564,455,1.564,456,1.564,457,1.564]],["component/4",[20,0.389,151,0.02]],["title/5-1",[27,17.444,369,11.817,458,18.383,459,18.383]],["name/5-1",[]],["text/5-1",[]],["component/5-1",[]],["title/5-2",[1,6.804,369,11.817,458,18.383,459,18.383]],["name/5-2",[]],["text/5-2",[]],["component/5-2",[]],["title/5-3",[4,8.47,369,11.817,458,18.383,459,18.383]],["name/5-3",[]],["text/5-3",[]],["component/5-3",[]],["title/5",[33,29.452]],["name/5",[33,1.638]],["text/5",[0,1.085,1,0.416,2,2.078,3,0.777,4,1.057,5,1.015,6,1.015,18,2.171,20,0.344,24,4.419,27,2.751,31,1.189,33,1.124,38,0.782,39,0.67,40,1.015,42,2.751,48,1.262,51,1.452,52,3.04,53,1.452,55,2.353,56,1.452,58,2.386,59,1.126,61,2.353,62,2.759,63,0.885,64,2.353,65,1.596,66,3.256,67,3.409,68,1.452,69,4.01,70,2.964,71,2.353,87,1.349,89,1.835,90,1.452,91,1.262,92,1.452,109,1.262,110,1.085,111,1.262,112,1.067,114,0.848,115,1.452,119,0.968,120,1.189,123,0.695,127,1.349,130,1.349,135,1.452,136,1.452,137,2.171,138,1.452,139,2.353,140,1.189,141,1.452,145,1.452,146,1.452,147,1.452,151,0.018,154,1.189,156,1.189,180,1.452,202,0.67,209,1.015,212,1.262,226,1.349,259,1.124,278,2.965,283,1.452,341,1.452,348,1.452,355,1.889,371,1.452,427,1.582,458,3.103,459,2.899,460,1.756,461,1.756,462,1.756,463,1.756,464,1.756,465,2.844,466,2.045,467,2.185,468,1.756,469,2.844,470,1.756,471,1.756,472,1.756,473,1.756,474,1.756,475,1.756,476,1.756,477,1.756,478,1.756,479,1.756,480,2.844,481,2.844,482,1.756,483,1.756,484,1.756,485,1.756,486,2.844,487,1.756,488,1.756,489,1.756,490,1.756,491,1.756]],["component/5",[20,0.389,151,0.02]],["title/6-1",[419,27.551,492,38.315]],["name/6-1",[]],["text/6-1",[]],["component/6-1",[]],["title/6-2",[1,9.079,493,38.315]],["name/6-2",[]],["text/6-2",[]],["component/6-2",[]],["title/6",[20,5.003,87,19.602,151,0.254,494,29.35,495,25.518]],["name/6",[496,2.943]],["text/6",[1,1.26,20,0.808,39,1.572,46,2.964,47,2.964,110,1.572,151,0.041,152,1.686,169,3.167,209,2.383,239,2.383,258,3.715,321,3.715,361,4.122,362,3.167,388,2.639,419,4.737,492,6.216,493,4.122,495,4.122,497,4.742,498,4.742,499,6.114,500,4.742,501,4.742,502,4.742,503,4.742,504,4.742,505,4.742,506,6.114,507,4.742,508,4.742]],["component/6",[20,0.389,151,0.02]],["title/7-1",[5,18.976,6,18.976,152,10.412]],["name/7-1",[]],["text/7-1",[]],["component/7-1",[]],["title/7-2",[133,10.136,509,34.524]],["name/7-2",[]],["text/7-2",[]],["component/7-2",[]],["title/7-3",[509,34.524,510,38.315]],["name/7-3",[]],["text/7-3",[]],["component/7-3",[]],["title/7-4",[42,19.942,65,14.614,511,32.827]],["name/7-4",[]],["text/7-4",[]],["component/7-4",[]],["title/7",[20,7.512,151,0.382]],["name/7",[153,1.966]],["text/7",[1,0.599,2,2.711,3,0.791,4,0.449,5,2.773,6,2.773,7,1.636,9,1.876,10,2.549,20,0.941,22,1.094,27,1.536,36,1.332,42,2.75,48,1.819,50,2.279,59,1.285,63,0.767,65,2.456,81,1.094,94,3.64,104,1.943,110,0.58,112,0.924,114,1.827,118,1.259,119,0.839,123,1.002,129,1.712,151,0.038,152,1.331,154,3.248,155,1.522,156,1.03,157,1.522,158,2.333,159,2.529,160,4.972,161,1.522,162,1.522,163,0.88,164,2.529,165,1.522,166,1.522,167,1.522,168,1.522,169,2.493,170,2.529,171,1.522,172,2.529,173,1.712,174,2.529,175,1.522,176,1.371,177,1.094,179,2.529,180,1.259,181,1.522,182,1.169,183,1.522,184,2.529,185,1.522,187,1.522,188,1.712,189,3.406,190,1.522,191,1.169,192,1.522,193,1.522,194,3.245,195,1.522,196,2.529,197,1.371,202,1.442,210,1.618,216,2.279,218,0.767,225,2.279,231,1.371,235,1.094,237,1.371,239,0.88,245,1.536,272,0.924,280,1.259,286,1.259,290,1.371,291,3.017,329,1.03,350,0.924,362,1.169,365,1.522,368,1.522,369,0.626,371,1.259,399,1.943,411,1.522,418,2.529,419,3.017,426,1.522,433,1.522,466,1.819,509,2.279,510,1.522,511,4.527,512,1.259,513,1.75,514,2.909,515,1.75,516,1.75,517,2.909,518,1.75,519,2.909,520,1.75,521,1.75,522,1.75,523,1.75,524,1.75,525,1.75,526,1.75,527,1.522,528,1.75,529,4.348,530,1.259,531,2.904,532,1.75,533,1.75,534,1.75,535,1.75,536,1.75,537,1.75,538,2.909,539,2.909,540,1.75,541,1.75,542,2.909,543,1.75,544,1.75,545,1.259,546,1.75,547,1.75,548,1.75,549,1.75,550,1.75,551,2.909,552,1.75,553,1.75,554,1.75,555,1.75,556,1.75,557,1.75,558,1.75]],["component/7",[20,0.389,151,0.02]],["title/8-1",[0,14.611,1,9.079]],["name/8-1",[]],["text/8-1",[]],["component/8-1",[]],["title/8-2",[0,12.519,1,7.779,2,16.551]],["name/8-2",[]],["text/8-2",[]],["component/8-2",[]],["title/8-3",[0,12.519,1,7.779,3,6.188]],["name/8-3",[]],["text/8-3",[]],["component/8-3",[]],["title/8-4",[0,14.611,4,11.302]],["name/8-4",[]],["text/8-4",[]],["component/8-4",[]],["title/8-5",[0,12.519,2,16.551,4,9.683]],["name/8-5",[]],["text/8-5",[]],["component/8-5",[]],["title/8-6",[0,12.519,3,6.188,4,9.683]],["name/8-6",[]],["text/8-6",[]],["component/8-6",[]],["title/8",[0,10.95,3,5.413,5,16.599,6,16.599]],["name/8",[0,0.976]],["text/8",[0,2.119,2,2.645,3,0.907,5,0.661,6,0.661,7,0.576,8,0.878,9,1.147,10,0.695,11,1.143,12,1.143,13,1.984,14,1.143,15,1.143,16,4.175,17,3.548,18,3.051,19,1.641,20,0.515,21,0.946,22,0.822,23,1.143,24,0.822,25,1.143,26,2.173,27,2.155,28,4.175,29,0.946,30,1.143,31,1.779,32,3.329,33,1.682,34,1.143,35,0.878,36,0.602,37,0.878,38,1.17,39,1.592,40,2.051,41,1.984,42,1.905,43,1.984,44,1.984,45,1.094,46,1.426,47,1.426,48,2.255,49,1.984,50,1.787,51,2.173,52,2.328,53,0.946,54,1.143,55,1.641,56,0.946,57,1.143,58,1.869,59,0.786,60,3.136,61,1.641,62,2.645,63,0.576,64,1.641,65,1.859,66,1.426,67,3.656,68,0.946,69,2.935,70,3.178,71,2.594,72,1.143,73,1.984,74,0.878,75,1.143,76,3.136,77,1.984,78,3.136,79,1.984,80,1.143,81,3.178,82,1.143,83,1.143,84,0.732,85,1.143,86,1.143,87,0.878,88,1.143,89,1.396,90,0.946,91,0.822,92,0.946,93,1.984,94,3.465,95,1.984,96,1.426,97,2.826,98,1.984,99,1.984,100,1.984,101,1.984,102,1.426,103,1.787,104,1.524,105,1.984,106,2.008,107,1.984,108,1.524,109,1.426,110,0.756,111,1.426,112,1.205,113,1,114,1.515,115,1.641,116,1.984,117,1.984,118,1.641,119,1.094,120,1.343,121,1.343,122,1.343,123,0.786,124,1.641,125,1.984,126,1.984,127,1.524,128,1.641,129,1.343,130,1.524,131,1.143,132,1.519,133,0.525,134,1.143,135,0.946,136,0.946,137,1.652,138,0.946,139,1.641,140,2.402,141,1.641,142,1.143,143,1.984,144,1.984,145,0.946,146,0.946,147,0.946,148,1.143,149,1.143,150,1.143]],["component/8",[20,0.389,151,0.02]],["title/9-1",[133,10.136,208,31.693]],["name/9-1",[]],["text/9-1",[]],["component/9-1",[]],["title/9-2",[3,7.223,133,10.136]],["name/9-2",[]],["text/9-2",[]],["component/9-2",[]],["title/9-3",[3,6.188,4,9.683,209,18.976]],["name/9-3",[]],["text/9-3",[]],["component/9-3",[]],["title/9-4",[133,10.136,210,16.394]],["name/9-4",[]],["text/9-4",[]],["component/9-4",[]],["title/9-5",[211,38.315,212,27.551]],["name/9-5",[]],["text/9-5",[]],["component/9-5",[]],["title/9-6",[32,23.605,213,27.154,214,27.154]],["name/9-6",[]],["text/9-6",[]],["component/9-6",[]],["title/9",[3,5.413,20,5.63,133,7.596,151,0.286]],["name/9",[20,0.238,133,0.321,151,0.012]],["text/9",[1,0.976,3,0.862,4,1.287,9,1.488,10,0.676,18,1.622,19,1.603,20,0.38,21,0.921,22,0.801,24,1.851,29,0.921,31,1.312,32,2.961,35,0.855,36,0.587,38,1.942,39,0.739,42,1.178,45,0.614,52,1.839,58,1.622,59,1.631,62,2.475,63,2.2,65,1.371,66,0.801,70,1.394,81,0.801,89,1.371,91,0.801,94,1.743,96,0.801,104,1.977,109,2.51,110,0.739,111,0.801,113,0.977,114,0.538,119,1.069,121,0.754,122,3.333,123,2.145,124,3.406,128,0.921,129,0.754,132,2.38,133,1.405,137,0.587,140,1.312,151,0.038,158,1.851,188,0.754,191,0.855,198,1.298,199,0.538,201,2.076,202,1.331,208,1.603,209,0.644,210,1.867,212,2.51,213,1.603,214,2.547,215,1.938,216,1.003,217,1.113,218,2.555,219,1.003,220,1.113,221,1.938,222,0.644,223,1.003,224,1.938,225,1.003,226,1.489,227,1.113,228,1.113,229,1.113,230,1.003,231,1.003,232,2.365,233,1.113,234,1.113,235,0.801,236,1.113,237,1.003,238,1.113,239,0.644,240,2.32,241,0.921,242,1.113,243,1.113,244,1.113,245,1.564,246,0.855,247,0.713,248,1.938,249,1.938,250,0.855,251,1.489,252,1.113,253,1.113,254,1.113,255,1.938,256,1.113,257,1.113,258,1.003,259,0.713,260,1.003,261,0.676,262,1.564,263,1.747,264,1.938,265,1.113,266,1.113,267,0.855,268,1.113,269,1.113,270,1.938,271,0.644,272,0.676,273,1.113,274,1.113,275,1.113,276,1.113,277,1.003,278,3.609,279,1.113,280,2.129,281,0.713,282,1.113,283,0.921,284,1.113,285,1.747,286,1.603,287,1.113,288,1.113,289,0.538,290,1.003,291,0.801,292,1.113,293,1.113,294,1.113,295,1.003,296,2.775,297,2.574,298,1.113,299,1.938,300,1.938,301,1.113,302,1.113,303,1.113,304,1.113,305,1.113,306,1.113,307,1.113,308,1.938,309,1.113,310,1.938,311,1.938,312,1.113,313,1.113,314,2.234,315,1.113,316,2.574,317,1.938,318,1.747,319,1.938,320,1.938,321,2.775,322,1.113,323,3.079,324,1.113,325,1.113,326,1.938,327,1.938,328,1.113,329,0.754,330,1.113,331,1.113,332,1.113,333,1.113,334,1.113,335,1.113,336,1.113,337,1.938,338,1.003,339,1.113,340,1.113,341,0.921,342,1.113,343,0.855,344,1.113,345,1.113]],["component/9",[20,0.389,151,0.02]],["title/10-1",[27,17.444,369,11.817,458,18.383,459,18.383]],["name/10-1",[]],["text/10-1",[]],["component/10-1",[]],["title/10-2",[1,6.804,369,11.817,458,18.383,459,18.383]],["name/10-2",[]],["text/10-2",[]],["component/10-2",[]],["title/10-3",[4,8.47,369,11.817,458,18.383,459,18.383]],["name/10-3",[]],["text/10-3",[]],["component/10-3",[]],["title/10",[33,29.452]],["name/10",[33,1.638]],["text/10",[0,1.085,1,0.416,2,2.078,3,0.777,4,1.057,5,1.015,6,1.015,18,2.171,20,0.344,24,4.419,27,2.751,31,1.189,33,1.124,38,0.782,39,0.67,40,1.015,42,2.751,48,1.262,51,1.452,52,3.04,53,1.452,55,2.353,56,1.452,58,2.386,59,1.126,61,2.353,62,2.759,63,0.885,64,2.353,65,1.596,66,3.256,67,3.409,68,1.452,69,4.01,70,2.964,71,2.353,87,1.349,89,1.835,90,1.452,91,1.262,92,1.452,109,1.262,110,1.085,111,1.262,112,1.067,114,0.848,115,1.452,119,0.968,120,1.189,123,0.695,127,1.349,130,1.349,135,1.452,136,1.452,137,2.171,138,1.452,139,2.353,140,1.189,141,1.452,145,1.452,146,1.452,147,1.452,151,0.018,154,1.189,156,1.189,180,1.452,202,0.67,209,1.015,212,1.262,226,1.349,259,1.124,278,2.965,283,1.452,341,1.452,348,1.452,355,1.889,371,1.452,427,1.582,458,3.103,459,2.899,460,1.756,461,1.756,462,1.756,463,1.756,464,1.756,465,2.844,466,2.045,467,2.185,468,1.756,469,2.844,470,1.756,471,1.756,472,1.756,473,1.756,474,1.756,475,1.756,476,1.756,477,1.756,478,1.756,479,1.756,480,2.844,481,2.844,482,1.756,483,1.756,484,1.756,485,1.756,486,2.844,487,1.756,488,1.756,489,1.756,490,1.756,491,1.756]],["component/10",[20,0.389,151,0.02]],["title/11",[158,23.605,356,29.58,559,37.757]],["name/11",[560,2.943]],["text/11",[1,1.165,3,0.927,20,0.964,62,2.35,151,0.059,289,2.375,351,4.266,561,5.653,562,5.653,563,5.653,564,4.066,565,4.558,566,3.776,567,3.776,568,4.915]],["component/11",[20,0.389,151,0.02]],["title/12",[569,23.195]],["name/12",[569,1.29]],["text/12",[1,1.154,3,0.681,20,0.955,26,2.986,38,1.607,45,2.685,59,1.43,62,2.738,110,1.377,113,1.82,123,1.43,151,0.059,156,2.444,173,2.444,199,2.977,201,1.82,202,1.377,210,1.545,218,1.82,318,3.253,350,2.193,351,4.243,353,1.99,355,1.902,362,3.741,369,1.486,564,2.986,565,3.741,566,2.773,567,2.773,569,1.82,570,4.152,571,4.152,572,4.152,573,4.152,574,2.596,575,3.61,576,4.152,577,4.152]],["component/12",[20,0.389,151,0.02]],["title/13",[3,8.673]],["name/13",[3,0.482]],["text/13",[1,1.206,4,1.501,20,1.144,27,1.884,42,2.664,45,1.71,48,2.231,59,1.229,63,1.564,89,1.952,102,2.231,127,2.383,133,1.16,151,0.062,152,0.984,158,3.154,160,2.795,163,1.793,169,3.369,176,3.952,177,3.154,198,1.564,199,2.672,201,2.211,202,1.673,205,1.986,219,2.795,241,2.566,271,1.793,280,2.566,285,2.795,289,2.458,291,2.231,350,1.884,351,2.231,354,2.68,356,2.795,369,1.277,387,2.383,389,1.71,420,2.383,430,3.102,527,3.102,531,2.383,564,2.566,565,3.369,566,2.383,567,2.383,569,1.564,578,3.628,579,3.568,580,3.568,581,5.045,582,3.568,583,3.568,584,3.568,585,3.568,586,3.568,587,2.566,588,3.568,589,3.568,590,2.566]],["component/13",[20,0.389,151,0.02]],["title/14",[587,38.055]],["name/14",[587,2.117]],["text/14",[1,1.224,3,0.744,20,1.013,26,3.263,38,1.756,45,2.175,59,1.562,110,1.504,113,1.989,123,1.562,151,0.061,156,2.67,173,2.67,199,3.145,201,1.989,202,2.197,210,1.688,350,2.396,351,2.836,353,2.175,355,2.078,369,1.623,419,3.714,565,3.968,566,3.03,567,3.03,574,2.836,587,3.263,591,5.942,592,4.537,593,4.537,594,4.537,595,4.537,596,4.273,597,4.537]],["component/14",[20,0.389,151,0.02]],["title/15",[198,23.195]],["name/15",[198,1.29]],["text/15",[1,0.814,3,0.648,4,1.013,20,0.923,38,1.529,45,1.894,59,1.361,62,2.717,63,1.732,110,1.31,123,1.361,140,2.326,151,0.058,156,2.326,173,2.326,198,2.374,199,2.926,201,1.732,202,1.31,210,1.47,263,3.096,350,2.087,353,1.894,354,1.81,355,2.481,357,2.639,362,2.639,369,1.414,419,3.863,452,4.709,564,2.842,565,3.617,566,2.639,567,2.639,568,3.436,575,3.436,598,2.326,599,3.952,600,3.952,601,3.952,602,2.326,603,5.416,604,3.952,605,5.416,606,3.952,607,3.952,608,3.952]],["component/15",[20,0.389,151,0.02]],["title/16",[3,5.413,133,7.596,151,0.286,609,5.413]],["name/16",[609,0.31,610,1.482]],["text/16",[1,0.86,3,0.584,4,1.071,7,0.719,10,0.867,18,1.632,36,0.752,39,0.914,40,1.385,46,1.723,52,3.115,58,1.632,59,0.949,62,2.744,65,1.067,84,0.913,89,0.635,102,1.026,110,0.544,113,0.719,120,0.966,122,0.966,123,0.949,132,0.825,133,1.492,137,0.752,151,0.04,152,0.452,182,1.096,188,0.966,199,0.689,202,1.864,205,0.913,210,1.553,218,1.83,222,2.693,239,0.825,245,2.662,246,1.096,247,2.324,250,1.096,251,1.096,261,0.867,262,1.882,267,1.096,271,0.825,272,0.867,281,0.913,289,1.955,314,1.534,329,1.622,352,1.096,353,2.001,355,0.752,369,0.587,388,0.913,389,2.416,410,1.18,413,1.18,467,1.096,530,1.18,531,1.096,574,1.723,578,4.044,590,1.18,596,1.18,598,1.622,602,0.966,609,0.826,611,0.913,612,1.285,613,1.285,614,1.026,615,1.285,616,1.982,617,1.285,618,1.723,619,2.396,620,1.026,621,1.285,622,2.792,623,1.285,624,1.285,625,1.026,626,1.026,627,1.026,628,1.026,629,1.723,630,1.026,631,1.026,632,1.026,633,1.026,634,1.026,635,1.723,636,1.723,637,2.396,638,2.396,639,1.285,640,1.285,641,1.285,642,1.723,643,1.285,644,1.285,645,1.285,646,1.285,647,1.285,648,1.285,649,2.159,650,1.285,651,1.285,652,2.396,653,1.285,654,1.285,655,1.026,656,1.285,657,1.285,658,1.285,659,1.026,660,2.159,661,1.285,662,1.285,663,1.285,664,1.285,665,1.723,666,1.723,667,1.285,668,1.285,669,1.026,670,1.285,671,1.285,672,1.723,673,2.159,674,2.159,675,3.949,676,1.285,677,1.285,678,1.285,679,1.285,680,1.285,681,1.285,682,1.285,683,1.026,684,1.285,685,1.285,686,1.285,687,1.026,688,1.285,689,1.285,690,1.285,691,1.285,692,1.285,693,1.285,694,1.285,695,1.285,696,1.285]],["component/16",[151,0.02,609,0.374]],["title/17",[151,0.327,152,10.412,569,16.551]],["name/17",[152,0.522,569,0.829]],["text/17",[1,0.958,37,3.107,39,1.542,47,2.908,62,2.679,63,2.039,89,2.595,110,1.542,114,2.537,151,0.052,152,1.665,154,2.738,202,1.542,289,1.954,343,3.107,350,2.457,354,2.13,389,2.23,569,2.647,609,0.99,611,3.361,614,2.908,620,2.908,697,3.644,698,3.644,699,3.644,700,4.044,701,3.644,702,3.644,703,3.644,704,3.644,705,2.908]],["component/17",[151,0.02,609,0.374]],["title/18",[151,0.382,609,7.223]],["name/18",[153,1.966]],["text/18",[1,1.051,4,1.309,7,2.809,36,2.338,38,2.48,39,1.692,106,2.841,133,1.174,151,0.056,152,1.407,163,2.565,232,3.409,354,3.208,417,3.67,420,3.409,422,3.67,609,1.204,611,3.898,706,5.02,707,3.998,708,5.02]],["component/18",[151,0.02,609,0.374]],["title/19",[151,0.327,609,6.188,709,19.942]],["name/19",[609,0.31,709,0.999]],["text/19",[1,0.588,2,1.878,3,0.28,4,0.732,7,0.749,8,1.905,9,0.859,18,1.962,38,1.104,39,0.567,40,1.434,45,1.367,52,3.186,58,1.681,59,1.64,62,2.725,65,1.104,74,1.142,84,0.952,89,0.662,106,1.588,108,1.142,110,0.567,112,0.903,113,0.749,114,0.718,119,0.819,123,1.88,132,0.859,133,0.393,137,0.783,151,0.05,152,1.182,163,0.859,177,1.783,198,1.25,199,1.198,202,1.421,205,0.952,209,0.859,218,1.878,222,2.153,235,1.069,239,0.859,245,2.263,247,1.588,259,0.952,261,0.903,262,1.939,271,0.859,272,0.903,281,0.952,289,1.542,314,1.588,353,0.819,354,0.783,355,0.783,357,1.142,369,1.021,380,1.229,387,1.142,388,0.952,389,1.759,399,1.905,466,1.069,512,1.229,545,1.229,574,2.295,598,2.16,602,1.006,609,1.005,611,1.588,616,2.051,618,1.783,619,3.191,625,1.069,626,1.069,627,1.069,628,1.069,629,1.069,630,1.069,631,1.069,632,1.069,633,1.069,634,1.069,635,2.295,636,2.295,642,1.069,655,1.069,659,1.069,665,1.069,666,1.783,669,1.069,672,1.783,683,1.069,687,1.069,705,1.069,709,0.903,710,1.339,711,2.235,712,1.339,713,1.339,714,1.339,715,1.339,716,1.486,717,1.486,718,1.339,719,1.339,720,1.339,721,2.48,722,1.339,723,1.339,724,1.339,725,1.339,726,2.235,727,1.339,728,1.339,729,1.339,730,2.235,731,2.235,732,1.339,733,1.339,734,1.339,735,1.339,736,1.339,737,2.48,738,1.339,739,2.235,740,2.235,741,2.235,742,2.875,743,1.339,744,1.339,745,1.339,746,1.339,747,1.339,748,1.339,749,1.339,750,1.339,751,1.339,752,1.339,753,1.339,754,1.339,755,1.339,756,1.339,757,1.339,758,1.339,759,2.875,760,1.339,761,1.339,762,3.357,763,1.339,764,1.339,765,1.339,766,1.339,767,1.339,768,1.339]],["component/19",[151,0.02,609,0.374]],["title/20",[3,5.413,133,7.596,151,0.286,609,5.413]],["name/20",[609,0.31,610,1.482]],["text/20",[1,0.86,3,0.584,4,1.071,7,0.719,10,0.867,18,1.632,36,0.752,39,0.914,40,1.385,46,1.723,52,3.115,58,1.632,59,0.949,62,2.744,65,1.067,84,0.913,89,0.635,102,1.026,110,0.544,113,0.719,120,0.966,122,0.966,123,0.949,132,0.825,133,1.492,137,0.752,151,0.04,152,0.452,182,1.096,188,0.966,199,0.689,202,1.864,205,0.913,210,1.553,218,1.83,222,2.693,239,0.825,245,2.662,246,1.096,247,2.324,250,1.096,251,1.096,261,0.867,262,1.882,267,1.096,271,0.825,272,0.867,281,0.913,289,1.955,314,1.534,329,1.622,352,1.096,353,2.001,355,0.752,369,0.587,388,0.913,389,2.416,410,1.18,413,1.18,467,1.096,530,1.18,531,1.096,574,1.723,578,4.044,590,1.18,596,1.18,598,1.622,602,0.966,609,0.826,611,0.913,612,1.285,613,1.285,614,1.026,615,1.285,616,1.982,617,1.285,618,1.723,620,1.026,621,1.285,622,2.792,623,1.285,624,1.285,625,1.026,626,1.026,627,1.026,628,1.026,629,1.723,630,1.026,631,1.026,632,1.026,633,1.026,634,1.026,635,1.723,636,1.723,637,2.396,638,2.396,639,1.285,640,1.285,641,1.285,642,1.723,643,1.285,644,1.285,645,1.285,646,1.285,647,1.285,648,1.285,649,2.159,650,1.285,651,1.285,652,2.396,653,1.285,654,1.285,655,1.026,656,1.285,657,1.285,658,1.285,659,1.026,660,2.159,661,1.285,662,1.285,663,1.285,664,1.285,665,1.723,666,1.723,667,1.285,668,1.285,669,1.026,670,1.285,671,1.285,672,1.723,673,2.159,674,2.159,675,3.949,676,1.285,677,1.285,678,1.285,679,1.285,680,1.285,681,1.285,682,1.285,683,1.026,684,1.285,685,1.285,686,1.285,687,1.026,688,1.285,689,1.285,690,1.285,691,1.285,692,1.285,693,1.285,694,1.285,695,1.285,696,1.285,769,2.396]],["component/20",[151,0.02,609,0.374]],["title/21",[151,0.327,152,10.412,569,16.551]],["name/21",[152,0.522,569,0.829]],["text/21",[1,0.958,37,3.107,39,1.542,47,2.908,62,2.679,63,2.039,89,2.595,110,1.542,114,2.537,151,0.052,152,1.665,154,2.738,202,1.542,289,1.954,343,3.107,350,2.457,354,2.13,389,2.23,569,2.647,609,0.99,611,3.361,614,2.908,620,2.908,697,3.644,698,3.644,699,3.644,700,4.044,701,3.644,702,3.644,703,3.644,704,3.644,705,2.908]],["component/21",[151,0.02,609,0.374]],["title/22",[151,0.382,609,7.223]],["name/22",[153,1.966]],["text/22",[1,1.051,4,1.309,7,2.809,36,2.338,38,2.48,39,1.692,106,2.841,133,1.174,151,0.056,152,1.407,163,2.565,232,3.409,354,3.208,417,3.67,420,3.409,422,3.67,609,1.204,611,3.898,706,5.02,707,3.998,708,5.02]],["component/22",[151,0.02,609,0.374]],["title/23",[151,0.327,609,6.188,709,19.942]],["name/23",[609,0.31,709,0.999]],["text/23",[1,0.588,2,1.878,3,0.28,4,0.732,7,0.749,8,1.905,9,0.859,18,1.962,38,1.104,39,0.567,40,1.434,45,1.367,52,3.186,58,1.681,59,1.64,62,2.725,65,1.104,74,1.142,84,0.952,89,0.662,106,1.588,108,1.142,110,0.567,112,0.903,113,0.749,114,0.718,119,0.819,123,1.88,132,0.859,133,0.393,137,0.783,151,0.05,152,1.182,163,0.859,177,1.783,198,1.25,199,1.198,202,1.421,205,0.952,209,0.859,218,1.878,222,2.153,235,1.069,239,0.859,245,2.263,247,1.588,259,0.952,261,0.903,262,1.939,271,0.859,272,0.903,281,0.952,289,1.542,314,1.588,353,0.819,354,0.783,355,0.783,357,1.142,369,1.021,380,1.229,387,1.142,388,0.952,389,1.759,399,1.905,466,1.069,512,1.229,545,1.229,574,2.295,598,2.16,602,1.006,609,1.005,611,1.588,616,2.051,618,1.783,625,1.069,626,1.069,627,1.069,628,1.069,629,1.069,630,1.069,631,1.069,632,1.069,633,1.069,634,1.069,635,2.295,636,2.295,642,1.069,655,1.069,659,1.069,665,1.069,666,1.783,669,1.069,672,1.783,683,1.069,687,1.069,705,1.069,709,0.903,710,1.339,711,2.235,712,1.339,713,1.339,714,1.339,715,1.339,716,1.486,717,1.486,718,1.339,719,1.339,720,1.339,721,2.48,722,1.339,723,1.339,724,1.339,725,1.339,726,2.235,727,1.339,728,1.339,729,1.339,730,2.235,731,2.235,732,1.339,733,1.339,734,1.339,735,1.339,736,1.339,737,2.48,738,1.339,739,2.235,740,2.235,741,2.235,742,2.875,743,1.339,744,1.339,745,1.339,746,1.339,747,1.339,748,1.339,749,1.339,750,1.339,751,1.339,752,1.339,753,1.339,754,1.339,755,1.339,756,1.339,757,1.339,758,1.339,759,2.875,760,1.339,761,1.339,762,3.357,763,1.339,764,1.339,765,1.339,766,1.339,767,1.339,768,1.339,769,3.191]],["component/23",[151,0.02,609,0.374]],["title/24",[3,5.413,133,7.596,151,0.286,609,5.413]],["name/24",[609,0.31,610,1.482]],["text/24",[1,0.86,3,0.584,4,1.071,7,0.719,10,0.867,18,1.632,36,0.752,39,0.914,40,1.385,46,1.723,52,3.115,58,1.632,59,0.949,62,2.744,65,1.067,84,0.913,89,0.635,102,1.026,110,0.544,113,0.719,120,0.966,122,0.966,123,0.949,132,0.825,133,1.492,137,0.752,151,0.04,152,0.452,182,1.096,188,0.966,199,0.689,202,1.864,205,0.913,210,1.553,218,1.83,222,2.693,239,0.825,245,2.662,246,1.096,247,2.324,250,1.096,251,1.096,261,0.867,262,1.882,267,1.096,271,0.825,272,0.867,281,0.913,289,1.955,314,1.534,329,1.622,352,1.096,353,2.001,355,0.752,369,0.587,388,0.913,389,2.416,410,1.18,413,1.18,467,1.096,530,1.18,531,1.096,578,4.044,590,1.18,596,1.18,598,1.622,602,0.966,609,0.826,612,1.285,613,1.285,614,1.026,615,1.285,617,1.285,618,1.723,620,1.026,621,1.285,622,2.792,623,1.285,624,1.285,625,1.026,626,1.026,627,1.026,628,1.026,629,1.723,630,1.026,631,1.026,632,1.026,633,1.026,634,1.026,635,1.723,636,1.723,639,1.285,640,1.285,641,1.285,642,1.723,643,1.285,644,1.285,645,1.285,646,1.285,647,1.285,648,1.285,649,2.159,650,1.285,651,1.285,653,1.285,654,1.285,655,1.026,656,1.285,657,1.285,658,1.285,659,1.026,660,2.159,661,1.285,662,1.285,663,1.285,664,1.285,665,1.723,666,1.723,667,1.285,668,1.285,669,1.026,670,1.285,671,1.285,672,1.723,673,2.159,674,2.159,675,3.949,676,1.285,677,1.285,678,1.285,679,1.285,680,1.285,681,1.285,682,1.285,683,1.026,684,1.285,685,1.285,686,1.285,687,1.026,688,1.285,689,1.285,690,1.285,691,1.285,692,1.285,693,1.285,694,1.285,695,1.285,696,1.285,770,1.18,771,2.396,772,2.396,773,2.396,774,2.756,775,2.756,776,2.756]],["component/24",[151,0.02,609,0.374]],["title/25",[151,0.327,152,10.412,569,16.551]],["name/25",[152,0.522,569,0.829]],["text/25",[1,0.958,37,3.107,39,1.542,47,2.908,62,2.679,63,2.039,89,2.595,110,1.542,114,2.537,151,0.052,152,1.665,154,2.738,202,1.542,289,1.954,343,3.107,350,2.457,354,2.13,389,2.23,569,2.647,609,0.99,614,2.908,620,2.908,697,3.644,698,3.644,699,3.644,701,3.644,702,3.644,703,3.644,704,3.644,705,2.908,770,4.343,777,4.652]],["component/25",[151,0.02,609,0.374]],["title/26",[151,0.382,609,7.223]],["name/26",[153,1.966]],["text/26",[1,1.051,4,1.309,7,2.809,36,2.338,38,2.48,39,1.692,106,2.841,133,1.174,151,0.056,152,1.407,163,2.565,232,3.409,354,3.208,417,3.67,420,3.409,422,3.67,609,1.204,706,5.02,707,3.998,708,5.02,770,5.037]],["component/26",[151,0.02,609,0.374]],["title/27",[151,0.327,609,6.188,709,19.942]],["name/27",[609,0.31,709,0.999]],["text/27",[1,0.587,2,1.875,3,0.28,4,0.73,7,0.748,8,1.901,9,0.857,18,1.96,38,1.102,39,0.565,40,1.431,45,1.365,52,3.184,58,1.678,59,1.638,62,2.724,65,1.102,74,1.139,84,0.949,89,0.66,106,1.585,108,1.139,110,0.565,112,0.901,113,0.748,114,0.716,119,0.818,123,1.878,132,0.857,133,0.392,137,0.781,151,0.05,152,1.18,163,0.857,177,1.78,198,1.248,199,1.539,202,1.419,205,0.949,209,0.857,218,1.875,222,2.15,235,1.066,239,0.857,245,2.26,247,1.585,259,0.949,261,0.901,262,1.935,271,0.857,272,0.901,281,0.949,289,1.539,314,1.585,353,0.818,354,0.781,355,0.781,357,1.139,369,1.019,380,1.227,387,1.139,388,0.949,389,1.756,399,1.901,466,1.066,512,1.227,545,1.227,598,2.157,602,1.004,609,1.004,618,1.78,625,1.066,626,1.066,627,1.066,628,1.066,629,1.066,630,1.066,631,1.066,632,1.066,633,1.066,634,1.066,635,2.291,636,2.291,642,1.066,655,1.066,659,1.066,665,1.066,666,1.78,669,1.066,672,1.78,683,1.066,687,1.066,705,1.066,709,0.901,710,1.336,711,2.23,712,1.336,713,1.336,714,1.336,715,1.336,718,1.336,719,1.336,720,1.336,722,1.336,723,1.336,724,1.336,725,1.336,726,2.23,727,1.336,728,1.336,729,1.336,730,2.23,731,2.23,732,1.336,733,1.336,734,1.336,735,1.336,736,1.336,738,1.336,739,2.23,740,2.23,741,2.23,742,2.871,743,1.336,744,1.336,745,1.336,746,1.336,747,1.336,748,1.336,749,1.336,750,1.336,751,1.336,752,1.336,753,1.336,754,1.336,755,1.336,756,1.336,757,1.336,758,1.336,759,2.871,760,1.336,761,1.336,762,3.352,763,1.336,764,1.336,765,1.336,766,1.336,767,1.336,768,1.336,770,2.047,771,2.475,772,3.186,773,3.186,778,1.706,779,1.706,780,2.847,781,2.847]],["component/27",[151,0.02,609,0.374]]],"invertedIndex":[["",{"_index":62,"title":{},"name":{},"text":{"1":{},"3":{},"4":{},"5":{},"8":{},"9":{},"10":{},"11":{},"12":{},"15":{},"16":{},"17":{},"19":{},"20":{},"21":{},"23":{},"24":{},"25":{},"27":{}},"component":{}}],["0.10.x",{"_index":619,"title":{},"name":{},"text":{"16":{},"19":{}},"component":{}}],["0.11.x",{"_index":769,"title":{},"name":{},"text":{"20":{},"23":{}},"component":{}}],["0.12",{"_index":572,"title":{},"name":{},"text":{"12":{}},"component":{}}],["0.12.x",{"_index":773,"title":{},"name":{},"text":{"24":{},"27":{}},"component":{}}],["0.13.18",{"_index":363,"title":{},"name":{},"text":{"4":{}},"component":{}}],["1",{"_index":314,"title":{},"name":{},"text":{"3":{},"9":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["1.0.3",{"_index":779,"title":{},"name":{},"text":{"27":{}},"component":{}}],["1.1.3",{"_index":364,"title":{},"name":{},"text":{"4":{}},"component":{}}],["1.2.0",{"_index":359,"title":{},"name":{},"text":{"4":{}},"component":{}}],["1.6",{"_index":601,"title":{},"name":{},"text":{"15":{}},"component":{}}],["1.x",{"_index":360,"title":{},"name":{},"text":{"4":{}},"component":{}}],["11",{"_index":493,"title":{"6-2":{}},"name":{},"text":{"6":{}},"component":{}}],["16:52:17.953",{"_index":312,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["16:52:18.180",{"_index":328,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["2.0.0",{"_index":575,"title":{},"name":{},"text":{"12":{},"15":{}},"component":{}}],["2.1.5",{"_index":717,"title":{},"name":{},"text":{"19":{},"23":{}},"component":{}}],["2.x",{"_index":495,"title":{"6":{}},"name":{},"text":{"6":{}},"component":{}}],["200",{"_index":331,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["271",{"_index":664,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["3.3.3",{"_index":606,"title":{},"name":{},"text":{"15":{}},"component":{}}],["3.5",{"_index":508,"title":{},"name":{},"text":{"6":{}},"component":{}}],["4.0",{"_index":492,"title":{"6-1":{}},"name":{},"text":{"6":{}},"component":{}}],["8",{"_index":321,"title":{},"name":{},"text":{"3":{},"6":{},"9":{}},"component":{}}],["9.1",{"_index":501,"title":{},"name":{},"text":{"6":{}},"component":{}}],["9000",{"_index":658,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["_servic",{"_index":234,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["abov",{"_index":240,"title":{},"name":{},"text":{"3":{},"4":{},"9":{}},"component":{}}],["abstract",{"_index":8,"title":{},"name":{},"text":{"1":{},"8":{},"19":{},"23":{},"27":{}},"component":{}}],["abstractcontroller(cc",{"_index":680,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["abstractgreeterservicerout",{"_index":751,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["abstractgreeterservicerouter(actorsystem",{"_index":743,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["accept",{"_index":285,"title":{},"name":{},"text":{"3":{},"9":{},"13":{}},"component":{}}],["access",{"_index":208,"title":{"3-1":{},"9-1":{}},"name":{},"text":{"3":{},"9":{}},"component":{}}],["accord",{"_index":242,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["action",{"_index":264,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["action.async",{"_index":267,"title":{},"name":{},"text":{"3":{},"9":{},"16":{},"20":{},"24":{}},"component":{}}],["activ",{"_index":366,"title":{},"name":{},"text":{"4":{}},"component":{}}],["actorsystem",{"_index":742,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["actual",{"_index":225,"title":{},"name":{},"text":{"3":{},"7":{},"9":{}},"component":{}}],["ad",{"_index":369,"title":{"5-1":{},"5-2":{},"5-3":{},"10-1":{},"10-2":{},"10-3":{}},"name":{},"text":{"4":{},"7":{},"12":{},"13":{},"14":{},"15":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["add",{"_index":355,"title":{},"name":{},"text":{"4":{},"5":{},"10":{},"12":{},"14":{},"15":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["addit",{"_index":350,"title":{"4-8":{}},"name":{},"text":{"7":{},"12":{},"13":{},"14":{},"15":{},"17":{},"21":{},"25":{}},"component":{}}],["addition",{"_index":403,"title":{},"name":{},"text":{"4":{}},"component":{}}],["address",{"_index":212,"title":{"3-5":{},"9-5":{}},"name":{},"text":{"3":{},"5":{},"9":{},"10":{}},"component":{}}],["addsbtplugin(\"com.lightbend.akka.grpc",{"_index":716,"title":{},"name":{},"text":{"19":{},"23":{}},"component":{}}],["addsbtplugin(\"com.typesafe.sbt",{"_index":358,"title":{},"name":{},"text":{"4":{}},"component":{}}],["addsbtplugin(\"io.paymenthighway.sbt",{"_index":600,"title":{},"name":{},"text":{"15":{}},"component":{}}],["addsbtplugin(\"org.apache.pekko",{"_index":778,"title":{},"name":{},"text":{"27":{}},"component":{}}],["adjust",{"_index":339,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["advanc",{"_index":349,"title":{"4-7":{}},"name":{},"text":{},"component":{}}],["afterthought",{"_index":513,"title":{},"name":{},"text":{"7":{}},"component":{}}],["again",{"_index":654,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["agent",{"_index":713,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["akka",{"_index":611,"title":{},"name":{},"text":{"16":{},"17":{},"18":{},"19":{},"20":{},"21":{},"22":{},"23":{}},"component":{}}],["akka.actor.actorsystem",{"_index":737,"title":{},"name":{},"text":{"19":{},"23":{}},"component":{}}],["akka.grpc.cli",{"_index":652,"title":{},"name":{},"text":{"16":{},"20":{}},"component":{}}],["akkagrpc",{"_index":700,"title":{},"name":{},"text":{"17":{},"21":{}},"component":{}}],["akkagrpcextragener",{"_index":616,"title":{},"name":{},"text":{"16":{},"19":{},"20":{},"23":{}},"component":{}}],["alias",{"_index":476,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["allow",{"_index":10,"title":{},"name":{},"text":{"1":{},"2":{},"3":{},"7":{},"8":{},"9":{},"16":{},"20":{},"24":{}},"component":{}}],["along",{"_index":715,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["alpn",{"_index":712,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["alreadi",{"_index":761,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["although",{"_index":534,"title":{},"name":{},"text":{"7":{}},"component":{}}],["amount",{"_index":547,"title":{},"name":{},"text":{"7":{}},"component":{}}],["anoth",{"_index":230,"title":{},"name":{},"text":{"3":{},"4":{},"9":{}},"component":{}}],["answer",{"_index":269,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["apach",{"_index":418,"title":{},"name":{},"text":{"4":{},"7":{}},"component":{}}],["api",{"_index":348,"title":{"4-4":{}},"name":{},"text":{"4":{},"5":{},"10":{}},"component":{}}],["app",{"_index":710,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["app/protobuf",{"_index":625,"title":{},"name":{},"text":{"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["append",{"_index":233,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["appli",{"_index":299,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["applic",{"_index":36,"title":{},"name":{},"text":{"1":{},"2":{},"3":{},"7":{},"8":{},"9":{},"16":{},"18":{},"20":{},"22":{},"24":{},"26":{}},"component":{}}],["application.conf",{"_index":622,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["arbitrari",{"_index":766,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["arg",{"_index":443,"title":{},"name":{},"text":{"4":{}},"component":{}}],["argument",{"_index":173,"title":{"4-8":{}},"name":{},"text":{"2":{},"4":{},"7":{},"12":{},"14":{},"15":{}},"component":{}}],["around",{"_index":555,"title":{},"name":{},"text":{"7":{}},"component":{}}],["arrays.aslist(\"somesecret",{"_index":471,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["asinstanceof[java.lang.boolean",{"_index":141,"title":{},"name":{},"text":{"1":{},"5":{},"8":{},"10":{}},"component":{}}],["asinstanceof[jmap[str",{"_index":485,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["assum",{"_index":221,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["async",{"_index":170,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["asynchandl",{"_index":172,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["asynchandler’",{"_index":178,"title":{},"name":{},"text":{"2":{}},"component":{}}],["asynchron",{"_index":160,"title":{},"name":{},"text":{"2":{},"7":{},"13":{}},"component":{}}],["attach",{"_index":490,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["authent",{"_index":458,"title":{"5-1":{},"5-2":{},"5-3":{},"10-1":{},"10-2":{},"10-3":{}},"name":{},"text":{"5":{},"10":{}},"component":{}}],["authenticationhandl",{"_index":465,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["automat",{"_index":365,"title":{},"name":{},"text":{"4":{},"7":{}},"component":{}}],["avail",{"_index":590,"title":{},"name":{},"text":{"13":{},"16":{},"20":{},"24":{}},"component":{}}],["awkward",{"_index":175,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["baremethods=sayhello",{"_index":432,"title":{},"name":{},"text":{"4":{}},"component":{}}],["base",{"_index":388,"title":{},"name":{},"text":{"4":{},"6":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["basedir}/src/main/resources/helloworld.wsdl",{"_index":597,"title":{},"name":{},"text":{"14":{}},"component":{}}],["be",{"_index":28,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["bean",{"_index":275,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["befor",{"_index":557,"title":{},"name":{},"text":{"7":{}},"component":{}}],["behaviour",{"_index":551,"title":{},"name":{},"text":{"7":{}},"component":{}}],["better",{"_index":585,"title":{},"name":{},"text":{"13":{}},"component":{}}],["between",{"_index":647,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["bind",{"_index":511,"title":{"7-4":{}},"name":{},"text":{"7":{}},"component":{}}],["block",{"_index":26,"title":{},"name":{},"text":{"1":{},"8":{},"12":{},"14":{}},"component":{}}],["bolt",{"_index":185,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["boolean",{"_index":67,"title":{},"name":{},"text":{"1":{},"5":{},"8":{},"10":{}},"component":{}}],["both",{"_index":385,"title":{},"name":{},"text":{"4":{}},"component":{}}],["build",{"_index":163,"title":{},"name":{},"text":{"2":{},"4":{},"7":{},"13":{},"18":{},"19":{},"22":{},"23":{},"26":{},"27":{}},"component":{}}],["build.gradl",{"_index":570,"title":{},"name":{},"text":{"12":{}},"component":{}}],["build.sbt",{"_index":602,"title":{},"name":{},"text":{"15":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["built",{"_index":416,"title":{},"name":{},"text":{"4":{}},"component":{}}],["busi",{"_index":193,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["call",{"_index":9,"title":{},"name":{},"text":{"1":{},"2":{},"3":{},"4":{},"7":{},"8":{},"9":{},"19":{},"23":{},"27":{}},"component":{}}],["callback",{"_index":196,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["care",{"_index":473,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["case",{"_index":31,"title":{},"name":{},"text":{"1":{},"3":{},"4":{},"5":{},"8":{},"9":{},"10":{}},"component":{}}],["catch",{"_index":83,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["caus",{"_index":367,"title":{},"name":{},"text":{"4":{}},"component":{}}],["cc",{"_index":676,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["chain",{"_index":101,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["chang",{"_index":211,"title":{"3-5":{},"9-5":{}},"name":{},"text":{},"component":{}}],["check",{"_index":111,"title":{},"name":{},"text":{"1":{},"3":{},"5":{},"8":{},"9":{},"10":{}},"component":{}}],["citizen",{"_index":184,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["class",{"_index":59,"title":{},"name":{},"text":{"1":{},"2":{},"3":{},"4":{},"5":{},"7":{},"8":{},"9":{},"10":{},"12":{},"13":{},"14":{},"15":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["classpath",{"_index":503,"title":{},"name":{},"text":{"6":{}},"component":{}}],["classpath=../../play",{"_index":562,"title":{},"name":{},"text":{"11":{}},"component":{}}],["cli",{"_index":560,"title":{},"name":{"11":{}},"text":{},"component":{}}],["client",{"_index":133,"title":{"3":{},"9":{},"16":{},"20":{},"24":{},"3-1":{},"3-2":{},"3-4":{},"7-2":{},"9-1":{},"9-2":{},"9-4":{}},"name":{"3":{},"9":{}},"text":{"1":{},"2":{},"3":{},"4":{},"8":{},"9":{},"13":{},"16":{},"18":{},"19":{},"20":{},"22":{},"23":{},"24":{},"26":{},"27":{}},"component":{}}],["client.sayhello(name).map",{"_index":268,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["client.sayhello(name).map(answ",{"_index":274,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["close(context",{"_index":145,"title":{},"name":{},"text":{"1":{},"5":{},"8":{},"10":{}},"component":{}}],["close(messagecontext",{"_index":92,"title":{},"name":{},"text":{"1":{},"5":{},"8":{},"10":{}},"component":{}}],["clumsi",{"_index":168,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["code",{"_index":114,"title":{},"name":{},"text":{"1":{},"2":{},"3":{},"5":{},"7":{},"8":{},"9":{},"10":{},"17":{},"19":{},"21":{},"23":{},"25":{},"27":{}},"component":{}}],["codegen",{"_index":591,"title":{},"name":{},"text":{"14":{}},"component":{}}],["collect",{"_index":278,"title":{},"name":{},"text":{"3":{},"5":{},"9":{},"10":{}},"component":{}}],["com.exampl",{"_index":223,"title":{},"name":{},"text":{"3":{},"4":{},"9":{}},"component":{}}],["com.example.bar",{"_index":450,"title":{},"name":{},"text":{"4":{}},"component":{}}],["com.example.foo",{"_index":448,"title":{},"name":{},"text":{"4":{}},"component":{}}],["com.example.helloworldservic",{"_index":224,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["com.example.helloworldservice_servic",{"_index":236,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["com.google.inject.inject",{"_index":748,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["com.mycompany.exampl",{"_index":408,"title":{},"name":{},"text":{"4":{}},"component":{}}],["com.typesafe.play",{"_index":574,"title":{},"name":{},"text":{"12":{},"14":{},"16":{},"19":{},"20":{},"23":{}},"component":{}}],["combin",{"_index":338,"title":{},"name":{},"text":{"3":{},"4":{},"9":{}},"component":{}}],["come",{"_index":107,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["command",{"_index":589,"title":{},"name":{},"text":{"13":{}},"component":{}}],["common",{"_index":475,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["compil",{"_index":346,"title":{"4-3":{}},"name":{},"text":{"4":{}},"component":{}}],["complet",{"_index":433,"title":{},"name":{},"text":{"4":{},"7":{}},"component":{}}],["completablefuture.completedfuture(repli",{"_index":758,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["completionstag",{"_index":272,"title":{},"name":{},"text":{"3":{},"7":{},"9":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["compon",{"_index":246,"title":{},"name":{},"text":{"3":{},"9":{},"16":{},"20":{},"24":{}},"component":{}}],["compos",{"_index":179,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["concern",{"_index":13,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["concret",{"_index":732,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["conf/rout",{"_index":760,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["conf/wsdl",{"_index":381,"title":{},"name":{},"text":{"4":{}},"component":{}}],["configur",{"_index":210,"title":{"3-4":{},"4-3":{},"4-5":{},"4-6":{},"4-7":{},"4-9":{},"9-4":{}},"name":{},"text":{"3":{},"4":{},"7":{},"9":{},"12":{},"14":{},"15":{},"16":{},"20":{},"24":{}},"component":{}}],["conflict",{"_index":229,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["connect",{"_index":659,"title":{},"name":{},"text":{"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["consid",{"_index":219,"title":{},"name":{},"text":{"3":{},"9":{},"13":{}},"component":{}}],["construct",{"_index":181,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["consum",{"_index":610,"title":{},"name":{"16":{},"20":{},"24":{}},"text":{},"component":{}}],["contain",{"_index":426,"title":{},"name":{},"text":{"4":{},"7":{}},"component":{}}],["content",{"_index":323,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["context",{"_index":69,"title":{},"name":{},"text":{"1":{},"5":{},"8":{},"10":{}},"component":{}}],["context.get(messagecontext.http_request_head",{"_index":468,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["context.get(messagecontext.http_response_cod",{"_index":79,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["context.get(messagecontext.message_outbound_properti",{"_index":71,"title":{},"name":{},"text":{"1":{},"5":{},"8":{},"10":{}},"component":{}}],["context.getmessag",{"_index":73,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["context.getmessage.writeto(system.out",{"_index":149,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["context.put(messagecontext.http_request_head",{"_index":472,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["continu",{"_index":99,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["contrast",{"_index":187,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["control",{"_index":247,"title":{},"name":{},"text":{"3":{},"9":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["controller.greeterserviceimpl",{"_index":736,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["controllercompon",{"_index":677,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["controllers.greeterserviceimpl",{"_index":768,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["conveni",{"_index":279,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["convers",{"_index":282,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["convert",{"_index":579,"title":{},"name":{},"text":{"13":{}},"component":{}}],["copi",{"_index":522,"title":{},"name":{},"text":{"7":{}},"component":{}}],["correspond",{"_index":639,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["cours",{"_index":463,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["creat",{"_index":466,"title":{},"name":{},"text":{"5":{},"7":{},"10":{},"19":{},"23":{},"27":{}},"component":{}}],["cross",{"_index":11,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["customis",{"_index":524,"title":{},"name":{},"text":{"7":{}},"component":{}}],["cut",{"_index":12,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["cxf",{"_index":419,"title":{"6-1":{}},"name":{},"text":{"4":{},"6":{},"7":{},"14":{},"15":{}},"component":{}}],["cxf.version",{"_index":595,"title":{},"name":{},"text":{"14":{}},"component":{}}],["cxfversion",{"_index":605,"title":{},"name":{},"text":{"15":{}},"component":{}}],["cxfwsdl",{"_index":603,"title":{},"name":{},"text":{"15":{}},"component":{}}],["data",{"_index":21,"title":{},"name":{},"text":{"1":{},"3":{},"8":{},"9":{}},"component":{}}],["debug",{"_index":214,"title":{"3-6":{},"9-6":{}},"name":{},"text":{"3":{},"9":{}},"component":{}}],["debuglog",{"_index":337,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["decid",{"_index":543,"title":{},"name":{},"text":{"7":{}},"component":{}}],["def",{"_index":137,"title":{},"name":{},"text":{"1":{},"3":{},"5":{},"8":{},"9":{},"10":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["default",{"_index":329,"title":{},"name":{},"text":{"3":{},"4":{},"7":{},"9":{},"16":{},"20":{},"24":{}},"component":{}}],["defin",{"_index":295,"title":{},"name":{},"text":{"3":{},"4":{},"9":{}},"component":{}}],["definit",{"_index":714,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["depend",{"_index":45,"title":{},"name":{},"text":{"1":{},"3":{},"8":{},"9":{},"12":{},"13":{},"14":{},"15":{},"19":{},"23":{},"27":{}},"component":{}}],["describ",{"_index":182,"title":{},"name":{},"text":{"2":{},"7":{},"16":{},"20":{},"24":{}},"component":{}}],["descriptor",{"_index":726,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["design",{"_index":536,"title":{},"name":{},"text":{"7":{}},"component":{}}],["desir",{"_index":412,"title":{},"name":{},"text":{"4":{}},"component":{}}],["detail",{"_index":47,"title":{},"name":{},"text":{"1":{},"6":{},"8":{},"17":{},"21":{},"25":{}},"component":{}}],["differ",{"_index":352,"title":{"4-9":{}},"name":{},"text":{"4":{},"16":{},"20":{},"24":{}},"component":{}}],["direct",{"_index":588,"title":{},"name":{},"text":{"13":{}},"component":{}}],["directori",{"_index":382,"title":{},"name":{},"text":{"4":{}},"component":{}}],["dispatch",{"_index":518,"title":{},"name":{},"text":{"7":{}},"component":{}}],["do",{"_index":159,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["doc",{"_index":614,"title":{},"name":{},"text":{"16":{},"17":{},"20":{},"21":{},"24":{},"25":{}},"component":{}}],["document",{"_index":127,"title":{},"name":{},"text":{"1":{},"5":{},"8":{},"10":{},"13":{}},"component":{}}],["doesn’t",{"_index":165,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["done",{"_index":112,"title":{},"name":{},"text":{"1":{},"4":{},"5":{},"7":{},"8":{},"10":{},"19":{},"23":{},"27":{}},"component":{}}],["dot",{"_index":653,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["down",{"_index":100,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["due",{"_index":549,"title":{},"name":{},"text":{"7":{}},"component":{}}],["dynam",{"_index":203,"title":{},"name":{},"text":{"2":{}},"component":{}}],["e",{"_index":85,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["each",{"_index":226,"title":{},"name":{},"text":{"3":{},"4":{},"5":{},"9":{},"10":{}},"component":{}}],["earlier",{"_index":126,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["easi",{"_index":190,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["embed",{"_index":707,"title":{},"name":{},"text":{"18":{},"22":{},"26":{}},"component":{}}],["enabl",{"_index":389,"title":{},"name":{},"text":{"4":{},"13":{},"16":{},"17":{},"19":{},"20":{},"21":{},"23":{},"24":{},"25":{},"27":{}},"component":{}}],["enableplugins(akkagrpcplugin",{"_index":721,"title":{},"name":{},"text":{"19":{},"23":{}},"component":{}}],["enableplugins(cxfplugin",{"_index":604,"title":{},"name":{},"text":{"15":{}},"component":{}}],["enableplugins(pekkogrpcplugin",{"_index":780,"title":{},"name":{},"text":{"27":{}},"component":{}}],["encod",{"_index":319,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["end",{"_index":235,"title":{},"name":{},"text":{"3":{},"7":{},"9":{},"19":{},"23":{},"27":{}},"component":{}}],["endpoint",{"_index":232,"title":{},"name":{},"text":{"3":{},"9":{},"18":{},"22":{},"26":{}},"component":{}}],["enhanc",{"_index":292,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["enough",{"_index":545,"title":{},"name":{},"text":{"7":{},"19":{},"23":{},"27":{}},"component":{}}],["ensur",{"_index":341,"title":{},"name":{},"text":{"3":{},"5":{},"9":{},"10":{}},"component":{}}],["entir",{"_index":30,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["entri",{"_index":650,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["etc",{"_index":740,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["eventu",{"_index":556,"title":{},"name":{},"text":{"7":{}},"component":{}}],["exact",{"_index":641,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["exactli",{"_index":166,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["exampl",{"_index":38,"title":{},"name":{},"text":{"1":{},"3":{},"4":{},"5":{},"8":{},"9":{},"10":{},"12":{},"14":{},"15":{},"18":{},"19":{},"22":{},"23":{},"26":{},"27":{}},"component":{}}],["example.com",{"_index":657,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["example.myapp.helloworld.grpc",{"_index":630,"title":{},"name":{},"text":{"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["example.myapp.helloworld.grpc.abstractgreeterservicerout",{"_index":731,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["example.myapp.helloworld.grpc.akkagrpcclientmodul",{"_index":638,"title":{},"name":{},"text":{"16":{},"20":{}},"component":{}}],["example.myapp.helloworld.grpc.greeterservicecli",{"_index":686,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["example.myapp.helloworld.grpc.hellorepli",{"_index":749,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["example.myapp.helloworld.grpc.hellorequest",{"_index":687,"title":{},"name":{},"text":{"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["example.myapp.helloworld.grpc.helloworld.abstractgreeterservicerout",{"_index":730,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["example.myapp.helloworld.grpc.helloworld.akkagrpcclientmodul",{"_index":637,"title":{},"name":{},"text":{"16":{},"20":{}},"component":{}}],["example.myapp.helloworld.grpc.helloworld.greeterservicecli",{"_index":668,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["example.myapp.helloworld.grpc.helloworld.hellorepli",{"_index":738,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["example.myapp.helloworld.grpc.helloworld.hellorequest",{"_index":669,"title":{},"name":{},"text":{"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["example.myapp.helloworld.grpc.helloworld.pekkogrpcclientmodul",{"_index":774,"title":{},"name":{},"text":{"24":{}},"component":{}}],["example.myapp.helloworld.grpc.pekkogrpcclientmodul",{"_index":775,"title":{},"name":{},"text":{"24":{}},"component":{}}],["except",{"_index":84,"title":{},"name":{},"text":{"1":{},"8":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["exec",{"_index":678,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["execut",{"_index":437,"title":{},"name":{},"text":{"4":{}},"component":{}}],["executioncontext",{"_index":679,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["expect",{"_index":461,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["export",{"_index":561,"title":{},"name":{},"text":{"11":{}},"component":{}}],["extend",{"_index":40,"title":{},"name":{},"text":{"1":{},"5":{},"8":{},"10":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["extract",{"_index":540,"title":{},"name":{},"text":{"7":{}},"component":{}}],["extragener",{"_index":704,"title":{},"name":{},"text":{"17":{},"21":{},"25":{}},"component":{}}],["fail",{"_index":663,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["fals",{"_index":102,"title":{},"name":{},"text":{"1":{},"8":{},"13":{},"16":{},"20":{},"24":{}},"component":{}}],["fault",{"_index":148,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["fe",{"_index":564,"title":{},"name":{},"text":{"11":{},"12":{},"13":{},"15":{}},"component":{}}],["file",{"_index":353,"title":{"4-9":{}},"name":{},"text":{"4":{},"12":{},"14":{},"15":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["filesystem",{"_index":446,"title":{},"name":{},"text":{"4":{}},"component":{}}],["final",{"_index":251,"title":{},"name":{},"text":{"3":{},"9":{},"16":{},"20":{},"24":{}},"component":{}}],["first",{"_index":188,"title":{},"name":{},"text":{"2":{},"3":{},"7":{},"9":{},"16":{},"20":{},"24":{}},"component":{}}],["fit",{"_index":735,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["flat_packag",{"_index":640,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["focuss",{"_index":192,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["follow",{"_index":113,"title":{},"name":{},"text":{"1":{},"3":{},"4":{},"8":{},"9":{},"12":{},"14":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["foo.wsdl\").touri.tourl",{"_index":454,"title":{},"name":{},"text":{"4":{}},"component":{}}],["format",{"_index":297,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["found",{"_index":584,"title":{},"name":{},"text":{"13":{}},"component":{}}],["framework",{"_index":177,"title":{},"name":{},"text":{"2":{},"7":{},"13":{},"19":{},"23":{},"27":{}},"component":{}}],["frontend",{"_index":582,"title":{},"name":{},"text":{"13":{}},"component":{}}],["full",{"_index":422,"title":{},"name":{},"text":{"4":{},"18":{},"22":{},"26":{}},"component":{}}],["fulli",{"_index":302,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["further",{"_index":343,"title":{},"name":{},"text":{"3":{},"9":{},"17":{},"21":{},"25":{}},"component":{}}],["futur",{"_index":291,"title":{"4-4":{}},"name":{},"text":{"3":{},"4":{},"7":{},"9":{},"13":{}},"component":{}}],["future.successful(helloreply(s\"hello",{"_index":746,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["future[hellorepli",{"_index":745,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["futureapi",{"_index":392,"title":{},"name":{},"text":{"4":{}},"component":{}}],["gener",{"_index":202,"title":{},"name":{},"text":{"2":{},"3":{},"4":{},"5":{},"7":{},"9":{},"10":{},"12":{},"13":{},"14":{},"15":{},"16":{},"17":{},"19":{},"20":{},"21":{},"23":{},"24":{},"25":{},"27":{}},"component":{}}],["generatecli",{"_index":702,"title":{},"name":{},"text":{"17":{},"21":{},"25":{}},"component":{}}],["generateplay",{"_index":697,"title":{},"name":{},"text":{"17":{},"21":{},"25":{}},"component":{}}],["generateserv",{"_index":703,"title":{},"name":{},"text":{"17":{},"21":{},"25":{}},"component":{}}],["get",{"_index":554,"title":{},"name":{},"text":{"7":{}},"component":{}}],["gethead",{"_index":64,"title":{},"name":{},"text":{"1":{},"5":{},"8":{},"10":{}},"component":{}}],["gethelloworld",{"_index":131,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["getorelse(new",{"_index":487,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["getter/sett",{"_index":276,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["global",{"_index":296,"title":{},"name":{},"text":{"3":{},"4":{},"9":{}},"component":{}}],["good",{"_index":544,"title":{},"name":{},"text":{"7":{}},"component":{}}],["gradl",{"_index":569,"title":{"12":{},"17":{},"21":{},"25":{}},"name":{"12":{},"17":{},"21":{},"25":{}},"text":{"12":{},"13":{},"17":{},"21":{},"25":{}},"component":{}}],["greetercli",{"_index":674,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["greeterservic",{"_index":633,"title":{},"name":{},"text":{"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["greeterservicecli",{"_index":675,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["greeterserviceimpl",{"_index":741,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["greeterserviceimpl(actorsystem",{"_index":752,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["group",{"_index":573,"title":{},"name":{},"text":{"12":{}},"component":{}}],["grpc",{"_index":609,"title":{"16":{},"18":{},"19":{},"20":{},"22":{},"23":{},"24":{},"26":{},"27":{}},"name":{"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"text":{"16":{},"17":{},"18":{},"19":{},"20":{},"21":{},"22":{},"23":{},"24":{},"25":{},"26":{},"27":{}},"component":{"16":{},"17":{},"18":{},"19":{},"20":{},"21":{},"22":{},"23":{},"24":{},"25":{},"26":{},"27":{}}}],["hack",{"_index":548,"title":{},"name":{},"text":{"7":{}},"component":{}}],["handl",{"_index":174,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["handlefault(context",{"_index":147,"title":{},"name":{},"text":{"1":{},"5":{},"8":{},"10":{}},"component":{}}],["handlefault(soapmessagecontext",{"_index":90,"title":{},"name":{},"text":{"1":{},"5":{},"8":{},"10":{}},"component":{}}],["handlemessag",{"_index":95,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["handlemessage(context",{"_index":138,"title":{},"name":{},"text":{"1":{},"5":{},"8":{},"10":{}},"component":{}}],["handlemessage(soapmessagecontext",{"_index":68,"title":{},"name":{},"text":{"1":{},"5":{},"8":{},"10":{}},"component":{}}],["handler",{"_index":0,"title":{"1":{},"8":{},"1-1":{},"1-2":{},"1-3":{},"1-4":{},"1-5":{},"1-6":{},"8-1":{},"8-2":{},"8-3":{},"8-4":{},"8-5":{},"8-6":{}},"name":{"1":{},"8":{}},"text":{"1":{},"5":{},"8":{},"10":{}},"component":{}}],["hard",{"_index":516,"title":{},"name":{},"text":{"7":{}},"component":{}}],["hashmap",{"_index":469,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["have",{"_index":237,"title":{},"name":{},"text":{"3":{},"7":{},"9":{}},"component":{}}],["header",{"_index":24,"title":{},"name":{},"text":{"1":{},"3":{},"5":{},"8":{},"9":{},"10":{}},"component":{}}],["headers.put(\"authent",{"_index":470,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["hello",{"_index":336,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["hello(nam",{"_index":266,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["hello(str",{"_index":273,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["hellorepli",{"_index":636,"title":{},"name":{},"text":{"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["helloreply.newbuilder().setmessage(message).build",{"_index":757,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["hellorequest",{"_index":635,"title":{},"name":{},"text":{"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["helloworld",{"_index":132,"title":{},"name":{},"text":{"1":{},"3":{},"8":{},"9":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["helloworld.greeterservic",{"_index":655,"title":{},"name":{},"text":{"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["helloworld.proto",{"_index":624,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["helloworld.wsdl",{"_index":568,"title":{},"name":{},"text":{"11":{},"15":{}},"component":{}}],["helloworldproto",{"_index":632,"title":{},"name":{},"text":{"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["helloworldservic",{"_index":124,"title":{},"name":{},"text":{"1":{},"3":{},"8":{},"9":{}},"component":{}}],["helloworldservice.gethelloworld",{"_index":255,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["helloworldservice.gethelloworld(new",{"_index":134,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["helloworldservice.helloworld",{"_index":249,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["helloworldservice.helloworld(new",{"_index":150,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["helloworldsoapbind",{"_index":243,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["henc",{"_index":519,"title":{},"name":{},"text":{"7":{}},"component":{}}],["here",{"_index":48,"title":{},"name":{},"text":{"1":{},"5":{},"7":{},"8":{},"10":{},"13":{}},"component":{}}],["hierarch",{"_index":293,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["highlight",{"_index":496,"title":{},"name":{"6":{}},"text":{},"component":{}}],["holder",{"_index":529,"title":{},"name":{},"text":{"7":{}},"component":{}}],["hook",{"_index":648,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["host",{"_index":656,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["http",{"_index":119,"title":{},"name":{},"text":{"1":{},"2":{},"3":{},"5":{},"7":{},"8":{},"9":{},"10":{},"19":{},"23":{},"27":{}},"component":{}}],["http/2",{"_index":711,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["http://example.com",{"_index":407,"title":{},"name":{},"text":{"4":{}},"component":{}}],["http://example.com/bar?wsdl",{"_index":449,"title":{},"name":{},"text":{"4":{}},"component":{}}],["http://example.com/helloworld",{"_index":310,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["id",{"_index":318,"title":{},"name":{},"text":{"3":{},"9":{},"12":{}},"component":{}}],["ignor",{"_index":436,"title":{},"name":{},"text":{"4":{}},"component":{}}],["implement",{"_index":2,"title":{"1-2":{},"1-5":{},"8-2":{},"8-5":{}},"name":{},"text":{"1":{},"2":{},"5":{},"7":{},"8":{},"10":{},"19":{},"23":{},"27":{}},"component":{}}],["implicit",{"_index":281,"title":{},"name":{},"text":{"3":{},"9":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["import",{"_index":52,"title":{},"name":{},"text":{"1":{},"3":{},"5":{},"8":{},"9":{},"10":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["in.getnam",{"_index":756,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["in.nam",{"_index":747,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["inbound",{"_index":311,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["includ",{"_index":19,"title":{},"name":{},"text":{"1":{},"3":{},"8":{},"9":{}},"component":{}}],["incom",{"_index":16,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["index",{"_index":153,"title":{},"name":{"2":{},"7":{},"18":{},"22":{},"26":{}},"text":{},"component":{}}],["individu",{"_index":404,"title":{},"name":{},"text":{"4":{}},"component":{}}],["info",{"_index":316,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["inform",{"_index":661,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["inject",{"_index":245,"title":{},"name":{},"text":{"3":{},"7":{},"9":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["insert",{"_index":552,"title":{},"name":{},"text":{"7":{}},"component":{}}],["inspect",{"_index":14,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["instal",{"_index":207,"title":{"4-1":{}},"name":{},"text":{"2":{},"4":{}},"component":{}}],["integ",{"_index":77,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["integr",{"_index":176,"title":{},"name":{},"text":{"2":{},"7":{},"13":{}},"component":{}}],["interceptor",{"_index":510,"title":{"7-3":{}},"name":{},"text":{"7":{}},"component":{}}],["interfac",{"_index":158,"title":{"11":{}},"name":{},"text":{"2":{},"3":{},"7":{},"9":{},"13":{}},"component":{}}],["interpret",{"_index":580,"title":{},"name":{},"text":{"13":{}},"component":{}}],["invoc",{"_index":118,"title":{},"name":{},"text":{"1":{},"2":{},"7":{},"8":{}},"component":{}}],["invok",{"_index":104,"title":{},"name":{},"text":{"1":{},"3":{},"7":{},"8":{},"9":{}},"component":{}}],["item",{"_index":294,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["it’",{"_index":286,"title":{},"name":{},"text":{"3":{},"4":{},"7":{},"9":{}},"component":{}}],["j",{"_index":479,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["jakarta",{"_index":505,"title":{},"name":{},"text":{"6":{}},"component":{}}],["jakartae",{"_index":500,"title":{},"name":{},"text":{"6":{}},"component":{}}],["java",{"_index":1,"title":{"1-1":{},"1-2":{},"1-3":{},"5-2":{},"6-2":{},"8-1":{},"8-2":{},"8-3":{},"10-2":{}},"name":{},"text":{"3":{},"4":{},"5":{},"6":{},"7":{},"9":{},"10":{},"11":{},"12":{},"13":{},"14":{},"15":{},"16":{},"17":{},"18":{},"19":{},"20":{},"21":{},"22":{},"23":{},"24":{},"25":{},"26":{},"27":{}},"component":{}}],["java.util",{"_index":464,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["java.util.concurrent.completablefutur",{"_index":750,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["java.util.concurrent.completionstag",{"_index":271,"title":{},"name":{},"text":{"3":{},"4":{},"9":{},"13":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["java.util.set",{"_index":57,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["java.util.{map",{"_index":480,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["java_multiple_fil",{"_index":628,"title":{},"name":{},"text":{"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["java_outer_classnam",{"_index":631,"title":{},"name":{},"text":{"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["java_packag",{"_index":629,"title":{},"name":{},"text":{"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["javax",{"_index":502,"title":{},"name":{},"text":{"6":{}},"component":{}}],["javax.inject.inject",{"_index":665,"title":{},"name":{},"text":{"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["javax.inject.singleton",{"_index":666,"title":{},"name":{},"text":{"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["javax.xml.namespace.qnam",{"_index":53,"title":{},"name":{},"text":{"1":{},"5":{},"8":{},"10":{}},"component":{}}],["javax.xml.soap.soapmessag",{"_index":54,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["javax.xml.ws.handler.handl",{"_index":43,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["javax.xml.ws.handler.messagecontext",{"_index":55,"title":{},"name":{},"text":{"1":{},"5":{},"8":{},"10":{}},"component":{}}],["javax.xml.ws.handler.messagecontext.http_request_head",{"_index":462,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["javax.xml.ws.handler.soap.soaphandl",{"_index":51,"title":{},"name":{},"text":{"1":{},"5":{},"8":{},"10":{}},"component":{}}],["javax.xml.ws.handler.soap.soapmessagecontext",{"_index":56,"title":{},"name":{},"text":{"1":{},"5":{},"8":{},"10":{}},"component":{}}],["javax.xml.ws.handler.soap.{soapmessagecontext",{"_index":135,"title":{},"name":{},"text":{"1":{},"5":{},"8":{},"10":{}},"component":{}}],["jax",{"_index":5,"title":{"1":{},"8":{},"2-1":{},"7-1":{}},"name":{},"text":{"1":{},"2":{},"5":{},"7":{},"8":{},"10":{}},"component":{}}],["jaxb",{"_index":527,"title":{},"name":{},"text":{"7":{},"13":{}},"component":{}}],["jaxwsclientproxi",{"_index":514,"title":{},"name":{},"text":{"7":{}},"component":{}}],["jdk",{"_index":515,"title":{},"name":{},"text":{"7":{}},"component":{}}],["jhashmap",{"_index":483,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["jhashmap[str",{"_index":488,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["jlist",{"_index":482,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["jlist[str",{"_index":486,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["jmap",{"_index":481,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["know",{"_index":108,"title":{},"name":{},"text":{"1":{},"8":{},"19":{},"23":{},"27":{}},"component":{}}],["languag",{"_index":701,"title":{},"name":{},"text":{"17":{},"21":{},"25":{}},"component":{}}],["last",{"_index":361,"title":{},"name":{},"text":{"4":{},"6":{}},"component":{}}],["length=[204",{"_index":333,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["letter",{"_index":478,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["let’",{"_index":259,"title":{},"name":{},"text":{"3":{},"4":{},"5":{},"9":{},"10":{},"19":{},"23":{},"27":{}},"component":{}}],["level",{"_index":340,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["librari",{"_index":191,"title":{},"name":{},"text":{"2":{},"3":{},"4":{},"7":{},"9":{}},"component":{}}],["librarydepend",{"_index":598,"title":{},"name":{},"text":{"15":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["line",{"_index":356,"title":{"11":{}},"name":{},"text":{"4":{},"13":{}},"component":{}}],["list",{"_index":130,"title":{},"name":{},"text":{"1":{},"4":{},"5":{},"8":{},"10":{}},"component":{}}],["list(\"somesecret",{"_index":489,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["load",{"_index":115,"title":{},"name":{},"text":{"1":{},"5":{},"8":{},"10":{}},"component":{}}],["local",{"_index":386,"title":{},"name":{},"text":{"4":{}},"component":{}}],["locat",{"_index":238,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["log",{"_index":32,"title":{"3-6":{},"9-6":{}},"name":{},"text":{"1":{},"3":{},"8":{},"9":{}},"component":{}}],["logginghandl",{"_index":60,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["logic",{"_index":194,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["longest",{"_index":644,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["look",{"_index":725,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["lot",{"_index":521,"title":{},"name":{},"text":{"7":{}},"component":{}}],["made",{"_index":29,"title":{},"name":{},"text":{"1":{},"3":{},"8":{},"9":{}},"component":{}}],["main",{"_index":93,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["major",{"_index":499,"title":{},"name":{},"text":{"6":{}},"component":{}}],["make",{"_index":154,"title":{},"name":{},"text":{"2":{},"5":{},"7":{},"10":{},"17":{},"21":{},"25":{}},"component":{}}],["mani",{"_index":35,"title":{},"name":{},"text":{"1":{},"3":{},"4":{},"8":{},"9":{}},"component":{}}],["map",{"_index":467,"title":{},"name":{},"text":{"5":{},"10":{},"16":{},"20":{},"24":{}},"component":{}}],["map.empti",{"_index":442,"title":{},"name":{},"text":{"4":{}},"component":{}}],["map[str",{"_index":441,"title":{},"name":{},"text":{"4":{}},"component":{}}],["match",{"_index":396,"title":{},"name":{},"text":{"4":{}},"component":{}}],["maven",{"_index":587,"title":{"14":{}},"name":{"14":{}},"text":{"13":{},"14":{}},"component":{}}],["mechan",{"_index":539,"title":{},"name":{},"text":{"7":{}},"component":{}}],["messag",{"_index":18,"title":{},"name":{},"text":{"1":{},"3":{},"5":{},"8":{},"9":{},"10":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["message.writeto(system.out",{"_index":76,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["messagecontext",{"_index":146,"title":{},"name":{},"text":{"1":{},"5":{},"8":{},"10":{}},"component":{}}],["messagecontext.http_request_head",{"_index":491,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["method",{"_index":94,"title":{},"name":{},"text":{"1":{},"2":{},"3":{},"4":{},"7":{},"8":{},"9":{}},"component":{}}],["migrat",{"_index":504,"title":{},"name":{},"text":{"6":{}},"component":{}}],["mind",{"_index":537,"title":{},"name":{},"text":{"7":{}},"component":{}}],["modifi",{"_index":15,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["modul",{"_index":578,"title":{},"name":{},"text":{"13":{},"16":{},"20":{},"24":{}},"component":{}}],["monitor",{"_index":34,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["more",{"_index":46,"title":{},"name":{},"text":{"1":{},"6":{},"8":{},"16":{},"20":{},"24":{}},"component":{}}],["multipl",{"_index":530,"title":{},"name":{},"text":{"7":{},"16":{},"20":{},"24":{}},"component":{}}],["mycompon",{"_index":248,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["mycomponent(helloworldservic",{"_index":252,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["mycontrol",{"_index":673,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["mycontroller(greeterservicecli",{"_index":690,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["name",{"_index":218,"title":{"4-5":{},"4-6":{}},"name":{},"text":{"3":{},"4":{},"7":{},"9":{},"12":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["namespac",{"_index":397,"title":{},"name":{},"text":{"4":{}},"component":{}}],["necessari",{"_index":368,"title":{},"name":{},"text":{"4":{},"7":{}},"component":{}}],["need",{"_index":110,"title":{},"name":{},"text":{"1":{},"3":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{},"12":{},"14":{},"15":{},"16":{},"17":{},"19":{},"20":{},"21":{},"23":{},"24":{},"25":{},"27":{}},"component":{}}],["new",{"_index":87,"title":{"6":{}},"name":{},"text":{"1":{},"5":{},"8":{},"10":{}},"component":{}}],["next",{"_index":498,"title":{},"name":{},"text":{"6":{}},"component":{}}],["nil",{"_index":445,"title":{},"name":{},"text":{"4":{}},"component":{}}],["no.nils.wsdl2java",{"_index":571,"title":{},"name":{},"text":{"12":{}},"component":{}}],["none",{"_index":440,"title":{},"name":{},"text":{"4":{}},"component":{}}],["note",{"_index":209,"title":{"3-3":{},"9-3":{}},"name":{},"text":{"3":{},"5":{},"6":{},"9":{},"10":{},"19":{},"23":{},"27":{}},"component":{}}],["notic",{"_index":376,"title":{},"name":{},"text":{"4":{}},"component":{}}],["now",{"_index":239,"title":{},"name":{},"text":{"3":{},"6":{},"7":{},"9":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["null",{"_index":66,"title":{},"name":{},"text":{"1":{},"3":{},"5":{},"8":{},"9":{},"10":{}},"component":{}}],["o.a.c.s.h.helloworldport.helloworld",{"_index":317,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["object",{"_index":22,"title":{},"name":{},"text":{"1":{},"3":{},"4":{},"7":{},"8":{},"9":{}},"component":{}}],["odd",{"_index":550,"title":{},"name":{},"text":{"7":{}},"component":{}}],["ok(\"respons",{"_index":695,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["ok(answ",{"_index":270,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["ok(s\"respons",{"_index":684,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["ommand",{"_index":559,"title":{"11":{}},"name":{},"text":{},"component":{}}],["on",{"_index":241,"title":{},"name":{},"text":{"3":{},"4":{},"9":{},"13":{}},"component":{}}],["onc",{"_index":215,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["oper",{"_index":260,"title":{},"name":{},"text":{"3":{},"4":{},"9":{}},"component":{}}],["option",{"_index":289,"title":{},"name":{},"text":{"3":{},"4":{},"9":{},"11":{},"13":{},"16":{},"17":{},"19":{},"20":{},"21":{},"23":{},"24":{},"25":{},"27":{}},"component":{}}],["option(context.get(messagecontext.http_request_head",{"_index":484,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["option[str",{"_index":439,"title":{},"name":{},"text":{"4":{}},"component":{}}],["order",{"_index":507,"title":{},"name":{},"text":{"6":{}},"component":{}}],["ordinari",{"_index":384,"title":{},"name":{},"text":{"4":{}},"component":{}}],["org.apache.cxf",{"_index":594,"title":{},"name":{},"text":{"14":{}},"component":{}}],["org.apache.cxf.servic",{"_index":342,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["org.apache.cxf.services.helloworldservic",{"_index":345,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["org.apache.pekko.actor.actorsystem",{"_index":781,"title":{},"name":{},"text":{"27":{}},"component":{}}],["org.playframework",{"_index":772,"title":{},"name":{},"text":{"24":{},"27":{}},"component":{}}],["origin",{"_index":583,"title":{},"name":{},"text":{"13":{}},"component":{}}],["otherwis",{"_index":532,"title":{},"name":{},"text":{"7":{}},"component":{}}],["outbound",{"_index":70,"title":{},"name":{},"text":{"1":{},"3":{},"5":{},"8":{},"9":{},"10":{}},"component":{}}],["outgo",{"_index":17,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["output",{"_index":727,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["over",{"_index":410,"title":{},"name":{},"text":{"4":{},"16":{},"20":{},"24":{}},"component":{}}],["overrid",{"_index":399,"title":{},"name":{},"text":{"4":{},"7":{},"19":{},"23":{},"27":{}},"component":{}}],["overridden",{"_index":411,"title":{},"name":{},"text":{"4":{},"7":{}},"component":{}}],["packag",{"_index":222,"title":{"4-5":{}},"name":{},"text":{"3":{},"4":{},"9":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["packagemap",{"_index":405,"title":{},"name":{},"text":{"4":{}},"component":{}}],["packagenam",{"_index":400,"title":{},"name":{},"text":{"4":{}},"component":{}}],["paramet",{"_index":263,"title":{},"name":{},"text":{"3":{},"9":{},"15":{}},"component":{}}],["part",{"_index":523,"title":{},"name":{},"text":{"7":{}},"component":{}}],["particular",{"_index":300,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["pass",{"_index":129,"title":{},"name":{},"text":{"1":{},"2":{},"3":{},"4":{},"7":{},"8":{},"9":{}},"component":{}}],["path",{"_index":762,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["payload",{"_index":326,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["pekko",{"_index":770,"title":{},"name":{},"text":{"24":{},"25":{},"26":{},"27":{}},"component":{}}],["pekko.grpc.cli",{"_index":776,"title":{},"name":{},"text":{"24":{}},"component":{}}],["pekkogrpc",{"_index":777,"title":{},"name":{},"text":{"25":{}},"component":{}}],["pekkogrpcextragener",{"_index":771,"title":{},"name":{},"text":{"24":{},"27":{}},"component":{}}],["per",{"_index":728,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["place",{"_index":380,"title":{},"name":{},"text":{"4":{},"19":{},"23":{},"27":{}},"component":{}}],["plain",{"_index":699,"title":{},"name":{},"text":{"17":{},"21":{},"25":{}},"component":{}}],["play",{"_index":151,"title":{"2":{},"3":{},"6":{},"7":{},"9":{},"16":{},"17":{},"18":{},"19":{},"20":{},"21":{},"22":{},"23":{},"24":{},"25":{},"26":{},"27":{},"2-2":{}},"name":{"3":{},"9":{}},"text":{"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"9":{},"10":{},"11":{},"12":{},"13":{},"14":{},"15":{},"16":{},"17":{},"18":{},"19":{},"20":{},"21":{},"22":{},"23":{},"24":{},"25":{},"26":{},"27":{}},"component":{"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{},"11":{},"12":{},"13":{},"14":{},"15":{},"16":{},"17":{},"18":{},"19":{},"20":{},"21":{},"22":{},"23":{},"24":{},"25":{},"26":{},"27":{}}}],["play.api.libs.concurrent.execution.implicits._",{"_index":265,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["play.api.mvc.abstractcontrol",{"_index":670,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["play.api.mvc.controllercompon",{"_index":671,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["play.grpc.gen.javadsl.playjavaclientcodegener",{"_index":620,"title":{},"name":{},"text":{"16":{},"17":{},"20":{},"21":{},"24":{},"25":{}},"component":{}}],["play.grpc.gen.javadsl.playjavaservercodegener",{"_index":705,"title":{},"name":{},"text":{"17":{},"19":{},"21":{},"23":{},"25":{},"27":{}},"component":{}}],["play.grpc.gen.scaladsl.playscalaclientcodegener",{"_index":615,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["play.grpc.gen.scaladsl.playscalaservercodegener",{"_index":722,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["play.modules.en",{"_index":649,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["play.mvc.control",{"_index":688,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["play.mvc.result",{"_index":689,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["play.soap",{"_index":298,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["play.soap.debuglog",{"_index":308,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["play.soap.plugin.vers",{"_index":593,"title":{},"name":{},"text":{"14":{}},"component":{}}],["play.soap.servic",{"_index":301,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["play.soap.services..port",{"_index":304,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["play.soap.services.com.example.helloworldservice.address",{"_index":309,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["play.soap.services.com.example.helloworldservice.debuglog",{"_index":307,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["play.soap.services.com.example.helloworldservice.ports.helloworld.debuglog",{"_index":305,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["playjava",{"_index":390,"title":{},"name":{},"text":{"4":{}},"component":{}}],["playjavaclientcodegener",{"_index":621,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["playjavaservercodegener",{"_index":724,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["playscala",{"_index":391,"title":{},"name":{},"text":{"4":{}},"component":{}}],["playscalaclientcodegener",{"_index":617,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["playscalaservercodegener",{"_index":723,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["plugin",{"_index":199,"title":{},"name":{},"text":{"2":{},"3":{},"4":{},"9":{},"12":{},"13":{},"14":{},"15":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["plugin.jar",{"_index":563,"title":{},"name":{},"text":{"11":{}},"component":{}}],["point",{"_index":206,"title":{},"name":{},"text":{"2":{},"4":{}},"component":{}}],["pom.xml",{"_index":592,"title":{},"name":{},"text":{"14":{}},"component":{}}],["pool",{"_index":313,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["port",{"_index":122,"title":{},"name":{},"text":{"1":{},"3":{},"8":{},"9":{},"16":{},"20":{},"24":{}},"component":{}}],["possibl",{"_index":290,"title":{},"name":{},"text":{"3":{},"7":{},"9":{}},"component":{}}],["post",{"_index":322,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["preced",{"_index":409,"title":{},"name":{},"text":{"4":{}},"component":{}}],["prefix",{"_index":645,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["prepend",{"_index":477,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["present",{"_index":662,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["println",{"_index":144,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["println(s\"receiv",{"_index":143,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["println(s\"send",{"_index":142,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["privat",{"_index":250,"title":{},"name":{},"text":{"3":{},"9":{},"16":{},"20":{},"24":{}},"component":{}}],["process",{"_index":98,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["project",{"_index":354,"title":{},"name":{},"text":{"4":{},"13":{},"15":{},"17":{},"18":{},"19":{},"21":{},"22":{},"23":{},"25":{},"26":{},"27":{}},"component":{}}],["project/plugins.sbt",{"_index":357,"title":{},"name":{},"text":{"4":{},"15":{},"19":{},"23":{},"27":{}},"component":{}}],["projectdir}/src/main/resources/helloworld.wsdl",{"_index":577,"title":{},"name":{},"text":{"12":{}},"component":{}}],["promis",{"_index":189,"title":{},"name":{},"text":{"2":{},"4":{},"7":{}},"component":{}}],["promises/futur",{"_index":161,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["properti",{"_index":109,"title":{},"name":{},"text":{"1":{},"3":{},"5":{},"8":{},"9":{},"10":{}},"component":{}}],["proto",{"_index":642,"title":{},"name":{},"text":{"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["proto3",{"_index":627,"title":{},"name":{},"text":{"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["protobuf",{"_index":729,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["protocol",{"_index":460,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["provid",{"_index":7,"title":{},"name":{},"text":{"1":{},"2":{},"7":{},"8":{},"16":{},"18":{},"19":{},"20":{},"22":{},"23":{},"24":{},"26":{},"27":{}},"component":{}}],["proxi",{"_index":509,"title":{"7-2":{},"7-3":{}},"name":{},"text":{"7":{}},"component":{}}],["public",{"_index":58,"title":{},"name":{},"text":{"1":{},"3":{},"5":{},"8":{},"9":{},"10":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["pure",{"_index":288,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["put",{"_index":623,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["qualifi",{"_index":303,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["quickstart",{"_index":708,"title":{},"name":{},"text":{"18":{},"22":{},"26":{}},"component":{}}],["quit",{"_index":216,"title":{},"name":{},"text":{"3":{},"7":{},"9":{}},"component":{}}],["reactiv",{"_index":157,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["read",{"_index":120,"title":{},"name":{},"text":{"1":{},"5":{},"8":{},"10":{},"16":{},"20":{},"24":{}},"component":{}}],["redeem",{"_index":526,"title":{},"name":{},"text":{"7":{}},"component":{}}],["refer",{"_index":258,"title":{},"name":{},"text":{"3":{},"6":{},"9":{}},"component":{}}],["refin",{"_index":344,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["reflect",{"_index":542,"title":{},"name":{},"text":{"7":{}},"component":{}}],["regardless",{"_index":520,"title":{},"name":{},"text":{"7":{}},"component":{}}],["releas",{"_index":506,"title":{},"name":{},"text":{"6":{}},"component":{}}],["rememb",{"_index":287,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["remot",{"_index":155,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["repli",{"_index":683,"title":{},"name":{},"text":{"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["reply.messag",{"_index":685,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["represent",{"_index":117,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["request",{"_index":27,"title":{"5-1":{},"10-1":{}},"name":{},"text":{"1":{},"2":{},"5":{},"7":{},"8":{},"10":{},"13":{}},"component":{}}],["request/respons",{"_index":23,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["requir",{"_index":169,"title":{},"name":{},"text":{"2":{},"4":{},"6":{},"7":{},"13":{}},"component":{}}],["resolv",{"_index":718,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["resolver.sonatyperepo(\"snapshot",{"_index":719,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["resourcedirectory).valu",{"_index":608,"title":{},"name":{},"text":{"15":{}},"component":{}}],["respons",{"_index":81,"title":{},"name":{},"text":{"1":{},"2":{},"3":{},"7":{},"8":{},"9":{}},"component":{}}],["response.getmessag",{"_index":696,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["responsecod",{"_index":78,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["result",{"_index":162,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["return",{"_index":65,"title":{"7-4":{}},"name":{},"text":{"1":{},"2":{},"3":{},"4":{},"5":{},"7":{},"8":{},"9":{},"10":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["reus",{"_index":538,"title":{},"name":{},"text":{"7":{}},"component":{}}],["right",{"_index":765,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["router",{"_index":759,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["rpc",{"_index":634,"title":{},"name":{},"text":{"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["run",{"_index":423,"title":{},"name":{},"text":{"4":{}},"component":{}}],["runtim",{"_index":618,"title":{},"name":{},"text":{"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["runtimeexception(",{"_index":88,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["s",{"_index":512,"title":{},"name":{},"text":{"7":{},"19":{},"23":{},"27":{}},"component":{}}],["same",{"_index":103,"title":{},"name":{},"text":{"1":{},"4":{},"8":{}},"component":{}}],["saw",{"_index":125,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["sayhello",{"_index":261,"title":{},"name":{},"text":{"3":{},"4":{},"9":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["sayhello(hellorequest",{"_index":754,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["sayhello(hellorequest(nam",{"_index":682,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["sayhello(hellorequest.newbuilder().setname(name).build",{"_index":693,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["sayhello(in",{"_index":744,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["sayhello(nam",{"_index":681,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["sayhello(str",{"_index":692,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["sbt",{"_index":198,"title":{"4":{},"15":{}},"name":{"4":{},"15":{}},"text":{"2":{},"3":{},"4":{},"9":{},"13":{},"15":{},"19":{},"23":{},"27":{}},"component":{}}],["sbtwsdl",{"_index":204,"title":{},"name":{},"text":{"2":{}},"component":{}}],["scala",{"_index":4,"title":{"1-4":{},"1-5":{},"1-6":{},"3-3":{},"5-3":{},"8-4":{},"8-5":{},"8-6":{},"9-3":{},"10-3":{}},"name":{},"text":{"3":{},"4":{},"5":{},"7":{},"9":{},"10":{},"13":{},"15":{},"16":{},"18":{},"19":{},"20":{},"22":{},"23":{},"24":{},"26":{},"27":{}},"component":{}}],["scala.collection.javaconverters._",{"_index":283,"title":{},"name":{},"text":{"3":{},"5":{},"9":{},"10":{}},"component":{}}],["scala.concurrent.executioncontext",{"_index":667,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["scala.concurrent.futur",{"_index":387,"title":{},"name":{},"text":{"4":{},"13":{},"19":{},"23":{},"27":{}},"component":{}}],["scalafutureapi",{"_index":438,"title":{},"name":{},"text":{"4":{}},"component":{}}],["scope",{"_index":377,"title":{},"name":{},"text":{"4":{}},"component":{}}],["seamless",{"_index":613,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["second",{"_index":183,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["section",{"_index":220,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["secur",{"_index":33,"title":{"5":{},"10":{}},"name":{"5":{},"10":{}},"text":{"1":{},"5":{},"8":{},"10":{}},"component":{}}],["see",{"_index":39,"title":{},"name":{},"text":{"1":{},"3":{},"4":{},"5":{},"6":{},"8":{},"9":{},"10":{},"16":{},"17":{},"18":{},"19":{},"20":{},"21":{},"22":{},"23":{},"24":{},"25":{},"26":{},"27":{}},"component":{}}],["select",{"_index":347,"title":{"4-4":{}},"name":{},"text":{"4":{}},"component":{}}],["send",{"_index":525,"title":{},"name":{},"text":{"7":{}},"component":{}}],["sent",{"_index":105,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["seq",{"_index":452,"title":{},"name":{},"text":{"4":{},"15":{}},"component":{}}],["seq(\"com.typesafe.play",{"_index":599,"title":{},"name":{},"text":{"15":{}},"component":{}}],["seq[str",{"_index":444,"title":{},"name":{},"text":{"4":{}},"component":{}}],["serv",{"_index":709,"title":{"19":{},"23":{},"27":{}},"name":{"19":{},"23":{},"27":{}},"text":{"19":{},"23":{},"27":{}},"component":{}}],["server",{"_index":106,"title":{},"name":{},"text":{"1":{},"8":{},"18":{},"19":{},"22":{},"23":{},"26":{},"27":{}},"component":{}}],["server=[jetty(8.1.15.v20140411",{"_index":335,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["servic",{"_index":123,"title":{"4-6":{}},"name":{},"text":{"1":{},"2":{},"3":{},"4":{},"5":{},"7":{},"8":{},"9":{},"10":{},"12":{},"14":{},"15":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["servicenam",{"_index":413,"title":{},"name":{},"text":{"4":{},"16":{},"20":{},"24":{}},"component":{}}],["set",{"_index":63,"title":{},"name":{},"text":{"1":{},"3":{},"4":{},"5":{},"7":{},"8":{},"9":{},"10":{},"13":{},"15":{},"17":{},"21":{},"25":{}},"component":{}}],["setter",{"_index":284,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["share",{"_index":646,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["shown",{"_index":244,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["side",{"_index":720,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["simpl",{"_index":50,"title":{},"name":{},"text":{"1":{},"7":{},"8":{}},"component":{}}],["simpli",{"_index":128,"title":{},"name":{},"text":{"1":{},"3":{},"8":{},"9":{}},"component":{}}],["singl",{"_index":429,"title":{},"name":{},"text":{"4":{}},"component":{}}],["singleton",{"_index":672,"title":{},"name":{},"text":{"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["situat",{"_index":227,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["small",{"_index":546,"title":{},"name":{},"text":{"7":{}},"component":{}}],["soap",{"_index":20,"title":{"2":{},"3":{},"6":{},"7":{},"9":{},"2-2":{}},"name":{"3":{},"9":{}},"text":{"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{},"11":{},"12":{},"13":{},"14":{},"15":{}},"component":{"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{},"11":{},"12":{},"13":{},"14":{},"15":{}}}],["soapact",{"_index":325,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["soaphandl",{"_index":61,"title":{},"name":{},"text":{"1":{},"5":{},"8":{},"10":{}},"component":{}}],["soaphandler[soapmessagecontext",{"_index":136,"title":{},"name":{},"text":{"1":{},"5":{},"8":{},"10":{}},"component":{}}],["soapmessag",{"_index":72,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["soapmessagecontext",{"_index":139,"title":{},"name":{},"text":{"1":{},"5":{},"8":{},"10":{}},"component":{}}],["some(\"com.example.bar",{"_index":457,"title":{},"name":{},"text":{"4":{}},"component":{}}],["some(\"com.example.foo",{"_index":455,"title":{},"name":{},"text":{"4":{}},"component":{}}],["some(\"com.mycompany.exampl",{"_index":402,"title":{},"name":{},"text":{"4":{}},"component":{}}],["some(\"myservic",{"_index":415,"title":{},"name":{},"text":{"4":{}},"component":{}}],["somehow",{"_index":256,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["somemethod",{"_index":254,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["someth",{"_index":517,"title":{},"name":{},"text":{"7":{}},"component":{}}],["somewhat",{"_index":167,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["sourc",{"_index":596,"title":{},"name":{},"text":{"14":{},"16":{},"20":{},"24":{}},"component":{}}],["spec",{"_index":164,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["special",{"_index":612,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["specif",{"_index":37,"title":{},"name":{},"text":{"1":{},"8":{},"17":{},"21":{},"25":{}},"component":{}}],["specifi",{"_index":581,"title":{},"name":{},"text":{"13":{}},"component":{}}],["src/main/wsdl",{"_index":383,"title":{},"name":{},"text":{"4":{}},"component":{}}],["src/main/wsdl/foo.wsdl",{"_index":447,"title":{},"name":{},"text":{"4":{}},"component":{}}],["start",{"_index":205,"title":{},"name":{},"text":{"2":{},"13":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["straightforward",{"_index":217,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["stream",{"_index":706,"title":{},"name":{},"text":{"18":{},"22":{},"26":{}},"component":{}}],["string",{"_index":262,"title":{},"name":{},"text":{"3":{},"4":{},"9":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["string.format(\"hello",{"_index":755,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["structur",{"_index":395,"title":{},"name":{},"text":{"4":{}},"component":{}}],["style",{"_index":277,"title":{},"name":{},"text":{"3":{},"4":{},"9":{}},"component":{}}],["sub",{"_index":41,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["subclass",{"_index":733,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["subtyp",{"_index":44,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["such",{"_index":231,"title":{},"name":{},"text":{"3":{},"7":{},"9":{}},"component":{}}],["suffix",{"_index":171,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["super",{"_index":558,"title":{},"name":{},"text":{"7":{}},"component":{}}],["super(actorsystem",{"_index":753,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["suppli",{"_index":121,"title":{"4-2":{},"4-8":{}},"name":{},"text":{"1":{},"3":{},"4":{},"8":{},"9":{}},"component":{}}],["support",{"_index":152,"title":{"17":{},"21":{},"25":{},"2-1":{},"7-1":{}},"name":{"17":{},"21":{},"25":{}},"text":{"2":{},"4":{},"6":{},"7":{},"13":{},"16":{},"17":{},"18":{},"19":{},"20":{},"21":{},"22":{},"23":{},"24":{},"25":{},"26":{},"27":{}},"component":{}}],["sure",{"_index":698,"title":{},"name":{},"text":{"17":{},"21":{},"25":{}},"component":{}}],["syntax",{"_index":626,"title":{},"name":{},"text":{"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["system.out.println",{"_index":82,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["system.out.println(\"receiv",{"_index":80,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["system.out.println(\"send",{"_index":75,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["take",{"_index":96,"title":{},"name":{},"text":{"1":{},"2":{},"3":{},"4":{},"8":{},"9":{}},"component":{}}],["taken",{"_index":474,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["targetnamespace=\"http://example.com",{"_index":398,"title":{},"name":{},"text":{"4":{}},"component":{}}],["task",{"_index":435,"title":{},"name":{},"text":{"4":{}},"component":{}}],["tell",{"_index":528,"title":{},"name":{},"text":{"7":{}},"component":{}}],["test",{"_index":379,"title":{},"name":{},"text":{"4":{}},"component":{}}],["text/xml",{"_index":324,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["text/xml;charset=utf",{"_index":332,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["thenapply(respons",{"_index":694,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["therefor",{"_index":763,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["they’r",{"_index":25,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["this.greeterservicecli",{"_index":691,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["this.helloworldservic",{"_index":253,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["thought",{"_index":186,"title":{},"name":{},"text":{"2":{}},"component":{}}],["thread",{"_index":315,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["through",{"_index":643,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["throw",{"_index":86,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["thrown",{"_index":767,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["tl",{"_index":660,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["togeth",{"_index":197,"title":{},"name":{},"text":{"2":{},"4":{},"7":{}},"component":{}}],["token",{"_index":459,"title":{"5-1":{},"5-2":{},"5-3":{},"10-1":{},"10-2":{},"10-3":{}},"name":{},"text":{"5":{},"10":{}},"component":{}}],["tool",{"_index":420,"title":{},"name":{},"text":{"4":{},"13":{},"18":{},"22":{},"26":{}},"component":{}}],["top",{"_index":417,"title":{},"name":{},"text":{"4":{},"18":{},"22":{},"26":{}},"component":{}}],["transform",{"_index":200,"title":{},"name":{},"text":{"2":{}},"component":{}}],["tri",{"_index":74,"title":{},"name":{},"text":{"1":{},"8":{},"19":{},"23":{},"27":{}},"component":{}}],["true",{"_index":89,"title":{},"name":{},"text":{"1":{},"3":{},"5":{},"8":{},"9":{},"10":{},"13":{},"16":{},"17":{},"19":{},"20":{},"21":{},"23":{},"24":{},"25":{},"27":{}},"component":{}}],["turn",{"_index":213,"title":{"3-6":{},"9-6":{}},"name":{},"text":{"3":{},"9":{}},"component":{}}],["two",{"_index":370,"title":{},"name":{},"text":{"4":{}},"component":{}}],["type",{"_index":42,"title":{"7-4":{}},"name":{},"text":{"1":{},"3":{},"5":{},"7":{},"8":{},"9":{},"10":{},"13":{}},"component":{}}],["type=[text/xml;charset=utf",{"_index":334,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["under",{"_index":651,"title":{},"name":{},"text":{"16":{},"20":{},"24":{}},"component":{}}],["up",{"_index":764,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["upgrad",{"_index":497,"title":{},"name":{},"text":{"6":{}},"component":{}}],["url",{"_index":372,"title":{},"name":{},"text":{"4":{}},"component":{}}],["url(\"http://someservice.com/path?wsdl",{"_index":375,"title":{},"name":{},"text":{"4":{}},"component":{}}],["us",{"_index":3,"title":{"1":{},"3":{},"4":{},"8":{},"9":{},"13":{},"16":{},"20":{},"24":{},"1-3":{},"1-6":{},"2-2":{},"3-2":{},"3-3":{},"4-9":{},"8-3":{},"8-6":{},"9-2":{},"9-3":{}},"name":{"13":{}},"text":{"1":{},"2":{},"3":{},"4":{},"5":{},"7":{},"8":{},"9":{},"10":{},"11":{},"12":{},"14":{},"15":{},"16":{},"19":{},"20":{},"23":{},"24":{},"27":{}},"component":{}}],["user",{"_index":739,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["utf",{"_index":320,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["val",{"_index":140,"title":{},"name":{},"text":{"1":{},"3":{},"5":{},"8":{},"9":{},"10":{},"15":{}},"component":{}}],["valu",{"_index":531,"title":{},"name":{},"text":{"7":{},"13":{},"16":{},"20":{},"24":{}},"component":{}}],["version",{"_index":362,"title":{},"name":{},"text":{"4":{},"6":{},"7":{},"12":{},"15":{}},"component":{}}],["void",{"_index":91,"title":{},"name":{},"text":{"1":{},"3":{},"5":{},"8":{},"9":{},"10":{}},"component":{}}],["want",{"_index":427,"title":{},"name":{},"text":{"4":{},"5":{},"10":{}},"component":{}}],["wasn’t",{"_index":535,"title":{},"name":{},"text":{"7":{}},"component":{}}],["way",{"_index":371,"title":{},"name":{},"text":{"4":{},"5":{},"7":{},"10":{}},"component":{}}],["web",{"_index":156,"title":{},"name":{},"text":{"2":{},"5":{},"7":{},"10":{},"12":{},"14":{},"15":{}},"component":{}}],["well",{"_index":180,"title":{},"name":{},"text":{"2":{},"5":{},"7":{},"10":{}},"component":{}}],["we’ll",{"_index":49,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["we’r",{"_index":541,"title":{},"name":{},"text":{"7":{}},"component":{}}],["we’v",{"_index":553,"title":{},"name":{},"text":{"7":{}},"component":{}}],["what’",{"_index":494,"title":{"6":{}},"name":{},"text":{},"component":{}}],["wherev",{"_index":734,"title":{},"name":{},"text":{"19":{},"23":{},"27":{}},"component":{}}],["whether",{"_index":97,"title":{},"name":{},"text":{"1":{},"4":{},"8":{}},"component":{}}],["whole",{"_index":306,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["whose",{"_index":533,"title":{},"name":{},"text":{"7":{}},"component":{}}],["wire",{"_index":195,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["won’t",{"_index":228,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["work",{"_index":280,"title":{},"name":{},"text":{"3":{},"7":{},"9":{},"13":{}},"component":{}}],["workflow",{"_index":586,"title":{},"name":{},"text":{"13":{}},"component":{}}],["workqueu",{"_index":330,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["world",{"_index":327,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["wrap",{"_index":430,"title":{},"name":{},"text":{"4":{},"13":{}},"component":{}}],["wrapper",{"_index":428,"title":{},"name":{},"text":{"4":{}},"component":{}}],["ws",{"_index":6,"title":{"1":{},"8":{},"2-1":{},"7-1":{}},"name":{},"text":{"1":{},"2":{},"5":{},"7":{},"8":{},"10":{}},"component":{}}],["wsdl",{"_index":201,"title":{"4":{},"4-2":{},"4-3":{},"4-9":{}},"name":{"4":{}},"text":{"2":{},"3":{},"4":{},"9":{},"12":{},"13":{},"14":{},"15":{}},"component":{}}],["wsdl(\"helloworld\",(compil",{"_index":607,"title":{},"name":{},"text":{"15":{}},"component":{}}],["wsdl2java",{"_index":351,"title":{"4-8":{}},"name":{},"text":{"4":{},"11":{},"12":{},"13":{},"14":{}},"component":{}}],["wsdlarg",{"_index":425,"title":{},"name":{},"text":{"4":{}},"component":{}}],["wsdlhelp",{"_index":424,"title":{},"name":{},"text":{"4":{}},"component":{}}],["wsdlkeys.futureapi",{"_index":393,"title":{},"name":{},"text":{"4":{}},"component":{}}],["wsdlkeys.packagemap",{"_index":406,"title":{},"name":{},"text":{"4":{}},"component":{}}],["wsdlkeys.packagenam",{"_index":401,"title":{},"name":{},"text":{"4":{}},"component":{}}],["wsdlkeys.playjavafutureapi",{"_index":394,"title":{},"name":{},"text":{"4":{}},"component":{}}],["wsdlkeys.servicenam",{"_index":414,"title":{},"name":{},"text":{"4":{}},"component":{}}],["wsdlkeys.wsdltask",{"_index":451,"title":{},"name":{},"text":{"4":{}},"component":{}}],["wsdlkeys.wsdltask((sourcedirectory.valu",{"_index":453,"title":{},"name":{},"text":{"4":{}},"component":{}}],["wsdlkeys.wsdltask(url(\"http://example.com/bar?wsdl",{"_index":456,"title":{},"name":{},"text":{"4":{}},"component":{}}],["wsdlkeys.wsdltocodearg",{"_index":431,"title":{},"name":{},"text":{"4":{}},"component":{}}],["wsdlkeys.wsdlurl",{"_index":374,"title":{},"name":{},"text":{"4":{}},"component":{}}],["wsdlstogener",{"_index":576,"title":{},"name":{},"text":{"12":{}},"component":{}}],["wsdltask",{"_index":434,"title":{},"name":{},"text":{"4":{}},"component":{}}],["wsdlurl",{"_index":373,"title":{},"name":{},"text":{"4":{}},"component":{}}],["wsdl’",{"_index":378,"title":{},"name":{},"text":{"4":{}},"component":{}}],["xjc",{"_index":565,"title":{},"name":{},"text":{"11":{},"12":{},"13":{},"14":{},"15":{}},"component":{}}],["xml",{"_index":116,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["xplay:lang",{"_index":566,"title":{},"name":{},"text":{"11":{},"12":{},"13":{},"14":{},"15":{}},"component":{}}],["xplay:target",{"_index":567,"title":{},"name":{},"text":{"11":{},"12":{},"13":{},"14":{},"15":{}},"component":{}}],["you’r",{"_index":421,"title":{},"name":{},"text":{"4":{}},"component":{}}],["you’v",{"_index":257,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}]],"pipeline":["stemmer"]},"store":{"documents":{"1":{"id":1,"text":"JAX WS provides an abstraction called handlers to allow cross cutting concerns to be implemented across all calls. Handlers are able to inspect and modify the incoming and outgoing messages, including SOAP data objects and request/response headers. They’re also able to block requests from being made entirely. Use cases for handlers include logging, security, monitoring, and many other application specific concerns. For examples of how to implement security using handlers, see Security. A handler can be implemented by extending a sub type of javax.xml.ws.handler.Handler. Which subtype you implement depends on your use case, for more details about the types of handlers, see here. We’ll implement a simple logging handler, to do this we extend javax.xml.ws.handler.soap.SOAPHandler. import javax.xml.namespace.QName; import javax.xml.soap.SOAPMessage; import javax.xml.ws.handler.MessageContext; import javax.xml.ws.handler.soap.SOAPHandler; import javax.xml.ws.handler.soap.SOAPMessageContext; import java.util.Set; public class LoggingHandler implements SOAPHandler { public Set getHeaders() { return null; } public boolean handleMessage(SOAPMessageContext context) { Boolean outbound = (Boolean) context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY); SOAPMessage message = context.getMessage(); try { if (outbound) { System.out.println(\"Sending message:\"); message.writeTo(System.out); } else { Integer responseCode = (Integer) context.get(MessageContext.HTTP_RESPONSE_CODE); System.out.println(\"Received \" + responseCode + \"response:\"); message.writeTo(System.out); } System.out.println(); } catch (Exception e) { throw new RuntimeException(e); } return true; } public boolean handleFault(SOAPMessageContext context) { return true; } public void close(MessageContext context) { } } The main method to implement here is the handleMessage method. It takes in the message context, and returns a boolean to say whether message processing should continue down the handler chain. By returning false, you can block the request. The same method is invoked for outgoing messages (that is, the request sent to the server) and incoming messages (that is, the response coming from the server). To know whether a message is incoming or outgoing, the outbound property needs to be checked. This is done using the following code: Boolean outbound = (Boolean) context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY); You can see that the SOAP message is also being loaded so that it can be logged, this is the XML representation of the method invocation or response. You can also see that the HTTP response code is being read from incoming messages, and being logged. To use the logging handler that we implemented, we can supply it to get method for our port from the service. For example, to use it with the HelloWorldService that we saw earlier in the documentation, simply pass the list of handlers to the getHelloWorld method, like so: HelloWorld client = helloWorldService.getHelloWorld(new LoggingHandler()); A handler can be implemented by extending a sub type of javax.xml.ws.handler.Handler. Which subtype you implement depends on your use case, for more details about the types of handlers, see here. We’ll implement a simple logging handler, to do this we extend javax.xml.ws.handler.soap.SOAPHandler. import javax.xml.ws.handler.MessageContext import javax.xml.ws.handler.soap.{SOAPMessageContext, SOAPHandler} class LoggingHandler extends SOAPHandler[SOAPMessageContext] { def getHeaders = null def handleMessage(context: SOAPMessageContext) = { val outbound = context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY) .asInstanceOf[java.lang.Boolean] val message = context.getMessage if (outbound) { println(s\"Sending message:\") message.writeTo(System.out) } else { val responseCode = context.get(MessageContext.HTTP_RESPONSE_CODE) println(s\"Received $responseCode response:\") message.writeTo(System.out) } println() true } def close(context: MessageContext) = () def handleFault(context: SOAPMessageContext) = { println(s\"Received fault:\") context.getMessage.writeTo(System.out) println() true } } The main method to implement here is the handleMessage method. It takes in the message context, and returns a boolean to say whether message processing should continue down the handler chain. By returning false, you can block the request. The same method is invoked for outgoing messages (that is, the request sent to the server) and incoming messages (that is, the response coming from the server). To know whether a message is incoming or outgoing, the outbound property needs to be checked. This is done using the following code: val outbound = context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY) .asInstanceOf[java.lang.Boolean] You can see that the SOAP message is also being loaded so that it can be logged, this is the XML representation of the method invocation or response. You can also see that the HTTP response code is being read from incoming messages, and being logged. To use the logging handler that we implemented, we can supply it to get method for our port from the service. For example, to use it with the HelloWorldService that we saw earlier in the documentation, simply pass the list of handlers to the helloWorld method, like so: val client: HelloWorld = helloWorldService.helloWorld(new LoggingHandler)","title":"Using JAX WS Handlers","component":"play-soap","version":"1.x","name":"handlers","url":"/play-soap/1.x/handlers.html","titles":[{"text":"Handlers in Java","hash":"_handlers_in_java","id":1},{"text":"Implementing handlers in Java","hash":"_implementing_handlers_in_java","id":2},{"text":"Using handlers in Java","hash":"_using_handlers_in_java","id":3},{"text":"Handlers in Scala","hash":"_handlers_in_scala","id":4},{"text":"Implementing handlers in Scala","hash":"_implementing_handlers_in_scala","id":5},{"text":"Using handlers in Scala","hash":"_using_handlers_in_scala","id":6}]},"2":{"id":2,"text":"Play SOAP allows a Play application to make calls on a remote web service using SOAP. It provides a reactive interface to doing so, making HTTP requests asynchronously and returning promises/futures of the result. Play SOAP builds on the JAX WS spec, but doesn’t implement it exactly. JAX WS, while it does have support for making asynchronous calls, this support is somewhat clumsy, requiring all asynchronous methods to have an Async suffix, and requiring the passing of an AsyncHandler argument to handle the response, which makes it awkward to integrate into an asynchronous framework since `AsyncHandler’s do not compose well with other asynchronous constructs. This support could be described as a second class citizen, bolted on to the spec as an after thought. In contrast, Play SOAP provides asynchronous invocation of SOAP services as a first class citizen. Play SOAP methods all return promises, making them easy to compose with promises from other libraries, and allowing application code to be focussed on business logic, not on wiring asynchronous callbacks together. Play SOAP is an sbt plugin that transforms WSDLs into SOAP client interfaces, and provides a client library that takes Play SOAP generated interfaces and dynamically implements them to make calls on remote services. The sbt plugin is called SbtWsdl, and this is the starting point to installing and using Play SOAP.","title":"Play SOAP","component":"play-soap","version":"1.x","name":"index","url":"/play-soap/1.x/index.html","titles":[{"text":"JAX WS support","hash":"_jax_ws_support","id":1},{"text":"Using Play SOAP","hash":"_using_play_soap","id":2}]},"3":{"id":3,"text":"Once you have sbt WSDL generating a soap client for you, it is quite straightforward to use. How you access it depends on the service and port names in the WSDL. Consider the following service section from a WSDL: Assuming that the package name that the client was generated into is com.example, Play will generate a service class called com.example.HelloWorldService. This class is actually a Play plugin that allows you to configure the client, including configuring the address for each port to use. Note that there are some situations where sbt WSDL won’t use the service name from the WSDL, these are when the name of the service conflicts with another class that it generated, such as the name of the service endpoint interface. In that case, sbt WSDL will append _Service to the end of the service name, for example com.example.HelloWorldService_Service. Having located the service class, you can now get a port. In the above WSDL there is one port named HelloWorld, and, according to the HelloWorldSoapBinding (not shown above), this returns a service endpoint interface called HelloWorld. To access the endpoint, simply have it injected into your components or controllers, like so in Scala: class MyComponent @Inject() (helloWorldService: HelloWorldService) { val client: HelloWorld = helloWorldService.helloWorld } Or in Java: public class MyComponent { private final HelloWorldService helloWorldService; @Inject public MyComponent(HelloWorldService helloWorldService) { this.helloWorldService - helloWorldService; } public void someMethod() { HelloWorld client = helloWorldService.getHelloWorld(); // use the client somehow } } Once you’ve got a reference to the client, you can invoke methods on it. For example, let’s assume our client has operation called sayHello that takes a String parameter and returns a String parameter. To invoke this from a Play Scala action, you would do this: import play.api.libs.concurrent.Execution.Implicits._ def hello(name: String) = Action.async { val client: HelloWorld = helloWorldService.helloWorld client.sayHello(name).map { answer => Ok(answer) } } To invoke it from a Play Java action you would do this: import java.util.concurrent.CompletionStage; public CompletionStage hello(String name) { HelloWorld client = helloWorldService.getHelloWorld(); return client.sayHello(name).map(answer -> { return ok(answer); }); } The generated data objects will all be Java beans, with getter/setter style properties, and using Java collections. For convenience when working with the Java collections, you may import the Scala implicit conversions for Scala collections, like so: import scala.collection.JavaConverters._ Using this you can work with Java collections as if they were Scala collections, and pass Scala collections to setters and methods that accept Java collections. It’s also important to remember that many properties could be null. A pure Scala client that uses case classes, Scala collections and Option is a possible future enhancement for the Play SOAP library. Configuration for the client works hierarchically, each configuration item is first checked to see if it’s defined for the port, if not then for the service, and finally globally. The format for global configuration is play.soap.*. The format for configuration applying to a particular service is play.soap.services., where is the fully qualified service name, for example, com.example.HelloWorldService. The format for configuration applying to a particular port is play.soap.services..ports., where is the name of the port, for example HelloWorld. So for the client above, to set the debug log just for the port, you would set: play.soap.services.com.example.HelloWorldService.ports.HelloWorld.debugLog = true To set it for the whole service, you would set: play.soap.services.com.example.HelloWorldService.debugLog = true And to set it globally, you would set: play.soap.debugLog = true The address of a port can be set using the address property. For example, to set the address of every port for the HelloWorldService: play.soap.services.com.example.HelloWorldService.address = \"http://example.com/helloWorld\" The debug log will log the outbound and inbound messages, including HTTP headers, made by the client. An example of this is as follows: 16:52:17.953 [pool-1-thread-1] INFO o.a.c.s.H.HelloWorldPort.HelloWorld - Outbound Message --------------------------- ID: 1 Address: http://example.com/helloWorld Encoding: UTF-8 Http-Method: POST Content-Type: text/xml Headers: {Accept=[*/*], SOAPAction=[\"\"]} Payload: world -------------------------------------- 16:52:18.180 [default-workqueue-1] INFO o.a.c.s.H.HelloWorldPort.HelloWorld - Inbound Message ---------------------------- ID: 1 Response-Code: 200 Encoding: UTF-8 Content-Type: text/xml;charset=UTF-8 Headers: {Content-Length=[204], content-type=[text/xml;charset=UTF-8], Server=[Jetty(8.1.15.v20140411)]} Payload: Hello world -------------------------------------- The debug log can be turned on using the debugLog property, for example, to turn it on globally: play.soap.debugLog = true In combination with the debugLog property, you may need to adjust the logging levels in your Play application. To see the debug log, you need to ensure that org.apache.cxf.services is configured to log at least INFO messages. This can be further refined by supplying the service name, port and service endpoint interface name, for example, org.apache.cxf.services.HelloWorldService.","title":"Using the Play SOAP client","component":"play-soap","version":"1.x","name":"play-soap-client","url":"/play-soap/1.x/play-soap-client.html","titles":[{"text":"Accessing the client","hash":"_accessing_the_client","id":1},{"text":"Using the client","hash":"_using_the_client","id":2},{"text":"A note on using Scala","hash":"_a_note_on_using_scala","id":3},{"text":"Configuring the client","hash":"_configuring_the_client","id":4},{"text":"Changing the address","hash":"_changing_the_address","id":5},{"text":"Turning on the debug log","hash":"_turning_on_the_debug_log","id":6}]},"4":{"id":4,"text":"To install sbt WSDL into your Play project, add the following lines to your project/plugins.sbt: addSbtPlugin(\"com.typesafe.sbt\" % \"sbt-play-soap\" % \"1.2.0\") // requires sbt 1.x, the last version with support for sbt 0.13.18 is 1.1.3 The plugin is automatically activated on install, and this will also cause the necessary Play SOAP client libraries to be added to your project. There are two ways to supply WSDLs to the plugin. One is to configure a URL or set of URLs to point the compiler at. This can be done by using the wsdlUrls setting: WsdlKeys.wsdlUrls in Compile += url(\"http://someservice.com/path?wsdl\") Notice that the setting must be in the compile scope - WSDL’s can also be compiled just for the Test scope too. The other is to place WSDLs in the conf/wsdls directory for a Play project, or in src/main/wsdl for an ordinary SBT project. You can also use both local files and urls. sbt WSDL can generate clients to either return scala.concurrent.Future for Scala projects, or java.util.concurrent.CompletionStage for Java projects. If your project is a Play project, the future API will automatically be selected based on whether you enabled the PlayJava or PlayScala plugin. If it’s an ordinary sbt project, it will default to scala.concurrent.Future. This can be configured to use the Java promise using the futureApi setting: WsdlKeys.futureApi := WsdlKeys.PlayJavaFutureApi By default, all WSDLs will be generated into a package structure that matches the namespace in the WSDL. For example, if you have a WSDL that defines a targetNamespace=\"http://example.com/\", the package that the client will be generated into will be com.example. The package can be configured in many ways. One way is to override it globally, that is, for all WSDLs and namespaces, this can be done using the packageName setting: WsdlKeys.packageName := Some(\"com.mycompany.example\") Additionally, individual namespaces can be configured using the packageMappings setting: WsdlKeys.packageMappings += (\"http://example.com/\" -> \"com.mycompany.example\") Both packageName and packageMappings can be used together, packageMappings will take precedence over packageName. The service name from the WSDL can be overridden if desired, using the serviceName setting: WsdlKeys.serviceName := Some(\"MyService\") sbt WSDL is built on top of the Apache CXF wsdl2java tool. Many of the options that it supports can also be used when you’re using sbt WSDL. To see a full list of options supported by Apache CXF, run sbt wsdlHelp. These options can then be configured in your build by adding them to the wsdlArgs setting. For example, if you the WSDL contains an operation called sayHello, and you want this to be generated using wrapper style (that is, all the arguments to the method are passed using a single object that wraps them), you could add the following configuration: WsdlKeys.wsdlToCodeArgs += \"-bareMethods=sayHello\" In some cases you may want to have completely different configurations for different WSDL files - or you may want to use the same WSDL file to generate two different clients. This can be done using the wsdlTasks task. By default, this task is built by combining all the settings used above, but if you override it, then the settings above will be ignored. Each wsdl generation task that is executed is defined by the following case class: case class WsdlTask( url: URL, futureApi: FutureApi = ScalaFutureApi, packageName: Option[String] = None, packageMappings: Map[String, String] = Map.empty, serviceName: Option[String] = None, args: Seq[String] = Nil ) Let’s say you have one WSDL on the filesystem in src/main/wsdl/foo.wsdl, and you want it generated into the com.example.foo package using the Scala future API, and another WSDL at http://example.com/bar?wsdl that you want generated into the com.example.bar package using the Java future API, then you could configure that like this: WsdlKeys.wsdlTasks in Compile := Seq( WsdlKeys.WsdlTask((sourceDirectory.value / \"wsdl\" / \"foo.wsdl\").toURI.toURL), packageName = Some(\"com.example.foo\") ), WsdlKeys.WsdlTask(url(\"http://example.com/bar?wsdl\"), futureApi = WsdlKeys.PlayJavaFutureApi, packageName = Some(\"com.example.bar\") ) )","title":"Using sbt WSDL","component":"play-soap","version":"1.x","name":"sbt-wsdl","url":"/play-soap/1.x/sbt-wsdl.html","titles":[{"text":"Installation","hash":"_installation","id":1},{"text":"Supplying WSDLs","hash":"_supplying_wsdls","id":2},{"text":"Configuring WSDL compilation","hash":"_configuring_wsdl_compilation","id":3},{"text":"Selecting the future API","hash":"_selecting_the_future_api","id":4},{"text":"Configuring the package name","hash":"_configuring_the_package_name","id":5},{"text":"Configuring the service name","hash":"_configuring_the_service_name","id":6},{"text":"Advanced configuration","hash":"_advanced_configuration","id":7},{"text":"Supplying additional arguments to wsdl2java","hash":"_supplying_additional_arguments_to_wsdl2java","id":8},{"text":"Using different configurations for different WSDL files","hash":"_using_different_configurations_for_different_wsdl_files","id":9}]},"5":{"id":5,"text":"Most security protocols can be implemented in Play SOAP using handlers. For general documentation on handlers, see here. Let’s say you wanted to make authenticated requests on a web service that expected an authentication token in the request header. To implement this, you can get the request headers from the message context, and add the authentication token there. The HTTP request headers can be loaded by reading the javax.xml.ws.handler.MessageContext.HTTP_REQUEST_HEADERS property. Of course, this should only be done when the message is an outbound message, so the implementation needs to check that as well. import javax.xml.namespace.QName; import javax.xml.ws.handler.MessageContext; import javax.xml.ws.handler.soap.SOAPHandler; import javax.xml.ws.handler.soap.SOAPMessageContext; import java.util.*; public class AuthenticationHandler implements SOAPHandler { public Set getHeaders() { return null; } public boolean handleMessage(SOAPMessageContext context) { Boolean outbound = (Boolean) context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY); if (outbound) { // Get headers, create if null Map> headers = (Map) context.get(MessageContext.HTTP_REQUEST_HEADERS); if (headers == null) { headers = new HashMap<>(); } // Add authentication header headers.put(\"Authentication-Token\", Arrays.asList(\"somesecret\")); context.put(MessageContext.HTTP_REQUEST_HEADERS, headers); } return true; } public boolean handleFault(SOAPMessageContext context) { return true; } public void close(MessageContext context) { } } Note that in the collection types used by the JAX WS API are Java collection types, so care needs to be taken to ensure that these types are used in the Scala code, rather than the Scala collection types. A common way to address this in Scala is to use aliased imports, prepending the letter J to each type, for example, import java.util.{Map ⇒ JMap}. import javax.xml.ws.handler.MessageContext import javax.xml.ws.handler.soap.{SOAPMessageContext, SOAPHandler} import java.util.{Map => JMap, List => JList, HashMap => JHashMap} import scala.collection.JavaConverters._ class AuthenticationHandler extends SOAPHandler[SOAPMessageContext] { def getHeaders = null def handleMessage(context: SOAPMessageContext) = { // If this is an outbound message if (context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY) .asInstanceOf[java.lang.Boolean]) { // Get the request headers, which may be null, in which case create them val headers = Option(context.get(MessageContext.HTTP_REQUEST_HEADERS) .asInstanceOf[JMap[String, JList[String]]] ).getOrElse(new JHashMap[String, JList[String]]) // Add the authentication token to the headers headers += (\"Authentication-Token\" -> List(\"somesecret\")) // Attach the headers to the context context += (MessageContext.HTTP_REQUEST_HEADERS -> headers) } true } def close(context: MessageContext) = () def handleFault(context: SOAPMessageContext) = true }","title":"Security","component":"play-soap","version":"1.x","name":"security","url":"/play-soap/1.x/security.html","titles":[{"text":"Adding an authentication token to requests","hash":"_adding_an_authentication_token_to_requests","id":1},{"text":"Adding an authentication token in Java","hash":"_adding_an_authentication_token_in_java","id":2},{"text":"Adding an authentication token in Scala","hash":"_adding_an_authentication_token_in_scala","id":3}]},"6":{"id":6,"text":"We have upgraded CXF to the next major version, 4.0. Because CXF 4.0 is based on JakartaEE 9.1, all references to the javax.* classpath needed to be migrated to jakarta.*. For more details, see the CXF 4.0 release notes In order to support CXF 4.0, Play SOAP 2.x now requires Java 11. CXF 3.5 is the last major release of CXF that supported Java 8.","title":"What’s new in Play SOAP 2.x","component":"play-soap","version":"2.x","name":"highlights","url":"/play-soap/2.x/highlights.html","titles":[{"text":"CXF 4.0","hash":"_cxf_4_0","id":1},{"text":"Java 11","hash":"_java_11","id":2}]},"7":{"id":7,"text":"Play SOAP allows an application to make calls on a remote web service using SOAP. It provides a reactive interface to doing so, making HTTP requests asynchronously and returning promises/futures of the result. Play SOAP builds on the JAX WS spec, but doesn’t implement it exactly. JAX WS does have support for making asynchronous calls, but this support is somewhat clumsy. It requires all asynchronous methods to have an Async suffix, and requires the passing of an AsyncHandler argument to handle the response. This makes it awkward to integrate into an asynchronous framework, since AsyncHandler s do not compose well with other asynchronous constructs. This support could be described as a second class citizen, bolted on to the spec as an afterthought. In contrast, Play SOAP provides asynchronous invocation of SOAP services as a first class citizen. Play SOAP methods all return promises, making them easy to compose with promises from other libraries, and allowing application code to be focussed on business logic, not on wiring asynchronous callbacks together. To implement the proxy, we have to implement our own version of JaxWsClientProxy. This is the CXF JDK proxy interceptor that implements JAX WS interfaces. It’s here that asynchronous requests are handled, and the logic here is hard coded - it implements the JAX WS requirements, if a method ends in Async and returns something that implements Future then dispatch an asynchronous call. Hence why we have to implement our own to make every method asynchronous regardless of name, and to allow scala Future and Java CompletionStage return types. This class has a lot of logic copied from JaxWsClientProxy, the actual part that has been customised is quite simple, it just creates a promise, and sends an asynchronous callback that redeems the promise. When the SOAP bindings are generated, JAXB bindings are generated from the return type. Since this type is a future, we need to tell CXF to use the type it contains. JAX WS provides a Holder type, this is used to allow methods return multiple values, something that is not possible otherwise in Java. It does this by having the first value returned as the return value of the method, and passing additional Holder objects as arguments to the method, whose values are set when the method returns. Although this wasn’t designed with returning futures in mind, the implementation of it in Apache CXF makes it quite simple to reuse this mechanism to extract the return type, hence this is what we’re doing. This allows us to completely reuse all the reflection code from Apache CXF that generates the bindings from the interface. In future, we may decide to implement our own reflection code for generating bindings, but for now using the Holder mechanism is good enough. A small amount of hacking is necessary to use it, due to some odd behaviour by the CXF JAX WS support - when the bindings are created, the JAX WS support automatically inserts its own configuration, and implements it in such a way that any configuration that we’ve added for holders gets overridden. We work around this by overriding a method that eventually injects this configuration but is invoked before the binding is actually done, and after invoking the super for the method, we inject our own configuration to override the default behaviour.","title":"Play SOAP","component":"play-soap","version":"2.x","name":"index","url":"/play-soap/2.x/index.html","titles":[{"text":"JAX WS support","hash":"_jax_ws_support","id":1},{"text":"Client proxy","hash":"_client_proxy","id":2},{"text":"Proxy interceptor","hash":"_proxy_interceptor","id":3},{"text":"Return type binding","hash":"_return_type_binding","id":4}]},"8":{"id":8,"text":"JAX WS provides an abstraction called handlers to allow cross cutting concerns to be implemented across all calls. Handlers are able to inspect and modify the incoming and outgoing messages, including SOAP data objects and request/response headers. They’re also able to block requests from being made entirely. Use cases for handlers include logging, security, monitoring, and many other application specific concerns. For examples of how to implement security using handlers, see Security. A handler can be implemented by extending a sub type of javax.xml.ws.handler.Handler. Which subtype you implement depends on your use case, for more details about the types of handlers, see here. We’ll implement a simple logging handler, to do this we extend javax.xml.ws.handler.soap.SOAPHandler. import javax.xml.namespace.QName; import javax.xml.soap.SOAPMessage; import javax.xml.ws.handler.MessageContext; import javax.xml.ws.handler.soap.SOAPHandler; import javax.xml.ws.handler.soap.SOAPMessageContext; import java.util.Set; public class LoggingHandler implements SOAPHandler { public Set getHeaders() { return null; } public boolean handleMessage(SOAPMessageContext context) { Boolean outbound = (Boolean) context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY); SOAPMessage message = context.getMessage(); try { if (outbound) { System.out.println(\"Sending message:\"); message.writeTo(System.out); } else { Integer responseCode = (Integer) context.get(MessageContext.HTTP_RESPONSE_CODE); System.out.println(\"Received \" + responseCode + \"response:\"); message.writeTo(System.out); } System.out.println(); } catch (Exception e) { throw new RuntimeException(e); } return true; } public boolean handleFault(SOAPMessageContext context) { return true; } public void close(MessageContext context) { } } The main method to implement here is the handleMessage method. It takes in the message context, and returns a boolean to say whether message processing should continue down the handler chain. By returning false, you can block the request. The same method is invoked for outgoing messages (that is, the request sent to the server) and incoming messages (that is, the response coming from the server). To know whether a message is incoming or outgoing, the outbound property needs to be checked. This is done using the following code: Boolean outbound = (Boolean) context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY); You can see that the SOAP message is also being loaded so that it can be logged, this is the XML representation of the method invocation or response. You can also see that the HTTP response code is being read from incoming messages, and being logged. To use the logging handler that we implemented, we can supply it to get method for our port from the service. For example, to use it with the HelloWorldService that we saw earlier in the documentation, simply pass the list of handlers to the getHelloWorld method, like so: HelloWorld client = helloWorldService.getHelloWorld(new LoggingHandler()); A handler can be implemented by extending a sub type of javax.xml.ws.handler.Handler. Which subtype you implement depends on your use case, for more details about the types of handlers, see here. We’ll implement a simple logging handler, to do this we extend javax.xml.ws.handler.soap.SOAPHandler. import javax.xml.ws.handler.MessageContext import javax.xml.ws.handler.soap.{SOAPMessageContext, SOAPHandler} class LoggingHandler extends SOAPHandler[SOAPMessageContext] { def getHeaders = null def handleMessage(context: SOAPMessageContext) = { val outbound = context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY) .asInstanceOf[java.lang.Boolean] val message = context.getMessage if (outbound) { println(s\"Sending message:\") message.writeTo(System.out) } else { val responseCode = context.get(MessageContext.HTTP_RESPONSE_CODE) println(s\"Received $responseCode response:\") message.writeTo(System.out) } println() true } def close(context: MessageContext) = () def handleFault(context: SOAPMessageContext) = { println(s\"Received fault:\") context.getMessage.writeTo(System.out) println() true } } The main method to implement here is the handleMessage method. It takes in the message context, and returns a boolean to say whether message processing should continue down the handler chain. By returning false, you can block the request. The same method is invoked for outgoing messages (that is, the request sent to the server) and incoming messages (that is, the response coming from the server). To know whether a message is incoming or outgoing, the outbound property needs to be checked. This is done using the following code: val outbound = context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY) .asInstanceOf[java.lang.Boolean] You can see that the SOAP message is also being loaded so that it can be logged, this is the XML representation of the method invocation or response. You can also see that the HTTP response code is being read from incoming messages, and being logged. To use the logging handler that we implemented, we can supply it to get method for our port from the service. For example, to use it with the HelloWorldService that we saw earlier in the documentation, simply pass the list of handlers to the helloWorld method, like so: val client: HelloWorld = helloWorldService.helloWorld(new LoggingHandler)","title":"Using JAX WS Handlers","component":"play-soap","version":"2.x","name":"handlers","url":"/play-soap/2.x/client/handlers.html","titles":[{"text":"Handlers in Java","hash":"_handlers_in_java","id":1},{"text":"Implementing handlers in Java","hash":"_implementing_handlers_in_java","id":2},{"text":"Using handlers in Java","hash":"_using_handlers_in_java","id":3},{"text":"Handlers in Scala","hash":"_handlers_in_scala","id":4},{"text":"Implementing handlers in Scala","hash":"_implementing_handlers_in_scala","id":5},{"text":"Using handlers in Scala","hash":"_using_handlers_in_scala","id":6}]},"9":{"id":9,"text":"Once you have sbt WSDL generating a soap client for you, it is quite straightforward to use. How you access it depends on the service and port names in the WSDL. Consider the following service section from a WSDL: Assuming that the package name that the client was generated into is com.example, Play will generate a service class called com.example.HelloWorldService. This class is actually a Play plugin that allows you to configure the client, including configuring the address for each port to use. Note that there are some situations where sbt WSDL won’t use the service name from the WSDL, these are when the name of the service conflicts with another class that it generated, such as the name of the service endpoint interface. In that case, sbt WSDL will append _Service to the end of the service name, for example com.example.HelloWorldService_Service. Having located the service class, you can now get a port. In the above WSDL there is one port named HelloWorld, and, according to the HelloWorldSoapBinding (not shown above), this returns a service endpoint interface called HelloWorld. To access the endpoint, simply have it injected into your components or controllers, like so in Scala: class MyComponent @Inject() (helloWorldService: HelloWorldService) { val client: HelloWorld = helloWorldService.helloWorld } Or in Java: public class MyComponent { private final HelloWorldService helloWorldService; @Inject public MyComponent(HelloWorldService helloWorldService) { this.helloWorldService - helloWorldService; } public void someMethod() { HelloWorld client = helloWorldService.getHelloWorld(); // use the client somehow } } Once you’ve got a reference to the client, you can invoke methods on it. For example, let’s assume our client has operation called sayHello that takes a String parameter and returns a String parameter. To invoke this from a Play Scala action, you would do this: import play.api.libs.concurrent.Execution.Implicits._ def hello(name: String) = Action.async { val client: HelloWorld = helloWorldService.helloWorld client.sayHello(name).map { answer => Ok(answer) } } To invoke it from a Play Java action you would do this: import java.util.concurrent.CompletionStage; public CompletionStage hello(String name) { HelloWorld client = helloWorldService.getHelloWorld(); return client.sayHello(name).map(answer -> { return ok(answer); }); } The generated data objects will all be Java beans, with getter/setter style properties, and using Java collections. For convenience when working with the Java collections, you may import the Scala implicit conversions for Scala collections, like so: import scala.collection.JavaConverters._ Using this you can work with Java collections as if they were Scala collections, and pass Scala collections to setters and methods that accept Java collections. It’s also important to remember that many properties could be null. A pure Scala client that uses case classes, Scala collections and Option is a possible future enhancement for the Play SOAP library. Configuration for the client works hierarchically, each configuration item is first checked to see if it’s defined for the port, if not then for the service, and finally globally. The format for global configuration is play.soap.*. The format for configuration applying to a particular service is play.soap.services., where is the fully qualified service name, for example, com.example.HelloWorldService. The format for configuration applying to a particular port is play.soap.services..ports., where is the name of the port, for example HelloWorld. So for the client above, to set the debug log just for the port, you would set: play.soap.services.com.example.HelloWorldService.ports.HelloWorld.debugLog = true To set it for the whole service, you would set: play.soap.services.com.example.HelloWorldService.debugLog = true And to set it globally, you would set: play.soap.debugLog = true The address of a port can be set using the address property. For example, to set the address of every port for the HelloWorldService: play.soap.services.com.example.HelloWorldService.address = \"http://example.com/helloWorld\" The debug log will log the outbound and inbound messages, including HTTP headers, made by the client. An example of this is as follows: 16:52:17.953 [pool-1-thread-1] INFO o.a.c.s.H.HelloWorldPort.HelloWorld - Outbound Message --------------------------- ID: 1 Address: http://example.com/helloWorld Encoding: UTF-8 Http-Method: POST Content-Type: text/xml Headers: {Accept=[*/*], SOAPAction=[\"\"]} Payload: world -------------------------------------- 16:52:18.180 [default-workqueue-1] INFO o.a.c.s.H.HelloWorldPort.HelloWorld - Inbound Message ---------------------------- ID: 1 Response-Code: 200 Encoding: UTF-8 Content-Type: text/xml;charset=UTF-8 Headers: {Content-Length=[204], content-type=[text/xml;charset=UTF-8], Server=[Jetty(8.1.15.v20140411)]} Payload: Hello world -------------------------------------- The debug log can be turned on using the debugLog property, for example, to turn it on globally: play.soap.debugLog = true In combination with the debugLog property, you may need to adjust the logging levels in your Play application. To see the debug log, you need to ensure that org.apache.cxf.services is configured to log at least INFO messages. This can be further refined by supplying the service name, port and service endpoint interface name, for example, org.apache.cxf.services.HelloWorldService.","title":"Using the Play SOAP client","component":"play-soap","version":"2.x","name":"play-soap-client","url":"/play-soap/2.x/client/play-soap-client.html","titles":[{"text":"Accessing the client","hash":"_accessing_the_client","id":1},{"text":"Using the client","hash":"_using_the_client","id":2},{"text":"A note on using Scala","hash":"_a_note_on_using_scala","id":3},{"text":"Configuring the client","hash":"_configuring_the_client","id":4},{"text":"Changing the address","hash":"_changing_the_address","id":5},{"text":"Turning on the debug log","hash":"_turning_on_the_debug_log","id":6}]},"10":{"id":10,"text":"Most security protocols can be implemented in Play SOAP using handlers. For general documentation on handlers, see here. Let’s say you wanted to make authenticated requests on a web service that expected an authentication token in the request header. To implement this, you can get the request headers from the message context, and add the authentication token there. The HTTP request headers can be loaded by reading the javax.xml.ws.handler.MessageContext.HTTP_REQUEST_HEADERS property. Of course, this should only be done when the message is an outbound message, so the implementation needs to check that as well. import javax.xml.namespace.QName; import javax.xml.ws.handler.MessageContext; import javax.xml.ws.handler.soap.SOAPHandler; import javax.xml.ws.handler.soap.SOAPMessageContext; import java.util.*; public class AuthenticationHandler implements SOAPHandler { public Set getHeaders() { return null; } public boolean handleMessage(SOAPMessageContext context) { Boolean outbound = (Boolean) context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY); if (outbound) { // Get headers, create if null Map> headers = (Map) context.get(MessageContext.HTTP_REQUEST_HEADERS); if (headers == null) { headers = new HashMap<>(); } // Add authentication header headers.put(\"Authentication-Token\", Arrays.asList(\"somesecret\")); context.put(MessageContext.HTTP_REQUEST_HEADERS, headers); } return true; } public boolean handleFault(SOAPMessageContext context) { return true; } public void close(MessageContext context) { } } Note that in the collection types used by the JAX WS API are Java collection types, so care needs to be taken to ensure that these types are used in the Scala code, rather than the Scala collection types. A common way to address this in Scala is to use aliased imports, prepending the letter J to each type, for example, import java.util.{Map ⇒ JMap}. import javax.xml.ws.handler.MessageContext import javax.xml.ws.handler.soap.{SOAPMessageContext, SOAPHandler} import java.util.{Map => JMap, List => JList, HashMap => JHashMap} import scala.collection.JavaConverters._ class AuthenticationHandler extends SOAPHandler[SOAPMessageContext] { def getHeaders = null def handleMessage(context: SOAPMessageContext) = { // If this is an outbound message if (context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY) .asInstanceOf[java.lang.Boolean]) { // Get the request headers, which may be null, in which case create them val headers = Option(context.get(MessageContext.HTTP_REQUEST_HEADERS) .asInstanceOf[JMap[String, JList[String]]] ).getOrElse(new JHashMap[String, JList[String]]) // Add the authentication token to the headers headers += (\"Authentication-Token\" -> List(\"somesecret\")) // Attach the headers to the context context += (MessageContext.HTTP_REQUEST_HEADERS -> headers) } true } def close(context: MessageContext) = () def handleFault(context: SOAPMessageContext) = true }","title":"Security","component":"play-soap","version":"2.x","name":"security","url":"/play-soap/2.x/client/security.html","titles":[{"text":"Adding an authentication token to requests","hash":"_adding_an_authentication_token_to_requests","id":1},{"text":"Adding an authentication token in Java","hash":"_adding_an_authentication_token_in_java","id":2},{"text":"Adding an authentication token in Scala","hash":"_adding_an_authentication_token_in_scala","id":3}]},"11":{"id":11,"text":"Use wsdl2java with options: export CLASSPATH=../../play-soap-plugin.jar wsdl2java -fe play '-xjc-Xplay:lang java' '-xjc-Xplay:target play' helloWorld.wsdl","title":"Сommand Line Interface","component":"play-soap","version":"2.x","name":"cli","url":"/play-soap/2.x/plugin/cli.html","titles":[]},"12":{"id":12,"text":"Example using play-soap-plugin with wsdl2java gradle plugin: Add the following dependencies and plugin configuration to your build.gradle file. Additional arguments needed to generate java classes for our web-service WSDLs should be added to the wsdl2java block. plugins { id \"no.nils.wsdl2java\" version \"0.12\" } dependencies { wsdl2java( [group: 'com.typesafe.play', name: 'play-soap-plugin', version: '2.0.0'] ) } wsdl2java { wsdlsToGenerate = [ ['-fe', 'play', '-xjc-Xplay:lang java', '-xjc-Xplay:target play', \"${projectDir}/src/main/resources/helloWorld.wsdl\"] ] }","title":"Gradle","component":"play-soap","version":"2.x","name":"gradle","url":"/play-soap/2.x/plugin/gradle.html","titles":[]},"13":{"id":13,"text":"Play SOAP Plugin is a plugin module to JAXB that converts WSDLs into SOAP client interfaces for work with asynchronous requests. Start by adding the dependency play-soap-plugin to the project and set required WSDL options: Option Accepted values Required Interpretation -fe play true Specifies the frontend to enable play-soap-plugin -xjc-Xplay:lang scala, java true Generate the future type to wrap an original type. scala - scala.concurrent.Future for Scala projects. java - java.util.concurrent.CompletionStage for Java projects. -xjc-Xplay:target play false Generates SOAP client classes for the specified framework. play - Play Framework Additional documentation on WSDL2JAVA options can be found here. For better workflow integration, consider integrating the module into one of these supported build tools (maven, gradle and sbt). A direct command line interface is also available.","title":"How To Use","component":"play-soap","version":"2.x","name":"how-to-use","url":"/play-soap/2.x/plugin/how-to-use.html","titles":[]},"14":{"id":14,"text":"Example using play-soap-plugin with cxf-codegen-plugin maven plugin: Add the following dependencies and plugin configuration to your pom.xml file. Additional arguments needed to generate java classes for our web-service WSDLs should be added to the block. com.typesafe.play play-soap-plugin ${play.soap.plugin.version} org.apache.cxf cxf-codegen-plugin ${cxf.version} generate-sources generate-sources play ${basedir}/src/main/resources/helloWorld.wsdl -xjc-Xplay:lang java -xjc-Xplay:target play wsdl2java","title":"Maven","component":"play-soap","version":"2.x","name":"maven","url":"/play-soap/2.x/plugin/maven.html","titles":[]},"15":{"id":15,"text":"Example using play-soap-plugin with sbt-cxf plugin Add dependency and plugin into your project in project/plugins.sbt: libraryDependencies ++= Seq(\"com.typesafe.play\" % \"play-soap-plugin\" % \"2.0.0\") addSbtPlugin(\"io.paymenthighway.sbt\" % \"sbt-cxf\" % \"1.6\") Add the plugin configuration to the build.sbt file. Additional arguments needed to generate java classes for our web-service WSDLs should be added as parameters to the cxfWSDLs setting: enablePlugins(CxfPlugin) val CxfVersion = \"3.3.3\" version in CXF := CxfVersion cxfWSDLs := Seq( Wsdl(\"HelloWorld\",(Compile / resourceDirectory).value / \"helloWorld.wsdl\", Seq(\"-fe\", \"play\", \"-xjc-Xplay:lang scala\", \"-xjc-Xplay:target play\")) )","title":"SBT","component":"play-soap","version":"2.x","name":"sbt","url":"/play-soap/2.x/plugin/sbt.html","titles":[]},"16":{"id":16,"text":"Akka gRPC has special support to allow for seamless injection of generated clients in Play. To enable this, you need first to enable the gRPC plugin as described in the client docs and then add a source generator in build.sbt: Scala Java import play.grpc.gen.scaladsl.PlayScalaClientCodeGenerator akkaGrpcExtraGenerators += PlayScalaClientCodeGenerator libraryDependencies += \"com.typesafe.play\" %% \"play-grpc-runtime\" % \"0.10.x\" import play.grpc.gen.javadsl.PlayJavaClientCodeGenerator akkaGrpcExtraGenerators += PlayJavaClientCodeGenerator libraryDependencies += \"com.typesafe.play\" %% \"play-grpc-runtime\" % \"0.10.x\" This will generate a Play module that provides all generated clients for injection. The module must be enabled by adding it to the enabled modules in the application.conf. You can then put the following helloworld.proto file in app/protobuf: syntax = \"proto3\"; option java_multiple_files = true; option java_package = \"example.myapp.helloworld.grpc\"; option java_outer_classname = \"HelloWorldProto\"; package helloworld; service GreeterService { rpc SayHello (HelloRequest) returns (HelloReply) {} } message HelloRequest { string name = 1; } message HelloReply { string message = 1; } The module file is generated in example.myapp.helloworld.grpc.helloworld.AkkaGrpcClientModule, example.myapp.helloworld.grpc.AkkaGrpcClientModule, which corresponds to the default value of flat_package for Scala. Java. You can read more about this in Services. The exact package of the module will be based on the package the proto files are generated in, configured through the java_package option in the proto-file (if there are multiple different gRPC generated clients the module will be generated in the longest package prefix shared between the clients). To hook it into Play, in application.conf: Scala Java // enable the client module play.modules.enabled += example.myapp.helloworld.grpc.helloworld.AkkaGrpcClientModule // enable the client module play.modules.enabled += example.myapp.helloworld.grpc.AkkaGrpcClientModule The clients are configured with entries under akka.grpc.client named after the client (gRPC package name dot ServiceName), again, in application.conf: akka.grpc.client { \"helloworld.GreeterService\" { host = \"example.com\" port = 9000 # By default we connect over TLS #use-tls = false } } See Client Configuration for more information on the available options. If the configuration is not present for that client and it is used by some other component, the application start will fail with an exception when injecting the client (see #271). You can now use the client in a controller by injecting it: Scala Java package controllers import javax.inject.Inject import javax.inject.Singleton import scala.concurrent.ExecutionContext import example.myapp.helloworld.grpc.helloworld.GreeterServiceClient import example.myapp.helloworld.grpc.helloworld.HelloRequest import play.api.mvc.AbstractController import play.api.mvc.ControllerComponents @Singleton class MyController @Inject() ( implicit greeterClient: GreeterServiceClient, cc: ControllerComponents, exec: ExecutionContext, ) extends AbstractController(cc) { def sayHello(name: String) = Action.async { greeterClient .sayHello(HelloRequest(name)) .map { reply => Ok(s\"response: ${reply.message}\") } } } package controllers; import example.myapp.helloworld.grpc.GreeterServiceClient; import example.myapp.helloworld.grpc.HelloRequest; import java.util.concurrent.CompletionStage; import javax.inject.Inject; import javax.inject.Singleton; import play.mvc.Controller; import play.mvc.Result; @Singleton public class MyController extends Controller { private final GreeterServiceClient greeterServiceClient; @Inject public MyController(GreeterServiceClient greeterServiceClient) { this.greeterServiceClient = greeterServiceClient; } public CompletionStage sayHello(String name) { return greeterServiceClient .sayHello(HelloRequest.newBuilder().setName(name).build()) .thenApply(response -> ok(\"response: \" + response.getMessage())); }; }","title":"Using a gRPC client in Play","component":"play-grpc","version":"0.10.x","name":"consuming-grpc","url":"/play-grpc/0.10.x/consuming-grpc.html","titles":[]},"17":{"id":17,"text":"To enable the Play support in a Gradle project you need to set the option generatePlay to true. This will make sure play-specific code is generated in addition to plain Akka gRPC code: akkaGrpc { language = \"Java\" generateClient = true generateServer = true extraGenerators = [ 'play.grpc.gen.javadsl.PlayJavaClientCodeGenerator', 'play.grpc.gen.javadsl.PlayJavaServerCodeGenerator' ] } See the Akka gRPC Gradle support docs for further details.","title":"Gradle support in Play","component":"play-grpc","version":"0.10.x","name":"gradle-support","url":"/play-grpc/0.10.x/gradle-support.html","titles":[]},"18":{"id":18,"text":"Akka gRPC provides support for building streaming gRPC servers and clients on top of Akka Streams. Play gRPC provides examples and tools on embedding Akka gRPC endpoints on Play applications. For a full example project see the Quickstart Java project or Quickstart Scala project","title":"Play gRPC","component":"play-grpc","version":"0.10.x","name":"index","url":"/play-grpc/0.10.x/index.html","titles":[]},"19":{"id":19,"text":"To be able to serve gRPC from a Play Framework app you must enable HTTP/2 Support with HTTPS and the ALPN agent. To use gRPC in Play Framework you must enable HTTP/2 Support. Generating classes from the gRPC service definition is done by adding the Akka gRPC plugin to your sbt build along with the Play gRPC generators: // in project/plugins.sbt: addSbtPlugin(\"com.lightbend.akka.grpc\" % \"sbt-akka-grpc\" % \"2.1.5\") resolvers += Resolver.sonatypeRepo(\"snapshots\") libraryDependencies += \"com.typesafe.play\" %% \"play-grpc-generators\" % \"0.10.x\" Then you need to enable the Play server side code generator in build.sbt: Scala Java enablePlugins(AkkaGrpcPlugin) import play.grpc.gen.scaladsl.PlayScalaServerCodeGenerator akkaGrpcExtraGenerators += PlayScalaServerCodeGenerator libraryDependencies += \"com.typesafe.play\" %% \"play-grpc-runtime\" % \"0.10.x\" enablePlugins(AkkaGrpcPlugin) import play.grpc.gen.javadsl.PlayJavaServerCodeGenerator akkaGrpcExtraGenerators += PlayJavaServerCodeGenerator libraryDependencies += \"com.typesafe.play\" %% \"play-grpc-runtime\" % \"0.10.x\" The plugin will look for .proto service descriptors in app/protobuf and output an abstract class per service that you then implement, so for example for the following protobuf descriptor: syntax = \"proto3\"; option java_multiple_files = true; option java_package = \"example.myapp.helloworld.grpc\"; option java_outer_classname = \"HelloWorldProto\"; package helloworld; service GreeterService { rpc SayHello (HelloRequest) returns (HelloReply) {} } message HelloRequest { string name = 1; } message HelloReply { string message = 1; } You will get an abstract class named example.myapp.helloworld.grpc.helloworld.AbstractGreeterServiceRouter. example.myapp.helloworld.grpc.AbstractGreeterServiceRouter. Create a concrete subclass implementing this wherever you see fit in your project, let’s say controller.GreeterServiceImpl like so: Scala Java package controllers import javax.inject.Inject import javax.inject.Singleton import scala.concurrent.Future import akka.actor.ActorSystem import example.myapp.helloworld.grpc.helloworld.AbstractGreeterServiceRouter import example.myapp.helloworld.grpc.helloworld.HelloReply import example.myapp.helloworld.grpc.helloworld.HelloRequest /** User implementation, with support for dependency injection etc */ @Singleton class GreeterServiceImpl @Inject() (implicit actorSystem: ActorSystem) extends AbstractGreeterServiceRouter(actorSystem) { override def sayHello(in: HelloRequest): Future[HelloReply] = Future.successful(HelloReply(s\"Hello, ${in.name}!\")) } package controllers; import akka.actor.ActorSystem; import com.google.inject.Inject; import example.myapp.helloworld.grpc.AbstractGreeterServiceRouter; import example.myapp.helloworld.grpc.HelloReply; import example.myapp.helloworld.grpc.HelloRequest; import java.util.concurrent.CompletableFuture; import java.util.concurrent.CompletionStage; import javax.inject.Singleton; /** User implementation, with support for dependency injection etc */ @Singleton public class GreeterServiceImpl extends AbstractGreeterServiceRouter { @Inject public GreeterServiceImpl(ActorSystem actorSystem) { super(actorSystem); } @Override public CompletionStage sayHello(HelloRequest in) { String message = String.format(\"Hello, %s!\", in.getName()); HelloReply reply = HelloReply.newBuilder().setMessage(message).build(); return CompletableFuture.completedFuture(reply); } } And then add the router to your Play conf/routes file. Note that the router already knows its own path since it is based on the package name and service name of the service and therefore the path / is enough to get it to end up in the right place (in this example the path will be /helloworld.GreeterService). It cannot be added at an arbitrary path (if you try to do so an exception will be thrown when the router is started). -> / controllers.GreeterServiceImpl A gRPC client can now connect to the server and call the provided services.","title":"Serving gRPC from Play","component":"play-grpc","version":"0.10.x","name":"serving-grpc","url":"/play-grpc/0.10.x/serving-grpc.html","titles":[]},"20":{"id":20,"text":"Akka gRPC has special support to allow for seamless injection of generated clients in Play. To enable this, you need first to enable the gRPC plugin as described in the client docs and then add a source generator in build.sbt: Scala Java import play.grpc.gen.scaladsl.PlayScalaClientCodeGenerator akkaGrpcExtraGenerators += PlayScalaClientCodeGenerator libraryDependencies += \"com.typesafe.play\" %% \"play-grpc-runtime\" % \"0.11.x\" import play.grpc.gen.javadsl.PlayJavaClientCodeGenerator akkaGrpcExtraGenerators += PlayJavaClientCodeGenerator libraryDependencies += \"com.typesafe.play\" %% \"play-grpc-runtime\" % \"0.11.x\" This will generate a Play module that provides all generated clients for injection. The module must be enabled by adding it to the enabled modules in the application.conf. You can then put the following helloworld.proto file in app/protobuf: syntax = \"proto3\"; option java_multiple_files = true; option java_package = \"example.myapp.helloworld.grpc\"; option java_outer_classname = \"HelloWorldProto\"; package helloworld; service GreeterService { rpc SayHello (HelloRequest) returns (HelloReply) {} } message HelloRequest { string name = 1; } message HelloReply { string message = 1; } The module file is generated in example.myapp.helloworld.grpc.helloworld.AkkaGrpcClientModule, example.myapp.helloworld.grpc.AkkaGrpcClientModule, which corresponds to the default value of flat_package for Scala. Java. You can read more about this in Services. The exact package of the module will be based on the package the proto files are generated in, configured through the java_package option in the proto-file (if there are multiple different gRPC generated clients the module will be generated in the longest package prefix shared between the clients). To hook it into Play, in application.conf: Scala Java // enable the client module play.modules.enabled += example.myapp.helloworld.grpc.helloworld.AkkaGrpcClientModule // enable the client module play.modules.enabled += example.myapp.helloworld.grpc.AkkaGrpcClientModule The clients are configured with entries under akka.grpc.client named after the client (gRPC package name dot ServiceName), again, in application.conf: akka.grpc.client { \"helloworld.GreeterService\" { host = \"example.com\" port = 9000 # By default we connect over TLS #use-tls = false } } See Client Configuration for more information on the available options. If the configuration is not present for that client and it is used by some other component, the application start will fail with an exception when injecting the client (see #271). You can now use the client in a controller by injecting it: Scala Java package controllers import javax.inject.Inject import javax.inject.Singleton import scala.concurrent.ExecutionContext import example.myapp.helloworld.grpc.helloworld.GreeterServiceClient import example.myapp.helloworld.grpc.helloworld.HelloRequest import play.api.mvc.AbstractController import play.api.mvc.ControllerComponents @Singleton class MyController @Inject() ( implicit greeterClient: GreeterServiceClient, cc: ControllerComponents, exec: ExecutionContext, ) extends AbstractController(cc) { def sayHello(name: String) = Action.async { greeterClient .sayHello(HelloRequest(name)) .map { reply => Ok(s\"response: ${reply.message}\") } } } package controllers; import example.myapp.helloworld.grpc.GreeterServiceClient; import example.myapp.helloworld.grpc.HelloRequest; import java.util.concurrent.CompletionStage; import javax.inject.Inject; import javax.inject.Singleton; import play.mvc.Controller; import play.mvc.Result; @Singleton public class MyController extends Controller { private final GreeterServiceClient greeterServiceClient; @Inject public MyController(GreeterServiceClient greeterServiceClient) { this.greeterServiceClient = greeterServiceClient; } public CompletionStage sayHello(String name) { return greeterServiceClient .sayHello(HelloRequest.newBuilder().setName(name).build()) .thenApply(response -> ok(\"response: \" + response.getMessage())); }; }","title":"Using a gRPC client in Play","component":"play-grpc","version":"0.11.x","name":"consuming-grpc","url":"/play-grpc/0.11.x/consuming-grpc.html","titles":[]},"21":{"id":21,"text":"To enable the Play support in a Gradle project you need to set the option generatePlay to true. This will make sure play-specific code is generated in addition to plain Akka gRPC code: akkaGrpc { language = \"Java\" generateClient = true generateServer = true extraGenerators = [ 'play.grpc.gen.javadsl.PlayJavaClientCodeGenerator', 'play.grpc.gen.javadsl.PlayJavaServerCodeGenerator' ] } See the Akka gRPC Gradle support docs for further details.","title":"Gradle support in Play","component":"play-grpc","version":"0.11.x","name":"gradle-support","url":"/play-grpc/0.11.x/gradle-support.html","titles":[]},"22":{"id":22,"text":"Akka gRPC provides support for building streaming gRPC servers and clients on top of Akka Streams. Play gRPC provides examples and tools on embedding Akka gRPC endpoints on Play applications. For a full example project see the Quickstart Java project or Quickstart Scala project","title":"Play gRPC","component":"play-grpc","version":"0.11.x","name":"index","url":"/play-grpc/0.11.x/index.html","titles":[]},"23":{"id":23,"text":"To be able to serve gRPC from a Play Framework app you must enable HTTP/2 Support with HTTPS and the ALPN agent. To use gRPC in Play Framework you must enable HTTP/2 Support. Generating classes from the gRPC service definition is done by adding the Akka gRPC plugin to your sbt build along with the Play gRPC generators: // in project/plugins.sbt: addSbtPlugin(\"com.lightbend.akka.grpc\" % \"sbt-akka-grpc\" % \"2.1.5\") resolvers += Resolver.sonatypeRepo(\"snapshots\") libraryDependencies += \"com.typesafe.play\" %% \"play-grpc-generators\" % \"0.11.x\" Then you need to enable the Play server side code generator in build.sbt: Scala Java enablePlugins(AkkaGrpcPlugin) import play.grpc.gen.scaladsl.PlayScalaServerCodeGenerator akkaGrpcExtraGenerators += PlayScalaServerCodeGenerator libraryDependencies += \"com.typesafe.play\" %% \"play-grpc-runtime\" % \"0.11.x\" enablePlugins(AkkaGrpcPlugin) import play.grpc.gen.javadsl.PlayJavaServerCodeGenerator akkaGrpcExtraGenerators += PlayJavaServerCodeGenerator libraryDependencies += \"com.typesafe.play\" %% \"play-grpc-runtime\" % \"0.11.x\" The plugin will look for .proto service descriptors in app/protobuf and output an abstract class per service that you then implement, so for example for the following protobuf descriptor: syntax = \"proto3\"; option java_multiple_files = true; option java_package = \"example.myapp.helloworld.grpc\"; option java_outer_classname = \"HelloWorldProto\"; package helloworld; service GreeterService { rpc SayHello (HelloRequest) returns (HelloReply) {} } message HelloRequest { string name = 1; } message HelloReply { string message = 1; } You will get an abstract class named example.myapp.helloworld.grpc.helloworld.AbstractGreeterServiceRouter. example.myapp.helloworld.grpc.AbstractGreeterServiceRouter. Create a concrete subclass implementing this wherever you see fit in your project, let’s say controller.GreeterServiceImpl like so: Scala Java package controllers import javax.inject.Inject import javax.inject.Singleton import scala.concurrent.Future import akka.actor.ActorSystem import example.myapp.helloworld.grpc.helloworld.AbstractGreeterServiceRouter import example.myapp.helloworld.grpc.helloworld.HelloReply import example.myapp.helloworld.grpc.helloworld.HelloRequest /** User implementation, with support for dependency injection etc */ @Singleton class GreeterServiceImpl @Inject() (implicit actorSystem: ActorSystem) extends AbstractGreeterServiceRouter(actorSystem) { override def sayHello(in: HelloRequest): Future[HelloReply] = Future.successful(HelloReply(s\"Hello, ${in.name}!\")) } package controllers; import akka.actor.ActorSystem; import com.google.inject.Inject; import example.myapp.helloworld.grpc.AbstractGreeterServiceRouter; import example.myapp.helloworld.grpc.HelloReply; import example.myapp.helloworld.grpc.HelloRequest; import java.util.concurrent.CompletableFuture; import java.util.concurrent.CompletionStage; import javax.inject.Singleton; /** User implementation, with support for dependency injection etc */ @Singleton public class GreeterServiceImpl extends AbstractGreeterServiceRouter { @Inject public GreeterServiceImpl(ActorSystem actorSystem) { super(actorSystem); } @Override public CompletionStage sayHello(HelloRequest in) { String message = String.format(\"Hello, %s!\", in.getName()); HelloReply reply = HelloReply.newBuilder().setMessage(message).build(); return CompletableFuture.completedFuture(reply); } } And then add the router to your Play conf/routes file. Note that the router already knows its own path since it is based on the package name and service name of the service and therefore the path / is enough to get it to end up in the right place (in this example the path will be /helloworld.GreeterService). It cannot be added at an arbitrary path (if you try to do so an exception will be thrown when the router is started). -> / controllers.GreeterServiceImpl A gRPC client can now connect to the server and call the provided services.","title":"Serving gRPC from Play","component":"play-grpc","version":"0.11.x","name":"serving-grpc","url":"/play-grpc/0.11.x/serving-grpc.html","titles":[]},"24":{"id":24,"text":"Pekko gRPC has special support to allow for seamless injection of generated clients in Play. To enable this, you need first to enable the gRPC plugin as described in the client docs and then add a source generator in build.sbt: Scala Java import play.grpc.gen.scaladsl.PlayScalaClientCodeGenerator pekkoGrpcExtraGenerators += PlayScalaClientCodeGenerator libraryDependencies += \"org.playframework\" %% \"play-grpc-runtime\" % \"0.12.x\" import play.grpc.gen.javadsl.PlayJavaClientCodeGenerator pekkoGrpcExtraGenerators += PlayJavaClientCodeGenerator libraryDependencies += \"org.playframework\" %% \"play-grpc-runtime\" % \"0.12.x\" This will generate a Play module that provides all generated clients for injection. The module must be enabled by adding it to the enabled modules in the application.conf. You can then put the following helloworld.proto file in app/protobuf: syntax = \"proto3\"; option java_multiple_files = true; option java_package = \"example.myapp.helloworld.grpc\"; option java_outer_classname = \"HelloWorldProto\"; package helloworld; service GreeterService { rpc SayHello (HelloRequest) returns (HelloReply) {} } message HelloRequest { string name = 1; } message HelloReply { string message = 1; } The module file is generated in example.myapp.helloworld.grpc.helloworld.PekkoGrpcClientModule, example.myapp.helloworld.grpc.PekkoGrpcClientModule, which corresponds to the default value of flat_package for Scala. Java. You can read more about this in Services. The exact package of the module will be based on the package the proto files are generated in, configured through the java_package option in the proto-file (if there are multiple different gRPC generated clients the module will be generated in the longest package prefix shared between the clients). To hook it into Play, in application.conf: Scala Java // enable the client module play.modules.enabled += example.myapp.helloworld.grpc.helloworld.PekkoGrpcClientModule // enable the client module play.modules.enabled += example.myapp.helloworld.grpc.PekkoGrpcClientModule The clients are configured with entries under pekko.grpc.client named after the client (gRPC package name dot ServiceName), again, in application.conf: pekko.grpc.client { \"helloworld.GreeterService\" { host = \"example.com\" port = 9000 # By default we connect over TLS #use-tls = false } } See Client Configuration for more information on the available options. If the configuration is not present for that client and it is used by some other component, the application start will fail with an exception when injecting the client (see #271). You can now use the client in a controller by injecting it: Scala Java package controllers import javax.inject.Inject import javax.inject.Singleton import scala.concurrent.ExecutionContext import example.myapp.helloworld.grpc.helloworld.GreeterServiceClient import example.myapp.helloworld.grpc.helloworld.HelloRequest import play.api.mvc.AbstractController import play.api.mvc.ControllerComponents @Singleton class MyController @Inject() ( implicit greeterClient: GreeterServiceClient, cc: ControllerComponents, exec: ExecutionContext, ) extends AbstractController(cc) { def sayHello(name: String) = Action.async { greeterClient .sayHello(HelloRequest(name)) .map { reply => Ok(s\"response: ${reply.message}\") } } } package controllers; import example.myapp.helloworld.grpc.GreeterServiceClient; import example.myapp.helloworld.grpc.HelloRequest; import java.util.concurrent.CompletionStage; import javax.inject.Inject; import javax.inject.Singleton; import play.mvc.Controller; import play.mvc.Result; @Singleton public class MyController extends Controller { private final GreeterServiceClient greeterServiceClient; @Inject public MyController(GreeterServiceClient greeterServiceClient) { this.greeterServiceClient = greeterServiceClient; } public CompletionStage sayHello(String name) { return greeterServiceClient .sayHello(HelloRequest.newBuilder().setName(name).build()) .thenApply(response -> ok(\"response: \" + response.getMessage())); }; }","title":"Using a gRPC client in Play","component":"play-grpc","version":"0.12.x","name":"consuming-grpc","url":"/play-grpc/0.12.x/consuming-grpc.html","titles":[]},"25":{"id":25,"text":"To enable the Play support in a Gradle project you need to set the option generatePlay to true. This will make sure play-specific code is generated in addition to plain Pekko gRPC code: pekkoGrpc { language = \"Java\" generateClient = true generateServer = true extraGenerators = [ 'play.grpc.gen.javadsl.PlayJavaClientCodeGenerator', 'play.grpc.gen.javadsl.PlayJavaServerCodeGenerator' ] } See the Pekko gRPC Gradle support docs for further details.","title":"Gradle support in Play","component":"play-grpc","version":"0.12.x","name":"gradle-support","url":"/play-grpc/0.12.x/gradle-support.html","titles":[]},"26":{"id":26,"text":"Pekko gRPC provides support for building streaming gRPC servers and clients on top of Pekko Streams. Play gRPC provides examples and tools on embedding Pekko gRPC endpoints on Play applications. For a full example project see the Quickstart Java project or Quickstart Scala project","title":"Play gRPC","component":"play-grpc","version":"0.12.x","name":"index","url":"/play-grpc/0.12.x/index.html","titles":[]},"27":{"id":27,"text":"To be able to serve gRPC from a Play Framework app you must enable HTTP/2 Support with HTTPS and the ALPN agent. To use gRPC in Play Framework you must enable HTTP/2 Support. Generating classes from the gRPC service definition is done by adding the Pekko gRPC plugin to your sbt build along with the Play gRPC generators: // in project/plugins.sbt: addSbtPlugin(\"org.apache.pekko\" % \"pekko-grpc-sbt-plugin\" % \"1.0.3\") resolvers += Resolver.sonatypeRepo(\"snapshots\") libraryDependencies += \"org.playframework\" %% \"play-grpc-generators\" % \"0.12.x\" Then you need to enable the Play server side code generator in build.sbt: Scala Java enablePlugins(PekkoGrpcPlugin) import play.grpc.gen.scaladsl.PlayScalaServerCodeGenerator pekkoGrpcExtraGenerators += PlayScalaServerCodeGenerator libraryDependencies += \"org.playframework\" %% \"play-grpc-runtime\" % \"0.12.x\" enablePlugins(PekkoGrpcPlugin) import play.grpc.gen.javadsl.PlayJavaServerCodeGenerator pekkoGrpcExtraGenerators += PlayJavaServerCodeGenerator libraryDependencies += \"org.playframework\" %% \"play-grpc-runtime\" % \"0.12.x\" The plugin will look for .proto service descriptors in app/protobuf and output an abstract class per service that you then implement, so for example for the following protobuf descriptor: syntax = \"proto3\"; option java_multiple_files = true; option java_package = \"example.myapp.helloworld.grpc\"; option java_outer_classname = \"HelloWorldProto\"; package helloworld; service GreeterService { rpc SayHello (HelloRequest) returns (HelloReply) {} } message HelloRequest { string name = 1; } message HelloReply { string message = 1; } You will get an abstract class named example.myapp.helloworld.grpc.helloworld.AbstractGreeterServiceRouter. example.myapp.helloworld.grpc.AbstractGreeterServiceRouter. Create a concrete subclass implementing this wherever you see fit in your project, let’s say controller.GreeterServiceImpl like so: Scala Java package controllers import javax.inject.Inject import javax.inject.Singleton import scala.concurrent.Future import example.myapp.helloworld.grpc.helloworld.AbstractGreeterServiceRouter import example.myapp.helloworld.grpc.helloworld.HelloReply import example.myapp.helloworld.grpc.helloworld.HelloRequest import org.apache.pekko.actor.ActorSystem /** User implementation, with support for dependency injection etc */ @Singleton class GreeterServiceImpl @Inject() (implicit actorSystem: ActorSystem) extends AbstractGreeterServiceRouter(actorSystem) { override def sayHello(in: HelloRequest): Future[HelloReply] = Future.successful(HelloReply(s\"Hello, ${in.name}!\")) } package controllers; import org.apache.pekko.actor.ActorSystem; import com.google.inject.Inject; import example.myapp.helloworld.grpc.AbstractGreeterServiceRouter; import example.myapp.helloworld.grpc.HelloReply; import example.myapp.helloworld.grpc.HelloRequest; import java.util.concurrent.CompletableFuture; import java.util.concurrent.CompletionStage; import javax.inject.Singleton; /** User implementation, with support for dependency injection etc */ @Singleton public class GreeterServiceImpl extends AbstractGreeterServiceRouter { @Inject public GreeterServiceImpl(ActorSystem actorSystem) { super(actorSystem); } @Override public CompletionStage sayHello(HelloRequest in) { String message = String.format(\"Hello, %s!\", in.getName()); HelloReply reply = HelloReply.newBuilder().setMessage(message).build(); return CompletableFuture.completedFuture(reply); } } And then add the router to your Play conf/routes file. Note that the router already knows its own path since it is based on the package name and service name of the service and therefore the path / is enough to get it to end up in the right place (in this example the path will be /helloworld.GreeterService). It cannot be added at an arbitrary path (if you try to do so an exception will be thrown when the router is started). -> / controllers.GreeterServiceImpl A gRPC client can now connect to the server and call the provided services.","title":"Serving gRPC from Play","component":"play-grpc","version":"0.12.x","name":"serving-grpc","url":"/play-grpc/0.12.x/serving-grpc.html","titles":[]}},"components":{},"componentVersions":{"play-soap/2.x":{"displayVersion":"2.x","title":"Play SOAP","version":"2.x","name":"play-soap","asciidoc":{"attributes":{"env":"site","env-site":"","site-gen":"antora","site-gen-antora":"","attribute-missing":"warn","data-uri":null,"icons":"font","sectanchors":"","source-highlighter":"highlight.js","site-title":"Playframework","site-url":"https://playframework.github.io/"},"sourcemap":false,"extensions":[{}]},"url":"/play-soap/2.x/index.html","navigation":[{"items":[{"content":"About","url":"/play-soap/2.x/index.html","urlType":"internal"},{"content":"What’s new?","url":"/play-soap/2.x/highlights.html","urlType":"internal"}],"root":true,"order":0},{"content":"Plugin","items":[{"content":"How To Use","url":"/play-soap/2.x/plugin/how-to-use.html","urlType":"internal","items":[{"content":"Maven","url":"/play-soap/2.x/plugin/maven.html","urlType":"internal"},{"content":"Gradle","url":"/play-soap/2.x/plugin/gradle.html","urlType":"internal"},{"content":"SBT","url":"/play-soap/2.x/plugin/sbt.html","urlType":"internal"},{"content":"CLI","url":"/play-soap/2.x/plugin/cli.html","urlType":"internal"}]}],"root":true,"order":0.3333},{"content":"Client","items":[{"content":"Using a Play SOAP client","url":"/play-soap/2.x/client/play-soap-client.html","urlType":"internal"},{"content":"Using JAX WS Handlers","url":"/play-soap/2.x/client/handlers.html","urlType":"internal"},{"content":"Security","url":"/play-soap/2.x/client/security.html","urlType":"internal"}],"root":true,"order":0.6667}]},"play-soap/1.x":{"displayVersion":"1.x (EOL)","title":"Play SOAP","version":"1.x","name":"play-soap","asciidoc":{"attributes":{"env":"site","env-site":"","site-gen":"antora","site-gen-antora":"","attribute-missing":"warn","data-uri":null,"icons":"font","sectanchors":"","source-highlighter":"highlight.js","site-title":"Playframework","site-url":"https://playframework.github.io/"},"sourcemap":false,"extensions":[{}]},"url":"/play-soap/1.x/index.html","navigation":[{"content":"Getting started","items":[{"content":"Installation and using SbtWsdl","url":"/play-soap/1.x/sbt-wsdl.html","urlType":"internal"},{"content":"Using a Play SOAP client","url":"/play-soap/1.x/play-soap-client.html","urlType":"internal"}],"root":true,"order":0},{"content":"Advanced","items":[{"content":"Using JAX WS Handlers","url":"/play-soap/1.x/handlers.html","urlType":"internal"},{"content":"Security","url":"/play-soap/1.x/security.html","urlType":"internal"}],"root":true,"order":0.5}]},"play-grpc/0.12.x":{"displayVersion":"0.12.x","title":"Play gRPC","version":"0.12.x","name":"play-grpc","asciidoc":{"attributes":{"env":"site","env-site":"","site-gen":"antora","site-gen-antora":"","attribute-missing":"warn","data-uri":null,"icons":"font","sectanchors":"","source-highlighter":"highlight.js","site-title":"Playframework","site-url":"https://playframework.github.io/","pekko-grpc-version":"1.0.3"},"sourcemap":false,"extensions":[{}]},"url":"/play-grpc/0.12.x/index.html","navigation":[{"items":[{"content":"Serving gRPC","url":"/play-grpc/0.12.x/serving-grpc.html","urlType":"internal"},{"content":"Using a gRPC client","url":"/play-grpc/0.12.x/consuming-grpc.html","urlType":"internal"},{"content":"Gradle support","url":"/play-grpc/0.12.x/gradle-support.html","urlType":"internal"}],"root":true,"order":0}]},"play-grpc/0.11.x":{"displayVersion":"0.11.x","title":"Play gRPC","version":"0.11.x","name":"play-grpc","asciidoc":{"attributes":{"env":"site","env-site":"","site-gen":"antora","site-gen-antora":"","attribute-missing":"warn","data-uri":null,"icons":"font","sectanchors":"","source-highlighter":"highlight.js","site-title":"Playframework","site-url":"https://playframework.github.io/","akka-grpc-version":"2.1.5"},"sourcemap":false,"extensions":[{}]},"url":"/play-grpc/0.11.x/index.html","navigation":[{"items":[{"content":"Serving gRPC","url":"/play-grpc/0.11.x/serving-grpc.html","urlType":"internal"},{"content":"Using a gRPC client","url":"/play-grpc/0.11.x/consuming-grpc.html","urlType":"internal"},{"content":"Gradle support","url":"/play-grpc/0.11.x/gradle-support.html","urlType":"internal"}],"root":true,"order":0}]},"play-grpc/0.10.x":{"displayVersion":"0.10.x (EOL)","title":"Play gRPC","version":"0.10.x","name":"play-grpc","asciidoc":{"attributes":{"env":"site","env-site":"","site-gen":"antora","site-gen-antora":"","attribute-missing":"warn","data-uri":null,"icons":"font","sectanchors":"","source-highlighter":"highlight.js","site-title":"Playframework","site-url":"https://playframework.github.io/","akka-grpc-version":"2.1.5"},"sourcemap":false,"extensions":[{}]},"url":"/play-grpc/0.10.x/index.html","navigation":[{"items":[{"content":"Serving gRPC","url":"/play-grpc/0.10.x/serving-grpc.html","urlType":"internal"},{"content":"Using a gRPC client","url":"/play-grpc/0.10.x/consuming-grpc.html","urlType":"internal"},{"content":"Gradle support","url":"/play-grpc/0.10.x/gradle-support.html","urlType":"internal"}],"root":true,"order":0}]}}}}) \ No newline at end of file diff --git a/sitemap-play-grpc.xml b/sitemap-play-grpc.xml new file mode 100644 index 0000000..ae2786c --- /dev/null +++ b/sitemap-play-grpc.xml @@ -0,0 +1,51 @@ + + + +https://playframework.github.io/play-grpc/0.12.x/consuming-grpc.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-grpc/0.12.x/gradle-support.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-grpc/0.12.x/index.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-grpc/0.12.x/serving-grpc.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-grpc/0.11.x/consuming-grpc.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-grpc/0.11.x/gradle-support.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-grpc/0.11.x/index.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-grpc/0.11.x/serving-grpc.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-grpc/0.10.x/consuming-grpc.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-grpc/0.10.x/gradle-support.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-grpc/0.10.x/index.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-grpc/0.10.x/serving-grpc.html +2024-12-10T03:37:18.502Z + + diff --git a/sitemap-play-soap.xml b/sitemap-play-soap.xml new file mode 100644 index 0000000..60d1cc2 --- /dev/null +++ b/sitemap-play-soap.xml @@ -0,0 +1,63 @@ + + + +https://playframework.github.io/play-soap/2.x/client/handlers.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-soap/2.x/client/play-soap-client.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-soap/2.x/client/security.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-soap/2.x/highlights.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-soap/2.x/index.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-soap/2.x/plugin/cli.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-soap/2.x/plugin/gradle.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-soap/2.x/plugin/how-to-use.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-soap/2.x/plugin/maven.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-soap/2.x/plugin/sbt.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-soap/1.x/handlers.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-soap/1.x/index.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-soap/1.x/play-soap-client.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-soap/1.x/sbt-wsdl.html +2024-12-10T03:37:18.502Z + + +https://playframework.github.io/play-soap/1.x/security.html +2024-12-10T03:37:18.502Z + + diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 0000000..03cf4a0 --- /dev/null +++ b/sitemap.xml @@ -0,0 +1,9 @@ + + + +https://playframework.github.io/sitemap-play-grpc.xml + + +https://playframework.github.io/sitemap-play-soap.xml + +