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..349f778 --- /dev/null +++ b/404.html @@ -0,0 +1,181 @@ + + + + + + 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..0b7bd67 --- /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: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:normal;font-weight:500;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:italic;font-weight:500;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 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:500;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;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:500}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}}.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}html.is-clipped--nav{overflow-y:hidden}.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 h3.title{color:#424242;font-size:inherit;font-weight:500;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:500}.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;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:500}.nav-panel-explore .versions{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-left:0;margin-top:-.25rem;line-height:1;list-style:none}.nav-panel-explore .component .version{margin:.375rem .375rem 0 0}.nav-panel-explore .component .version a{border:1px solid #c1c1c1;border-radius:.25rem;opacity:.75;white-space:nowrap;padding:.125em .25em;display:inherit}.nav-panel-explore .component .is-current a{border-color:currentColor;opacity:.9;font-weight:500}@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:500;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;-webkit-hyphens:none;-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;-webkit-hyphens:none;-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:500}.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{-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}.doc a.unresolved{color:#d32f2f}.doc i.fa{-webkit-hyphens:none;-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{-webkit-hyphens:none;-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 .stretch{width:100%}.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 .ulist,.doc .verseblock,.doc .videoblock,.doc details,.doc hr{margin:1rem 0 0}.doc table.tableblock{font-size:.83333rem;margin:1.5rem 0 0}.doc table.tableblock+*{margin-top:1.5rem}.doc p.tableblock+p.tableblock{margin-top:.5rem}.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 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 .icon{position:absolute;top:0;left:0;font-size:.83333rem;padding:0 .5rem;height:1.25rem;line-height:1;font-weight:500;text-transform:uppercase;border-radius:.45rem;-webkit-transform:translate(-.5rem,-50%);transform:translate(-.5rem,-50%)}.doc .admonitionblock.caution .icon{background-color:#a0439c;color:#fff}.doc .admonitionblock.important .icon{background-color:#d32f2f;color:#fff}.doc .admonitionblock.note .icon{background-color:#217ee7;color:#fff}.doc .admonitionblock.tip .icon{background-color:#41af46;color:#fff}.doc .admonitionblock.warning .icon{background-color:#e18114;color:#fff}.doc .admonitionblock .icon i{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%}.doc .admonitionblock .icon i::after{content:attr(title)}.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{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,.doc ul.disc,.doc ul.square{list-style-type:square}.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 .tableblock caption,.doc .videoblock .title{color:#5d5d5d;font-size:.88889rem;font-style:italic;font-weight:500;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none;letter-spacing:.01em;padding-bottom:.075rem}.doc .tableblock caption{text-align:left}.doc .olist .title,.doc .ulist .title{font-style:italic;font-weight:500;margin-bottom:.25rem}.doc .imageblock .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:500;line-height:1.3;margin-bottom:-.3em;text-align:center}.doc .sidebarblock>.content>:not(.title):first-child{margin-top:0}.doc .listingblock.wrap pre,.doc .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;white-space:nowrap}.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 .25rem 1.5rem}.doc .dlist dd:last-of-type{margin-bottom:0}.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:500;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{-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}.doc .menuseq i.caret::before{content:"\203a";font-size:1.1em;font-weight:500;line-height:.90909}.doc :not(pre).nowrap{white-space:nowrap}.doc .nobreak{-webkit-hyphens:none;-ms-hyphens:none;hyphens:none;word-wrap:normal}#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:500;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"}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:500}.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:500}.hljs-subst{font-weight:400}.hljs-class .hljs-title,.hljs-type{color:#458;font-weight:500}.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:500}.hljs-deletion{background:#fdd}.hljs-addition{background:#dfd}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:500}@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{-webkit-hyphens:none;-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/_/font/roboto-latin-400-italic.woff b/_/font/roboto-latin-400-italic.woff new file mode 100644 index 0000000..c8bc602 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..05508b0 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..86b3863 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..ebe1795 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..35d2715 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..04f45a1 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..c9eb5ca 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..ce795fa 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..f319fbf 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..ed384d2 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..e6ac1b9 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..01b58ed 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..e3b4e20 --- /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..aee360c --- /dev/null +++ b/_/js/site.js @@ -0,0 +1,6 @@ +!function(){"use strict";var e,o,r,v=/^sect(\d)$/,i=document.querySelector(".nav-container"),a=document.querySelector(".nav-toggle"),c=i.querySelector(".nav"),s=(a.addEventListener("click",function(e){if(a.classList.contains("is-active"))return l(e);d(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",l)}),i.addEventListener("click",d),i.querySelector("[data-panel=menu]"));function t(){var e,t,n=window.location.hash;if(n&&(n.indexOf("%")&&(n=decodeURIComponent(n)),!(e=s.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=v.test(i.className))?(i.firstElementChild||{}).id:c)&&(e=s.querySelector('.nav-link[href="#'+c+'"]')))break}}if(e)t=e.parentNode;else{if(!r)return;e=(t=r).querySelector(".nav-link")}t!==o&&(u(s,".nav-item.is-active").forEach(function(e){e.classList.remove("is-active","is-current-path","is-current-page")}),t.classList.add("is-current-page"),p(o=t),h(s,e))}function p(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 n(){var e,t,n,i;this.classList.toggle("is-active")&&(e=parseFloat(window.getComputedStyle(this).marginTop),t=this.getBoundingClientRect(),n=s.getBoundingClientRect(),0<(i=(t.bottom-n.top-n.height+e).toFixed())&&(s.scrollTop+=Math.min((t.top-n.top-e).toFixed(),i)))}function l(e){d(e);e=document.documentElement;e.classList.remove("is-clipped--nav"),a.classList.remove("is-active"),i.classList.remove("is-active"),e.removeEventListener("click",l)}function d(e){e.stopPropagation()}function h(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 u(e,t){return[].slice.call(e.querySelectorAll(t))}s&&(e=i.querySelector("[data-panel=explore]"),o=s.querySelector(".is-current-page"),(r=o)?(p(o),h(s,o.querySelector(".nav-link"))):s.scrollTop=0,u(s,".nav-item-toggle").forEach(function(e){var t=e.parentElement,e=(e.addEventListener("click",n.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",n.bind(t)))}),e&&e.querySelector(".context").addEventListener("click",function(){u(c,"[data-panel]").forEach(function(e){e.classList.toggle("is-active")})}),s.addEventListener("mousedown",function(e){1":"")+".sect"+n);o.push("h"+(t+1)+"[id]")}else o.push("h1[id].sect0");m.push(o.join(">"))}r=m.join(","),i=f.parentNode;var d,c=[].slice.call((i||document).querySelectorAll(r));if(!c.length)return e.parentNode.removeChild(e);var a={},s=c.reduce(function(e,t){var o=document.createElement("a"),n=(o.textContent=t.textContent,a[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")),i=e.querySelector(".toc-menu"),r=(i||((i=document.createElement("div")).className="toc-menu"),document.createElement("h3")),e=(r.textContent=e.dataset.title||"Contents",i.appendChild(r),i.appendChild(s),!document.getElementById("toc")&&f.querySelector("h1.page ~ :not(.is-before-toc)"));e&&((r=document.createElement("aside")).className="toc embedded",r.appendChild(i.cloneNode(!0)),e.parentNode.insertBefore(r,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=f.offsetTop;if(e&&window.innerHeight+e+2>=document.documentElement.scrollHeight)return d=Array.isArray(d)?d:Array(d||0),n=[],i=c.length-1,c.forEach(function(e,t){var o="#"+e.id;t===i||e.getBoundingClientRect().top+h(e,"paddingTop")>r?(n.push(o),d.indexOf(o)<0&&a[o].classList.add("is-active")):~d.indexOf(o)&&a[d.shift()].classList.remove("is-active")}),s.scrollTop=s.scrollHeight-s.offsetHeight,void(d=1r)return!0;t="#"+e.id}),t?t!==d&&(d&&a[d].classList.remove("is-active"),(e=a[t]).classList.add("is-active"),s.scrollHeight>s.offsetHeight&&(s.scrollTop=Math.max(0,e.offsetTop+e.offsetHeight-s.offsetHeight)),d=t):d&&(a[d].classList.remove("is-active"),d=void 0)}function h(e,t){return parseFloat(window.getComputedStyle(e)[t])}}(); +!function(){"use strict";var o=document.querySelector("article.doc"),t=document.querySelector(".toolbar");function i(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()}window.scrollTo(0,function e(t,n){return o.contains(t)?e(t.offsetParent,t.offsetTop+n):n}(this,0)-t.getBoundingClientRect().bottom)}window.addEventListener("load",function e(t){var n,o;(n=i(window.location.hash))&&(o=document.getElementById(n))&&(r.bind(o)(),setTimeout(r.bind(o),0)),window.removeEventListener("load",e)}),Array.prototype.slice.call(document.querySelectorAll('a[href^="#"]')).forEach(function(e){var t,n;(t=i(e.hash))&&(n=document.getElementById(t))&&e.addEventListener("click",r.bind(n))})}(); +!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 t=document.querySelector(".navbar-burger");t&&t.addEventListener("click",function(t){t.stopPropagation(),document.documentElement.classList.toggle("is-clipped--navbar"),this.classList.toggle("is-active");t=document.getElementById(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(t))}(); +!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=null==e.uiRootPath?".":e.uiRootPath,r=e.svgAs,p=window.navigator.clipboard;[].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),p&&((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",d+"/img/octicons-16.svg#icon-clippy"),a.appendChild(c),n.appendChild(a)):((c=document.createElement("img")).src=d+"/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..dcd9793 --- /dev/null +++ b/_/js/vendor/highlight.js @@ -0,0 +1 @@ +!function(){function e(e){return{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,5}) .+?( \\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},{className:"strong",begin:"\\B\\*(?![\\*\\s])",end:"(\\n{2}|\\*)",contains:[{begin:"\\\\*\\w",relevance:0}]},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0},{className:"emphasis",begin:"_(?![_\\s])",end:"(\\n{2}|_)",relevance:0},{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{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 n(e){var n={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)}/}]},a={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,{className:"variable",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}]};return{aliases:["sh","zsh"],lexemes:/\b-?[a-z\._]+\b/,keywords:{keyword:"if then else elif fi for while in do done case esac function",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",_:"-ne -eq -lt -gt -f -d -e -s -l -a"},contains:[{className:"meta",begin:/^#![^\n]+sh\s*$/,relevance:10},{className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},e.HASH_COMMENT_MODE,a,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},n]}}function a(e){var n={begin:c="["+(c="a-zA-Z_\\-!.?+*=<>&#'")+"]["+c+"0-9/;:]*",relevance:0},a={className:"number",begin:"[-+]?\\d+(\\.\\d+)?",relevance:0},t=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),i=e.COMMENT(";","$",{relevance:0}),d={className:"literal",begin:/\b(true|false|nil)\b/},s={begin:"[\\[\\{]",end:"[\\]\\}]"},g={className:"comment",begin:"\\^"+c},r=e.COMMENT("\\^\\{","\\}"),u={className:"symbol",begin:"[:]{1,2}"+c},l={begin:"\\(",end:"\\)"},o={endsWithParent:!0,relevance:0},c={keywords:{"builtin-name":"def defonce cond apply if-not if-let if not not= = < > <= >= == + / * - 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 defmacro defn defn- 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 defstruct first rest cons defprotocol cast coll deftype defrecord last butlast sigs reify second ffirst fnext nfirst nnext defmulti defmethod 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"},lexemes:c,className:"name",begin:c,starts:o},n=[l,t,g,r,i,u,s,a,d,n];return l.contains=[e.COMMENT("comment",""),c,o],o.contains=n,s.contains=n,r.contains=[s],{aliases:["clj"],illegal:/\S/,contains:[l,t,g,r,i,u,s,a,d]}}function t(e){function n(e){return"(?:"+e+")?"}var a="decltype\\(auto\\)",t="[a-zA-Z_]\\w*::",i={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},s={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:"."},{begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\((?:.|\n)*?\)\1"/}]},r={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},l={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},d={className:"title",begin:n(t)+e.IDENT_RE,relevance:0},t=n(t)+e.IDENT_RE+"\\s*\\(",o={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_tshort reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary",literal:"true false nullptr NULL"},c=[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,s],g={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:o,contains:c.concat([{begin:/\(/,end:/\)/,keywords:o,contains:c.concat(["self"]),relevance:0}]),relevance:0},a={className:"function",begin:"((decltype\\(auto\\)|(?:[a-zA-Z_]\\w*::)?[a-zA-Z_]\\w*(?:<.*?>)?)[\\*&\\s]+)+"+t,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:o,illegal:/[^\w\s\*&:<>]/,contains:[{begin:a,keywords:o,relevance:0},{begin:t,returnBegin:!0,contains:[d],relevance:0},{className:"params",begin:/\(/,end:/\)/,keywords:o,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s,r,i,{begin:/\(/,end:/\)/,keywords:o,relevance:0,contains:["self",e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s,r,i]}]},i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,l]};return{aliases:["c","cc","h","c++","h++","hpp","hh","hxx","cxx"],keywords:o,illegal:"",keywords:o,contains:["self",i]},{begin:e.IDENT_RE+"::",keywords:o},{className:"class",beginKeywords:"class struct",end:/[{;:]/,contains:[{begin://,contains:["self"]},e.TITLE_MODE]}]),exports:{preprocessor:l,strings:s,keywords:o}}}function i(e){var n={keyword:"abstract as base bool break byte case catch char checked const continue decimal default delegate do double enum event explicit extern finally fixed float for foreach goto if implicit in int interface internal is lock long object operator out override params private protected public readonly ref sbyte sealed short sizeof stackalloc static string struct switch this try typeof uint ulong unchecked unsafe ushort using virtual void volatile while add alias ascending async await by descending dynamic equals from get global group into join let nameof on orderby partial remove select set value var when where yield",literal:"null false true"},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},t={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},i=e.inherit(t,{illegal:/\n/}),s={className:"subst",begin:"{",end:"}",keywords:n},r=e.inherit(s,{illegal:/\n/}),l={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:"{{"},{begin:"}}"},e.BACKSLASH_ESCAPE,r]},o={className:"string",begin:/\$@"/,end:'"',contains:[{begin:"{{"},{begin:"}}"},{begin:'""'},s]},c=e.inherit(o,{illegal:/\n/,contains:[{begin:"{{"},{begin:"}}"},{begin:'""'},r]}),s=(s.contains=[o,l,t,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_BLOCK_COMMENT_MODE],r.contains=[c,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})],{variants:[o,l,t,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}),r=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?";return{aliases:["csharp","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:{"meta-keyword":"if else elif endif define undef warning error line region endregion pragma checksum"}},s,a,{beginKeywords:"class interface",end:/[{;=]/,illegal:/[^\s:,]/,contains:[e.TITLE_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",end:/[{;=]/,illegal:/[^\s:]/,contains:[e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"meta-string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+r+"\\s+)+"+e.IDENT_RE+"\\s*\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:n,contains:[{begin:e.IDENT_RE+"\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE],relevance:0},{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]}]}}function s(e){var n={className:"attribute",begin:/\S/,end:":",excludeEnd:!0,starts:{endsWithParent:!0,excludeEnd:!0,contains:[{begin:/[\w-]+\(/,returnBegin:!0,contains:[{className:"built_in",begin:/[\w-]+/},{begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.CSS_NUMBER_MODE]}]},e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:"#[0-9A-Fa-f]+"},{className:"meta",begin:"!important"}]}};return{case_insensitive:!0,illegal:/[=\/|'\$]/,contains:[e.C_BLOCK_COMMENT_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/},{className:"selector-class",begin:/\.[A-Za-z0-9_-]+/},{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},{className:"selector-pseudo",begin:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{begin:"@(page|font-face)",lexemes:"@[a-z-]+",keywords:"@page @font-face"},{begin:"@",end:"[{;]",illegal:/:/,returnBegin:!0,contains:[{className:"keyword",begin:/@\-?\w[\w]*(\-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:"and or not only",contains:[{begin:/[a-z-]+:/,className:"attribute"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},{begin:"{",end:"}",illegal:/\S/,contains:[e.C_BLOCK_COMMENT_MODE,{begin:/(?:[A-Z\_\.\-]+|--[a-zA-Z0-9_-]+)\s*:/,returnBegin:!0,end:";",endsWithParent:!0,contains:[n]}]}]}}function r(e){return{aliases:["patch"],contains:[{className:"meta",relevance:10,variants:[{begin:/^@@ +\-\d+,\d+ +\+\d+,\d+ +@@$/},{begin:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{begin:/^\-\-\- +\d+,\d+ +\-\-\-\-$/}]},{className:"comment",variants:[{begin:/Index: /,end:/$/},{begin:/={3,}/,end:/$/},{begin:/^\-{3}/,end:/$/},{begin:/^\*{3} /,end:/$/},{begin:/^\+{3}/,end:/$/},{begin:/^\*{15}$/}]},{className:"addition",begin:"^\\+",end:"$"},{className:"deletion",begin:"^\\-",end:"$"},{className:"addition",begin:"^\\!",end:"$"}]}}function d(e){return{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:"/}]}]}]},s={className:"string",begin:"~[A-Z](?="+s+")",contains:[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/\/}]},r={className:"string",contains:[e.BACKSLASH_ESCAPE,t],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:/"/}]},l={className:"function",beginKeywords:"def defp defmacro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},o=e.inherit(l,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),s=[r,s,i,e.HASH_COMMENT_MODE,o,l,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[r,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"}],relevance:0},{className:"symbol",begin:n+":(?!:)",relevance:0},{className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[1-9][0-9_]*(.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},{className:"variable",begin:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{begin:"->"},{begin:"("+e.RE_STARTERS_RE+")\\s*",contains:[e.HASH_COMMENT_MODE,{className:"regexp",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t],variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}],relevance:0}];return{lexemes:n,keywords:a,contains:t.contains=s}}function u(e){var n={keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 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{aliases:["golang"],keywords:n,illegal:"|<-"}]}}function b(e){var n="false synchronized int abstract float private char boolean var static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",a={className:"number",begin:"\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?",relevance:0};return{aliases:["jsp"],keywords:n,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"new throw return else",relevance:0},{className:"function",begin:"([À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(<[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(\\s*,\\s*[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*)*>)?\\s+)+"+e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:n,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:n,relevance:0,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},a,{className:"meta",begin:"@[A-Za-z]+"}]}}function p(e){var d="<>",g="",n=/<[A-Za-z0-9\\._:-]+/,a=/\/[A-Za-z0-9\\._:-]+>|\/>/,t="[A-Za-z$_][0-9A-Za-z$_]*",i={keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await static import from as",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"},s={className:"number",variants:[{begin:"\\b(0[bB][01]+)n?"},{begin:"\\b(0[oO][0-7]+)n?"},{begin:e.C_NUMBER_RE+"n?"}],relevance:0},r={className:"subst",begin:"\\$\\{",end:"\\}",keywords:i,contains:[]},l={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,r],subLanguage:"xml"}},o={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,r],subLanguage:"css"}},c={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,r]},r=(r.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,o,c,s,e.REGEXP_MODE],r.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]));return{aliases:["js","jsx","mjs","cjs"],keywords:i,contains:[{className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},{className:"meta",begin:/^#!/,end:/$/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,o,c,e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:t+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,s,{begin:/[{,\n]\s*/,relevance:0,contains:[{begin:t+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:t,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+t+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:r}]}]},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:d,end:g},{begin:n,end:a}],subLanguage:"xml",contains:[{begin:n,end:a,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:t}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:r}],illegal:/\[|%/},{begin:/\$[(.]/},e.METHOD_GUARD,{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"constructor get set",end:/\{/,excludeEnd:!0}],illegal:/#(?!!)/}}function f(e){var n={literal:"true false null"},a=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],t=[e.QUOTE_STRING_MODE,e.C_NUMBER_MODE],i={end:",",endsWithParent:!0,excludeEnd:!0,contains:t,keywords:n},s={begin:"{",end:"}",contains:[{className:"attr",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE],illegal:"\\n"},e.inherit(i,{begin:/:/})].concat(a),illegal:"\\S"},e={begin:"\\[",end:"\\]",contains:[e.inherit(i)],illegal:"\\S"};return t.push(s,e),a.forEach(function(e){t.push(e)}),{contains:t,keywords:n,illegal:"\\S"}}function E(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 trait volatile transient native default",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},a={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},t={className:"subst",begin:"\\${",end:"}",contains:[e.C_NUMBER_MODE]},i={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[i={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},t]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,i,t]}]},t=(t.contains.push(i),{className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"}),s={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(i,{className:"meta-string"})]}]},r={className:"number",begin:"\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?",relevance:0},l=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),o={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},c=o;return c.variants[1].contains=[o],o.variants[1].contains=[c],{aliases:["kt"],keywords:n,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,l,{className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},a,t,s,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:n,illegal:/fun\s+(<.*>)?[^\s\(]+(\s+[^\s\(]+)\s*=/,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:[o,e.C_LINE_COMMENT_MODE,l],relevance:0},e.C_LINE_COMMENT_MODE,l,t,s,i,e.C_NUMBER_MODE]},l]},{className:"class",beginKeywords:"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:/[<\(,]|$/,excludeBegin:!0,returnEnd:!0},t,s]},i,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},r]}}function N(e){var n="\\[=*\\[",a="\\]=*\\]",t={begin:n,end:a,contains:["self"]},i=[e.COMMENT("--(?!"+n+")","$"),e.COMMENT("--"+n,a,{contains:[t],relevance:10})];return{lexemes:e.UNDERSCORE_IDENT_RE,keywords:{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 loadstringmodule next pairs pcall print rawequal rawget rawset require select setfenvsetmetatable tonumber tostring type unpack xpcall arg selfcoroutine 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:a,contains:[t],relevance:5}])}}function h(e){return{aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$"},{begin:"^.+?\\n[=-]{2,}$"}]},{begin:"<",end:">",subLanguage:"xml",relevance:0},{className:"bullet",begin:"^\\s*([*+-]|(\\d+\\.))\\s+"},{className:"strong",begin:"[*_]{2}.+?[*_]{2}"},{className:"emphasis",variants:[{begin:"\\*.+?\\*"},{begin:"_.+?_",relevance:0}]},{className:"quote",begin:"^>\\s+",end:"$"},{className:"code",variants:[{begin:"^```\\w*\\s*$",end:"^```[ ]*$"},{begin:"`.+?`"},{begin:"^( {4}|\\t)",end:"$",relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},{begin:"\\[.+?\\][\\(\\[].*?[\\)\\]]",returnBegin:!0,contains:[{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0,relevance:0},{className:"link",begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}],relevance:10},{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]}]}}function v(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"},a={className:"subst",begin:/\$\{/,end:/}/,keywords:n},e=[e.NUMBER_MODE,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",contains:[a],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},{begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/}]}];return{aliases:["nixos"],keywords:n,contains:a.contains=e}}function y(e){return{disableAutodetect:!0}}function w(e){var n=/[a-zA-Z@][a-zA-Z0-9_]*/,a="@interface @class @protocol @implementation";return{aliases:["mm","objc","obj-c"],keywords:{keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar 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:"BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"},lexemes:n,illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+a.split(" ").join("|")+")\\b",end:"({|$)",excludeEnd:!0,keywords:a,lexemes:n,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}function O(e){var n="getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qqfileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmgetsub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedirioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when",a={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:n},t={begin:"->{",end:"}"},i={variants:[{begin:/\$\d/},{begin:/[\$%@](\^\w\b|#\w+(::\w+)*|{\w+}|\w+(::\w*)*)/},{begin:/[\$%@][^\s\w{]/,relevance:0}]},s=[e.BACKSLASH_ESCAPE,a,i],i=[i,e.HASH_COMMENT_MODE,e.COMMENT("^\\=\\w","\\=cut",{endsWithParent:!0}),t,{className:"string",contains:s,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+}",contains:[],relevance:0},{begin:"-?\\w+\\s*\\=\\>",contains:[],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",begin:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",relevance:10},{className:"regexp",begin:"(m|qr)?/",end:"/[a-z]*",contains:[e.BACKSLASH_ESCAPE],relevance:0}]},{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 a.contains=i,{aliases:["pl","pm"],lexemes:/[\w\.]+/,keywords:n,contains:t.contains=i}}function M(e){var n={begin:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*"},a={className:"meta",begin:/<\?(php)?|\?>/},t={className:"string",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:'b"',end:'"'},{begin:"b'",end:"'"},e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},i={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{aliases:["php","php3","php4","php5","php6","php7"],case_insensitive:!0,keywords:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally",contains:[e.HASH_COMMENT_MODE,e.COMMENT("//","$",{contains:[a]}),e.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler",lexemes:e.UNDERSCORE_IDENT_RE}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;?$/,contains:[e.BACKSLASH_ESCAPE,{className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]}]},a,{className:"keyword",begin:/\$this\b/},n,{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function",end:/[;{]/,excludeEnd:!0,illegal:"\\$|\\[|%",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:["self",n,e.C_BLOCK_COMMENT_MODE,t,i]}]},{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:!0,illegal:/[:\(\$"]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",end:";",illegal:/[\.']/,contains:[e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",end:";",contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"=>"},t,i]}}function x(e){var n="[ \\t\\f]*",a="("+n+"[:=]"+n+"|[ \\t\\f]+)",t="([^\\\\\\W:= \\t\\f\\n]|\\\\.)+",i="([^\\\\:= \\t\\f\\n]|\\\\.)+",s={end:a,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\n"}]}};return{case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{begin:t+a,returnBegin:!0,contains:[{className:"attr",begin:t,endsParent:!0,relevance:0}],starts:s},{begin:i+a,returnBegin:!0,relevance:0,contains:[{className:"meta",begin:i,endsParent:!0,relevance:0}],starts:s},{className:"attr",relevance:0,begin:i+n+"$"}]}}function C(e){var n=e.COMMENT("#","$"),a="([A-Za-z_]|::)(\\w|::)*",t=e.inherit(e.TITLE_MODE,{begin:a}),a={className:"variable",begin:"\\$"+a},i={className:"string",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{aliases:["pp"],contains:[n,a,i,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[t,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},{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},a]}],relevance:0}]}}function S(e){var n={keyword:"and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda async await nonlocal|10",built_in:"Ellipsis NotImplemented",literal:"False None True"},a={className:"meta",begin:/^(>>>|\.\.\.) /},t={className:"subst",begin:/\{/,end:/\}/,keywords:n,illegal:/#/},i={begin:/\{\{/,relevance:0},i={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/(fr|rf|f)'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a,i,t]},{begin:/(fr|rf|f)"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a,i,t]},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},{begin:/(fr|rf|f)'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,i,t]},{begin:/(fr|rf|f)"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,i,t]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},s={className:"number",relevance:0,variants:[{begin:e.BINARY_NUMBER_RE+"[lLjJ]?"},{begin:"\\b(0o[0-7]+)[lLjJ]?"},{begin:e.C_NUMBER_RE+"[lLjJ]?"}]},r={className:"params",begin:/\(/,end:/\)/,contains:["self",a,s,i,e.HASH_COMMENT_MODE]};return t.contains=[i,s,a],{aliases:["py","gyp","ipython"],keywords:n,illegal:/(<\/|->|\?)|=>/,contains:[a,s,{beginKeywords:"if",relevance:0},i,e.HASH_COMMENT_MODE,{variants:[{className:"function",beginKeywords:"def"},{className:"class",beginKeywords:"class"}],end:/:/,illegal:/[${=;\n,]/,contains:[e.UNDERSCORE_TITLE_MODE,r,{begin:/->/,endsWithParent:!0,keywords:"None"}]},{className:"meta",begin:/^[\t ]*@/,end:/$/},{begin:/\b(print|exec)\(/}]}}function T(e){var n="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",a={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor",literal:"true false nil"},t={className:"doctag",begin:"@[A-Za-z]+"},i={begin:"#<",end:">"},t=[e.COMMENT("#","$",{contains:[t]}),e.COMMENT("^\\=begin","^\\=end",{contains:[t],relevance:10}),e.COMMENT("^__END__","\\n$")],s={className:"subst",begin:"#\\{",end:"}",keywords:a},r={className:"string",contains:[e.BACKSLASH_ESCAPE,s],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[qQwWx]?\\(",end:"\\)"},{begin:"%[qQwWx]?\\[",end:"\\]"},{begin:"%[qQwWx]?{",end:"}"},{begin:"%[qQwWx]?<",end:">"},{begin:"%[qQwWx]?/",end:"/"},{begin:"%[qQwWx]?%",end:"%"},{begin:"%[qQwWx]?-",end:"-"},{begin:"%[qQwWx]?\\|",end:"\\|"},{begin:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/},{begin:/<<[-~]?'?(\w+)(?:.|\n)*?\n\s*\1\b/,returnBegin:!0,contains:[{begin:/<<[-~]?'?/},{begin:/\w+/,endSameAsBegin:!0,contains:[e.BACKSLASH_ESCAPE,s]}]}]},l={className:"params",begin:"\\(",end:"\\)",endsParent:!0,keywords:a},r=[r,i,{className:"class",beginKeywords:"class module",end:"$|;",illegal:/=/,contains:[e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{begin:"<\\s*",contains:[{begin:"("+e.IDENT_RE+"::)?"+e.IDENT_RE}]}].concat(t)},{className:"function",beginKeywords:"def",end:"$|;",contains:[e.inherit(e.TITLE_MODE,{begin:n}),l].concat(t)},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(\\!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[r,{begin:n}],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:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{className:"params",begin:/\|/,end:/\|/,keywords:a},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[i,{className:"regexp",contains:[e.BACKSLASH_ESCAPE,s],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(t),relevance:0}].concat(t);return s.contains=r,l.contains=r,{aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,contains:t.concat([{begin:/^\s*=>/,starts:{end:"$",contains:r}},{className:"meta",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+>|(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>)",starts:{end:"$",contains:r}}]).concat(r)}}function k(e){var n="([ui](8|16|32|64|128|size)|f(32|64))?",a="drop i8 i16 i32 i64 i128 isize u8 u16 u32 u64 u128 usize f32 f64 str char bool Box Option Result String Vec 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! panic! file! format! format_args! include_bin! 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!";return{aliases:["rs"],keywords:{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},lexemes:e.IDENT_RE+"!?",illegal:""}]}}function A(e){var n={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:"\\${",end:"}"}]},n={className:"string",variants:[{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'"""',end:'"""',relevance:10},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,n]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[n],relevance:10}]},a={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},t={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0};return{keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,{className:"symbol",begin:"'\\w[\\w\\d_]*(?!')"},a,{className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[t]},{className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[a]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[a]},t]},e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}function R(e){return{aliases:["console"],contains:[{className:"meta",begin:"^\\s{0,3}[/\\w\\d\\[\\]()@-]*[>%$#]",starts:{end:"$",subLanguage:"bash"}}]}}function D(e){var n=e.COMMENT("--","$");return{case_insensitive:!0,illegal:/[<>{}*]/,contains:[{beginKeywords:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment values with",end:/;/,endsWithParent:!0,lexemes:/[\w\.]+/,keywords:{keyword:"as abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias all allocate allow alter always analyze ancillary and anti any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound bucket buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain explode export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force foreign form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour hours http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lateral lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minutes minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notnull notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second seconds section securefile security seed segment select self semi sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tablesample tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unnest unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace window with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null unknown",built_in:"array bigint binary bit blob bool boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text time timestamp tinyint varchar varchar2 varying void"},contains:[{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}]},{className:"string",begin:"`",end:"`"},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,e.HASH_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE,n,e.HASH_COMMENT_MODE]}}function L(e){var n={keyword:"#available #colorLiteral #column #else #elseif #endif #file #fileLiteral #function #if #imageLiteral #line #selector #sourceLocation _ __COLUMN__ __FILE__ __FUNCTION__ __LINE__ Any as as! as? associatedtype associativity break case catch class continue convenience default defer deinit didSet do dynamic dynamicType else enum extension fallthrough false fileprivate final for func get guard if import in indirect infix init inout internal is lazy left let mutating nil none nonmutating open operator optional override postfix precedence prefix private protocol Protocol public repeat required rethrows return right self Self set static struct subscript super switch throw throws true try try! try? Type typealias unowned var weak where while willSet",literal:"true false nil",built_in:"abs advance alignof alignofValue anyGenerator assert assertionFailure bridgeFromObjectiveC bridgeFromObjectiveCUnconditional bridgeToObjectiveC bridgeToObjectiveCUnconditional c contains count countElements countLeadingZeros debugPrint debugPrintln distance dropFirst dropLast dump encodeBitsAsWords enumerate equal fatalError filter find getBridgedObjectiveCType getVaList indices insertionSort isBridgedToObjectiveC isBridgedVerbatimToObjectiveC isUniquelyReferenced isUniquelyReferencedNonObjC join lazy lexicographicalCompare map max maxElement min minElement numericCast overlaps partition posix precondition preconditionFailure print println quickSort readLine reduce reflect reinterpretCast reverse roundUpToAlignment sizeof sizeofValue sort split startsWith stride strideof strideofValue swap toString transcode underestimateCount unsafeAddressOf unsafeBitCast unsafeDowncast unsafeUnwrap unsafeReflect withExtendedLifetime withObjectAtPlusZero withUnsafePointer withUnsafePointerToObject withUnsafeMutablePointer withUnsafeMutablePointers withUnsafePointer withUnsafePointers withVaList zip"},a=e.COMMENT("/\\*","\\*/",{contains:["self"]}),t={className:"subst",begin:/\\\(/,end:"\\)",keywords:n,contains:[]},i={className:"string",contains:[e.BACKSLASH_ESCAPE,t],variants:[{begin:/"""/,end:/"""/},{begin:/"/,end:/"/}]},s={className:"number",begin:"\\b([\\d_]+(\\.[\\deE_]+)?|0x[a-fA-F0-9_]+(\\.[a-fA-F0-9p_]+)?|0b[01_]+|0o[0-7_]+)\\b",relevance:0};return t.contains=[s],{keywords:n,contains:[i,e.C_LINE_COMMENT_MODE,a,{className:"type",begin:"\\b[A-Z][\\wÀ-ʸ']*[!?]"},{className:"type",begin:"\\b[A-Z][\\wÀ-ʸ']*",relevance:0},s,{className:"function",beginKeywords:"func",end:"{",excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{begin://},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:n,contains:["self",s,i,e.C_BLOCK_COMMENT_MODE,{begin:":"}],illegal:/["']/}],illegal:/\[|%/},{className:"class",beginKeywords:"struct protocol class extension enum",keywords:n,end:"\\{",excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/})]},{className:"meta",begin:"(@discardableResult|@warn_unused_result|@exported|@lazy|@noescape|@NSCopying|@NSManaged|@objc|@objcMembers|@convention|@required|@noreturn|@IBAction|@IBDesignable|@IBInspectable|@IBOutlet|@infix|@prefix|@postfix|@autoclosure|@testable|@available|@nonobjc|@NSApplicationMain|@UIApplicationMain|@dynamicMemberLookup|@propertyWrapper)"},{beginKeywords:"import",end:/$/,contains:[e.C_LINE_COMMENT_MODE,a]}]}}function I(e){var n={className:"symbol",begin:"&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;"},a={begin:"\\s",contains:[{className:"meta-keyword",begin:"#?[a-z_][a-z1-9_-]+",illegal:"\\n"}]},t=e.inherit(a,{begin:"\\(",end:"\\)"}),i=e.inherit(e.APOS_STRING_MODE,{className:"meta-string"}),s=e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"}),r={endsWithParent:!0,illegal:/`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:"",relevance:10,contains:[a,s,i,t,{begin:"\\[",end:"\\]",contains:[{className:"meta",begin:"",contains:[a,t,s,i]}]}]},e.COMMENT("\x3c!--","--\x3e",{relevance:10}),{begin:"<\\!\\[CDATA\\[",end:"\\]\\]>",relevance:10},n,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{begin:/<\?(php)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]},{className:"tag",begin:")",end:">",keywords:{name:"style"},contains:[r],starts:{end:"",returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:")",end:">",keywords:{name:"script"},contains:[r],starts:{end:"<\/script>",returnEnd:!0,subLanguage:["actionscript","javascript","handlebars","xml"]}},{className:"tag",begin:"",contains:[{className:"name",begin:/[^\/><\s]+/,relevance:0},r]}]}}function B(e){var n="true false yes no null",a={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:"{{",end:"}}"},{begin:"%{",end:"}"}]}]};return{case_insensitive:!0,aliases:["yml","YAML","yaml"],contains:[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---s*$",relevance:10},{className:"string",begin:"[\\|>]([0-9]?[+-])?[ ]*\\n( *)[\\S ]+\\n(\\2[\\S ]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!"+e.UNDERSCORE_IDENT_RE},{className:"type",begin:"!!"+e.UNDERSCORE_IDENT_RE},{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:e.C_NUMBER_RE+"\\b"},a]}}var l,o,c={};l=function(t){var a,g=[],s=Object.keys,w=Object.create(null),r=Object.create(null),O=!0,l=/^(no-?highlight|plain|text)$/i,o=/\blang(?:uage)?-([\w-]+)\b/i,c=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,T="",k="Could not find the language '{}', did you forget to load/include a language module?",M={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0},d="of and for in not or if then".split(" ");function x(e){return e.replace(/&/g,"&").replace(//g,">")}function u(e){return e.nodeName.toLowerCase()}function _(e){return l.test(e)}function i(e){var n,a={},t=Array.prototype.slice.call(arguments,1);for(n in e)a[n]=e[n];return t.forEach(function(e){for(n in e)a[n]=e[n]}),a}function m(e){var i=[];return function e(n,a){for(var t=n.firstChild;t;t=t.nextSibling)3===t.nodeType?a+=t.nodeValue.length:1===t.nodeType&&(i.push({event:"start",offset:a,node:t}),a=e(t,a),u(t).match(/br|hr|img|input/)||i.push({event:"stop",offset:a,node:t}));return a}(e,0),i}function b(e,n,a){var t=0,i="",s=[];function r(){return e.length&&n.length?e[0].offset!==n[0].offset?e[0].offset"}function o(e){i+=""}function d(e){("start"===e.event?l:o)(e.node)}for(;e.length||n.length;){var c=r();if(i+=x(a.substring(t,c[0].offset)),t=c[0].offset,c===e){for(s.reverse().forEach(o);d(c.splice(0,1)[0]),(c=r())===e&&c.length&&c[0].offset===t;);s.reverse().forEach(l)}else"start"===c[0].event?s.push(c[0].node):s.pop(),d(c.splice(0,1)[0])}return i+x(a.substr(t))}function p(n){return n.variants&&!n.cached_variants&&(n.cached_variants=n.variants.map(function(e){return i(n,{variants:null},e)})),n.cached_variants||(function e(n){return!!n&&(n.endsWithParent||e(n.starts))}(n)?[i(n,{starts:n.starts?i(n.starts):null})]:Object.isFrozen(n)?[i(n)]:[n])}function f(e){if(a&&!e.langApiRestored){for(var n in e.langApiRestored=!0,a)e[n]&&(e[a[n]]=e[n]);(e.contains||[]).concat(e.variants||[]).forEach(f)}}function E(n,t){var i={};return"string"==typeof n?a("keyword",n):s(n).forEach(function(e){a(e,n[e])}),i;function a(a,e){(e=t?e.toLowerCase():e).split(" ").forEach(function(e){var n,e=e.split("|");i[e[0]]=[a,(n=e[0],(e=e[1])?Number(e):function(e){return-1!=d.indexOf(e.toLowerCase())}(n)?0:1)]})}}function A(t){function d(e){return e&&e.source||e}function g(e,n){return new RegExp(d(e),"m"+(t.case_insensitive?"i":"")+(n?"g":""))}function i(i){var s={},r=[],l={},a=1;function e(e,n){s[a]=e,r.push([e,n]),a+=new RegExp(n.toString()+"|").exec("").length-1+1}for(var n=0;n')+n+(a?"":T)}function _(){var e,n,a,t,i;if(!l.keywords)return x(c);for(a="",l.lexemesRe.lastIndex=e=0,n=l.lexemesRe.exec(c);n;)a+=x(c.substring(e,n.index)),t=l,i=n,i=r.case_insensitive?i[0].toLowerCase():i[0],(t=t.keywords.hasOwnProperty(i)&&t.keywords[i])?(d+=t[1],a+=s(t[0],x(n[0]))):a+=x(n[0]),e=l.lexemesRe.lastIndex,n=l.lexemesRe.exec(c);return a+x(c.substr(e))}function m(){o+=(null!=l.subLanguage?function(){var e="string"==typeof l.subLanguage;if(e&&!w[l.subLanguage])return x(c);var n=e?C(l.subLanguage,c,!0,N[l.subLanguage]):R(c,l.subLanguage.length?l.subLanguage:void 0);return 0")+'"');if("end"===n.type){e=f(n);if(null!=e)return e}return c+=a,a.length}var r=S(n);if(!r)throw console.error(k.replace("{}",n)),new Error('Unknown language: "'+n+'"');A(r);for(var l=u||r,N={},o="",e=l;e!==r;e=e.parent)e.className&&(o=s(e.className,"",!0)+o);var c="",d=0;try{for(var h,v,y=0;;){if(l.terminators.lastIndex=y,!(h=l.terminators.exec(t)))break;v=E(t.substring(y,h.index),h),y=h.index+v}for(E(t.substr(y)),e=l;e.parent;e=e.parent)e.className&&(o+=T);return{relevance:d,value:o,illegal:!1,language:n,top:l}}catch(e){if(e.message&&-1!==e.message.indexOf("Illegal"))return{illegal:!0,relevance:0,value:x(t)};if(O)return{relevance:0,value:x(t),language:n,top:l,errorRaised:e};throw e}}function R(a,e){e=e||M.languages||s(w);var t={relevance:0,value:x(a)},i=t;return e.filter(S).filter(y).forEach(function(e){var n=C(e,a,!1);n.language=e,n.relevance>i.relevance&&(i=n),n.relevance>t.relevance&&(i=t,t=n)}),i.language&&(t.second_best=i),t}function N(e){return M.tabReplace||M.useBR?e.replace(c,function(e,n){return M.useBR&&"\n"===e?"
":M.tabReplace?n.replace(/\t/g,M.tabReplace):""}):e}function h(e){var n,a,t,i,s=function(e){var n,a,t,i,s,r=e.className+" ";if(r+=e.parentNode?e.parentNode.className:"",a=o.exec(r))return(s=S(a[1]))||(console.warn(k.replace("{}",a[1])),console.warn("Falling back to no-highlight mode for this block.",e)),s?a[1]:"no-highlight";for(n=0,t=(r=r.split(/\s+/)).length;n/g,"\n"):a=e,i=a.textContent,n=s?C(s,i,!0):R(i),(a=m(a)).length&&((t=document.createElement("div")).innerHTML=n.value,n.value=b(a,m(t),i)),n.value=N(n.value),e.innerHTML=n.value,e.className=(a=e.className,t=s,i=n.language,t=t?r[t]:i,i=[a.trim()],a.match(/\bhljs\b/)||i.push("hljs"),-1===a.indexOf(t)&&i.push(t),i.join(" ").trim()),e.result={language:n.language,re:n.relevance},n.second_best&&(e.second_best={language:n.second_best.language,re:n.second_best.relevance}))}function n(){var e;n.called||(n.called=!0,e=document.querySelectorAll("pre code"),g.forEach.call(e,h))}var v={disableAutodetect:!0};function S(e){return e=(e||"").toLowerCase(),w[e]||w[r[e]]}function y(e){e=S(e);return e&&!e.disableAutodetect}return t.highlight=C,t.highlightAuto=R,t.fixMarkup=N,t.highlightBlock=h,t.configure=function(e){M=i(M,e)},t.initHighlighting=n,t.initHighlightingOnLoad=function(){window.addEventListener("DOMContentLoaded",n,!1),window.addEventListener("load",n,!1)},t.registerLanguage=function(n,e){var a;try{a=e(t)}catch(e){if(console.error("Language definition for '{}' could not be registered.".replace("{}",n)),!O)throw e;console.error(e),a=v}f(w[n]=a),a.rawDefinition=e.bind(null,t),a.aliases&&a.aliases.forEach(function(e){r[e]=n})},t.listLanguages=function(){return s(w)},t.getLanguage=S,t.requireLanguage=function(e){var n=S(e);if(n)return n;throw new Error("The '{}' language is required, but not loaded.".replace("{}",e))},t.autoDetection=y,t.inherit=i,t.debugMode=function(){O=!1},t.IDENT_RE="[a-zA-Z]\\w*",t.UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",t.NUMBER_RE="\\b\\d+(\\.\\d+)?",t.C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",t.BINARY_NUMBER_RE="\\b(0b[01]+)",t.RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",t.BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},t.APOS_STRING_MODE={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},t.QUOTE_STRING_MODE={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},t.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/},t.COMMENT=function(e,n,a){e=t.inherit({className:"comment",begin:e,end:n,contains:[]},a||{});return e.contains.push(t.PHRASAL_WORDS_MODE),e.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|XXX):",relevance:0}),e},t.C_LINE_COMMENT_MODE=t.COMMENT("//","$"),t.C_BLOCK_COMMENT_MODE=t.COMMENT("/\\*","\\*/"),t.HASH_COMMENT_MODE=t.COMMENT("#","$"),t.NUMBER_MODE={className:"number",begin:t.NUMBER_RE,relevance:0},t.C_NUMBER_MODE={className:"number",begin:t.C_NUMBER_RE,relevance:0},t.BINARY_NUMBER_MODE={className:"number",begin:t.BINARY_NUMBER_RE,relevance:0},t.CSS_NUMBER_MODE={className:"number",begin:t.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},t.REGEXP_MODE={className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[t.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[t.BACKSLASH_ESCAPE]}]},t.TITLE_MODE={className:"title",begin:t.IDENT_RE,relevance:0},t.UNDERSCORE_TITLE_MODE={className:"title",begin:t.UNDERSCORE_IDENT_RE,relevance:0},t.METHOD_GUARD={begin:"\\.\\s*"+t.UNDERSCORE_IDENT_RE,relevance:0},[t.BACKSLASH_ESCAPE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.PHRASAL_WORDS_MODE,t.COMMENT,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.HASH_COMMENT_MODE,t.NUMBER_MODE,t.C_NUMBER_MODE,t.BINARY_NUMBER_MODE,t.CSS_NUMBER_MODE,t.REGEXP_MODE,t.TITLE_MODE,t.UNDERSCORE_TITLE_MODE,t.METHOD_GUARD].forEach(function(e){!function n(a){Object.freeze(a);var t="function"==typeof a;Object.getOwnPropertyNames(a).forEach(function(e){!a.hasOwnProperty(e)||null===a[e]||"object"!=typeof a[e]&&"function"!=typeof a[e]||t&&("caller"===e||"callee"===e||"arguments"===e)||Object.isFrozen(a[e])||n(a[e])});return a}(e)}),t},o="object"==typeof window&&window||"object"==typeof self&&self,void 0===c||c.nodeType?o&&(o.hljs=l({}),"function"==typeof define&&define.amd&&define([],function(){return o.hljs})):l(c);!function(){"use strict";c.registerLanguage("asciidoc",e),c.registerLanguage("bash",n),c.registerLanguage("clojure",a),c.registerLanguage("cpp",t),c.registerLanguage("cs",i),c.registerLanguage("css",s),c.registerLanguage("diff",r),c.registerLanguage("dockerfile",d),c.registerLanguage("elixir",g),c.registerLanguage("go",u),c.registerLanguage("groovy",_),c.registerLanguage("haskell",m),c.registerLanguage("java",b),c.registerLanguage("javascript",p),c.registerLanguage("json",f),c.registerLanguage("kotlin",E),c.registerLanguage("lua",N),c.registerLanguage("markdown",h),c.registerLanguage("nix",v),c.registerLanguage("none",y),c.registerLanguage("objectivec",w),c.registerLanguage("perl",O),c.registerLanguage("php",M),c.registerLanguage("properties",x),c.registerLanguage("puppet",C),c.registerLanguage("python",S),c.registerLanguage("ruby",T),c.registerLanguage("rust",k),c.registerLanguage("scala",A),c.registerLanguage("shell",R),c.registerLanguage("sql",D),c.registerLanguage("swift",L),c.registerLanguage("xml",I),c.registerLanguage("yaml",B),[].slice.call(document.querySelectorAll("pre code.hljs[data-lang]")).forEach(function(e){c.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/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-soap/1.x/handlers.html b/play-soap/1.x/handlers.html new file mode 100644 index 0000000..f6056f1 --- /dev/null +++ b/play-soap/1.x/handlers.html @@ -0,0 +1,388 @@ + + + + + + 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..e8c2d01 --- /dev/null +++ b/play-soap/1.x/index.html @@ -0,0 +1,250 @@ + + + + + + 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..da77abb --- /dev/null +++ b/play-soap/1.x/play-soap-client.html @@ -0,0 +1,418 @@ + + + + + + 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..0b72719 --- /dev/null +++ b/play-soap/1.x/sbt-wsdl.html @@ -0,0 +1,369 @@ + + + + + + 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..5d2bec1 --- /dev/null +++ b/play-soap/1.x/security.html @@ -0,0 +1,327 @@ + + + + + + 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..8c50a8d --- /dev/null +++ b/play-soap/2.x/client/handlers.html @@ -0,0 +1,413 @@ + + + + + + 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..14471b4 --- /dev/null +++ b/play-soap/2.x/client/play-soap-client.html @@ -0,0 +1,443 @@ + + + + + + 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..07c2855 --- /dev/null +++ b/play-soap/2.x/client/security.html @@ -0,0 +1,352 @@ + + + + + + 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..da4695d --- /dev/null +++ b/play-soap/2.x/highlights.html @@ -0,0 +1,266 @@ + + + + + + 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..d717223 --- /dev/null +++ b/play-soap/2.x/index.html @@ -0,0 +1,294 @@ + + + + + + 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..ec580f8 --- /dev/null +++ b/play-soap/2.x/plugin/cli.html @@ -0,0 +1,261 @@ + + + + + + С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..accc5f8 --- /dev/null +++ b/play-soap/2.x/plugin/gradle.html @@ -0,0 +1,277 @@ + + + + + + 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..316d36c --- /dev/null +++ b/play-soap/2.x/plugin/how-to-use.html @@ -0,0 +1,303 @@ + + + + + + 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..73ee51a --- /dev/null +++ b/play-soap/2.x/plugin/maven.html @@ -0,0 +1,302 @@ + + + + + + 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..380b3dd --- /dev/null +++ b/play-soap/2.x/plugin/sbt.html @@ -0,0 +1,282 @@ + + + + + + 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..7ab205a --- /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,12.574,1,12.041]],["name/1-1",[]],["text/1-1",[]],["component/1-1",[]],["title/1-2",[0,10.756,1,10.299,2,17.165]],["name/1-2",[]],["text/1-2",[]],["component/1-2",[]],["title/1-3",[0,10.756,1,10.299,3,6.949]],["name/1-3",[]],["text/1-3",[]],["component/1-3",[]],["title/1-4",[0,12.574,4,13.724]],["name/1-4",[]],["text/1-4",[]],["component/1-4",[]],["title/1-5",[0,10.756,2,17.165,4,11.739]],["name/1-5",[]],["text/1-5",[]],["component/1-5",[]],["title/1-6",[0,10.756,3,6.949,4,11.739]],["name/1-6",[]],["text/1-6",[]],["component/1-6",[]],["title/1",[0,9.397,3,6.071,5,14.996,6,14.996]],["name/1",[0,0.604]],["text/1",[0,1.683,2,2.502,3,0.913,5,0.465,6,0.465,7,0.684,8,0.837,9,0.987,10,0.589,11,0.837,12,0.837,13,1.497,14,0.837,15,0.837,16,3.431,17,2.843,18,3.585,19,1.224,20,0.31,21,0.684,22,0.589,23,0.837,24,0.589,25,0.837,26,1.661,27,1.667,28,3.431,29,0.684,30,0.837,31,1.34,32,2.728,33,1.261,34,0.837,35,0.632,36,0.589,37,0.837,38,1.128,39,2.13,40,2.325,41,1.497,42,1.45,43,1.497,44,1.497,45,0.929,46,1.341,47,1.341,48,1.741,49,1.497,50,1.341,51,1.661,52,2.582,53,0.684,54,0.837,55,1.224,56,0.684,57,0.837,58,2.001,59,0.715,60,2.473,61,1.224,62,3.39,63,0.465,64,1.224,65,1.905,66,1.054,67,3,68,0.684,69,2.325,70,2.582,71,2.022,72,0.837,73,1.497,74,0.837,75,0.837,76,2.473,77,1.497,78,2.473,79,1.497,80,0.837,81,2.582,82,0.837,83,0.837,84,0.837,85,0.837,86,0.837,87,0.632,88,0.837,89,1.631,90,0.684,91,0.589,92,0.684,93,1.497,94,2.884,95,1.497,96,1.054,97,2.215,98,1.497,99,1.497,100,1.497,101,1.497,102,1.341,103,1.341,104,1.131,105,1.497,106,2.473,107,1.497,108,1.497,109,1.054,110,0.789,111,1.054,112,1.054,113,0.987,114,1.535,115,1.224,116,1.497,117,1.497,118,1.224,119,0.929,120,1.224,121,0.987,122,1.224,123,0.715,124,1.224,125,1.497,126,1.497,127,1.131,128,1.224,129,0.987,130,1.131,131,0.837,132,1.661,133,0.569,134,0.837,135,0.684,136,0.684,137,1.741,138,0.684,139,1.224,140,1.875,141,1.224,142,0.837,143,1.497,144,1.497,145,0.684,146,0.684,147,0.684,148,0.837,149,0.837,150,0.837]],["component/1",[20,0.216,151,0.239]],["title/2-1",[5,17.165,6,17.165,152,20.389]],["name/2-1",[]],["text/2-1",[]],["component/2-1",[]],["title/2-2",[3,6.949,20,4.718,151,5.229]],["name/2-2",[]],["text/2-2",[]],["component/2-2",[]],["title/2",[20,5.516,151,6.113]],["name/2",[153,1.736]],["text/2",[2,1.772,3,0.717,5,1.772,6,1.772,7,3.197,9,2.904,10,2.247,20,0.87,27,1.207,36,2.247,59,1.524,65,1.772,81,1.449,94,2.105,96,1.449,114,1.278,118,1.684,119,1.278,123,1.866,129,1.358,133,1.212,151,0.919,152,2.578,154,4.123,155,3.192,156,1.358,157,2.059,158,2.751,159,2.059,160,4.711,161,2.059,162,2.059,163,1.684,164,3.192,165,2.059,166,2.059,167,2.059,168,2.059,169,2.412,170,2.059,171,2.059,172,2.059,173,1.358,174,2.059,175,2.059,176,1.844,177,1.844,178,2.384,179,3.192,180,1.684,181,2.059,182,2.059,183,2.059,184,3.192,185,2.059,186,2.384,187,2.059,188,1.684,189,2.859,190,2.059,191,2.412,192,2.059,193,2.059,194,2.059,195,2.059,196,2.059,197,1.844,198,1.772,199,1.981,200,2.384,201,0.983,202,1.085,203,2.384,204,2.384,205,2.059,206,2.059,207,1.844]],["component/2",[20,0.216,151,0.239]],["title/3-1",[133,13.724,208,29.557]],["name/3-1",[]],["text/3-1",[]],["component/3-1",[]],["title/3-2",[3,8.125,133,13.724]],["name/3-2",[]],["text/3-2",[]],["component/3-2",[]],["title/3-3",[3,6.949,4,11.739,209,20.389]],["name/3-3",[]],["text/3-3",[]],["component/3-3",[]],["title/3-4",[133,13.724,210,16.453]],["name/3-4",[]],["text/3-4",[]],["component/3-4",[]],["title/3-5",[211,36.141,212,25.439]],["name/3-5",[]],["text/3-5",[]],["component/3-5",[]],["title/3-6",[32,21.76,213,25.282,214,25.282]],["name/3-6",[]],["text/3-6",[]],["component/3-6",[]],["title/3",[3,6.071,20,4.122,133,10.256,151,4.568]],["name/3",[20,0.112,133,0.279,151,0.124]],["text/3",[1,1.124,3,0.859,4,1.372,9,1.31,10,0.573,18,1.705,19,1.194,20,0.223,21,0.666,22,0.573,24,1.398,29,0.666,31,0.963,32,2.376,35,0.615,36,0.573,38,2.006,39,0.906,42,0.856,45,0.505,52,1.964,58,1.705,59,1.611,62,3.113,63,2.006,65,1.345,66,0.573,70,1.028,81,0.573,89,1.597,91,0.573,94,1.31,96,0.573,104,1.501,109,1.964,110,0.77,111,0.573,113,0.963,114,0.505,119,0.906,121,0.537,122,3.411,123,2.237,124,2.76,128,0.666,129,0.537,132,2.76,133,1.737,137,0.573,140,0.963,151,0.525,158,1.398,188,0.666,191,0.615,198,1.103,199,0.505,201,1.611,202,1.47,208,1.194,209,0.537,210,1.644,212,1.964,213,1.194,214,1.981,215,1.46,216,0.729,217,0.814,218,2.849,219,0.729,220,0.814,221,1.46,222,0.666,223,0.729,224,1.46,225,0.729,226,1.103,227,0.814,228,0.814,229,0.814,230,0.729,231,0.729,232,2.422,233,0.814,234,0.814,235,0.729,236,0.814,237,0.729,238,0.814,239,0.666,240,1.779,241,0.666,242,0.814,243,0.814,244,0.814,245,1.779,246,0.814,247,0.814,248,1.46,249,1.46,250,0.814,251,1.46,252,0.814,253,0.814,254,0.814,255,1.46,256,0.814,257,0.814,258,0.729,259,0.615,260,0.729,261,0.729,262,1.779,263,1.308,264,1.46,265,0.814,266,0.814,267,0.814,268,0.814,269,0.814,270,1.46,271,0.666,272,0.729,273,0.814,274,0.814,275,0.814,276,0.814,277,0.729,278,2.954,279,0.814,280,1.624,281,0.814,282,0.814,283,0.666,284,0.814,285,1.308,286,1.194,287,0.814,288,0.814,289,0.615,290,0.729,291,0.573,292,0.814,293,0.814,294,0.814,295,0.729,296,2.17,297,1.986,298,0.814,299,1.46,300,1.46,301,0.814,302,0.814,303,0.814,304,0.814,305,0.814,306,0.814,307,0.814,308,1.46,309,0.814,310,1.46,311,1.46,312,0.814,313,0.814,314,2.79,315,0.814,316,1.986,317,1.46,318,1.308,319,1.46,320,1.46,321,2.17,322,0.814,323,2.422,324,0.814,325,0.814,326,1.46,327,1.46,328,0.814,329,0.666,330,0.814,331,0.814,332,0.814,333,0.814,334,0.814,335,0.814,336,0.814,337,1.46,338,0.729,339,0.814,340,0.814,341,0.666,342,0.814,343,0.814,344,0.814,345,0.814]],["component/3",[20,0.216,151,0.239]],["title/4-1",[207,38.96]],["name/4-1",[]],["text/4-1",[]],["component/4-1",[]],["title/4-2",[121,23.836,201,17.253]],["name/4-2",[]],["text/4-2",[]],["component/4-2",[]],["title/4-3",[201,14.758,210,14.073,346,30.913]],["name/4-3",[]],["text/4-3",[]],["component/4-3",[]],["title/4-4",[291,21.76,347,30.913,348,25.282]],["name/4-4",[]],["text/4-4",[]],["component/4-4",[]],["title/4-5",[210,14.073,218,20.389,222,25.282]],["name/4-5",[]],["text/4-5",[]],["component/4-5",[]],["title/4-6",[123,14.758,210,14.073,218,20.389]],["name/4-6",[]],["text/4-6",[]],["component/4-6",[]],["title/4-7",[210,16.453,349,41.862]],["name/4-7",[]],["text/4-7",[]],["component/4-7",[]],["title/4-8",[121,17.812,173,17.812,350,19.01,351,19.01]],["name/4-8",[]],["text/4-8",[]],["component/4-8",[]],["title/4-9",[3,4.847,201,10.292,210,9.814,352,33.074,353,16.291]],["name/4-9",[]],["text/4-9",[]],["component/4-9",[]],["title/4",[3,6.949,198,17.165,201,14.758]],["name/4",[198,0.573,201,0.493]],["text/4",[1,0.783,3,1.177,4,0.669,9,0.664,20,0.269,22,0.708,31,1.551,35,1.332,38,0.979,39,0.625,59,0.841,62,3.197,63,2.455,65,0.559,94,0.664,96,0.708,97,0.901,103,0.901,112,1.655,113,1.551,121,0.664,123,0.48,129,0.664,130,0.76,133,1.072,151,0.543,152,1.551,163,0.823,169,0.76,173,0.664,189,0.901,191,0.76,197,0.901,198,2.455,199,1.46,201,2.536,202,2.13,206,1.006,207,1.579,210,1.839,218,0.664,222,2.626,223,0.901,226,0.76,230,0.901,240,1.579,241,1.923,259,0.76,260,0.901,261,0.901,262,0.901,271,0.823,277,0.901,286,0.823,289,1.777,291,1.655,295,1.579,296,0.901,329,1.923,338,0.901,346,3.21,347,1.006,348,1.923,351,0.708,352,2.352,353,1.777,354,3.801,355,1.24,356,0.901,357,1.006,358,1.165,359,1.165,360,1.165,361,1.006,362,0.76,363,1.165,364,1.165,365,1.762,366,1.165,367,1.165,368,1.006,369,0.883,370,2.041,371,1.923,372,3.719,373,1.165,374,1.165,375,1.165,376,1.165,377,2.041,378,1.165,379,1.165,380,1.165,381,1.165,382,1.165,383,1.165,384,2.041,385,2.041,386,1.165,387,1.762,388,1.006,389,1.006,390,1.165,391,1.165,392,3.271,393,1.165,394,2.041,395,1.165,396,1.165,397,2.724,398,1.165,399,1.762,400,4.092,401,1.165,402,1.165,403,1.165,404,1.165,405,3.271,406,1.165,407,1.165,408,1.165,409,1.165,410,1.165,411,1.006,412,1.165,413,2.041,414,1.165,415,1.165,416,2.041,417,1.165,418,1.762,419,1.24,420,1.006,421,1.165,422,1.165,423,1.165,424,1.165,425,1.165,426,1.006,427,2.876,428,1.165,429,1.165,430,1.006,431,1.165,432,1.165,433,1.006,434,2.041,435,2.724,436,1.165,437,1.165,438,1.165,439,2.041,440,2.041,441,1.165,442,1.165,443,1.165,444,1.165,445,1.165,446,1.165,447,1.165,448,1.165,449,1.165,450,1.165,451,1.165,452,1.006,453,1.165,454,1.165,455,1.165,456,1.165,457,1.165]],["component/4",[20,0.216,151,0.239]],["title/5-1",[27,15.834,369,13.537,458,16.765,459,16.765]],["name/5-1",[]],["text/5-1",[]],["component/5-1",[]],["title/5-2",[1,8.998,369,13.537,458,16.765,459,16.765]],["name/5-2",[]],["text/5-2",[]],["component/5-2",[]],["title/5-3",[4,10.256,369,13.537,458,16.765,459,16.765]],["name/5-3",[]],["text/5-3",[]],["component/5-3",[]],["title/5",[33,27]],["name/5",[33,1.077]],["text/5",[0,0.777,1,0.442,2,1.887,3,0.764,4,1.099,5,0.736,6,0.736,18,2.392,20,0.202,24,3.872,27,2.224,31,0.874,33,0.823,38,0.736,39,0.823,40,1.084,42,2.224,48,0.933,51,1.084,52,3.579,53,1.084,55,1.827,56,1.084,58,2.67,59,1.066,61,1.827,62,3.587,63,0.736,64,1.827,65,1.607,66,2.67,67,2.779,68,1.084,69,3.364,70,2.392,71,1.827,87,1.001,89,2.241,90,1.084,91,0.933,92,1.084,109,0.933,110,1.177,111,0.933,112,0.933,114,0.823,115,1.084,119,0.823,120,1.084,123,0.633,127,1.001,130,1.001,135,1.084,136,1.084,137,2.392,138,1.084,139,1.827,140,0.874,141,1.084,145,1.084,146,1.084,147,1.084,151,0.224,154,1.084,156,0.874,180,1.084,202,0.699,209,0.874,212,0.933,226,1.001,259,1.001,278,2.368,283,1.084,341,1.084,348,1.084,355,2.038,371,1.084,427,1.187,458,2.553,459,2.355,460,1.325,461,1.325,462,1.325,463,1.325,464,1.325,465,2.234,466,2.001,467,2.234,468,1.325,469,2.234,470,1.325,471,1.325,472,1.325,473,1.325,474,1.325,475,1.325,476,1.325,477,1.325,478,1.325,479,1.325,480,2.234,481,2.234,482,1.325,483,1.325,484,1.325,485,1.325,486,2.234,487,1.325,488,1.325,489,1.325,490,1.325,491,1.325]],["component/5",[20,0.216,151,0.239]],["title/6-1",[419,25.439,492,36.141]],["name/6-1",[]],["text/6-1",[]],["component/6-1",[]],["title/6-2",[1,12.041,493,36.141]],["name/6-2",[]],["text/6-2",[]],["component/6-2",[]],["title/6",[20,3.659,87,18.119,151,4.056,494,27.773,495,23.978]],["name/6",[496,2.01]],["text/6",[1,1.574,20,0.54,39,2.197,46,3.171,47,3.171,110,1.866,151,0.599,152,3.116,169,2.675,209,2.335,239,2.895,258,3.171,321,3.171,361,3.54,362,2.675,388,3.54,419,4.28,492,5.673,493,3.54,495,3.54,497,4.1,498,4.1,499,5.472,500,4.1,501,4.1,502,4.1,503,4.1,504,4.1,505,4.1,506,5.472,507,4.1,508,4.1]],["component/6",[20,0.216,151,0.239]],["title/7-1",[5,17.165,6,17.165,152,20.389]],["name/7-1",[]],["text/7-1",[]],["component/7-1",[]],["title/7-2",[133,13.724,509,32.372]],["name/7-2",[]],["text/7-2",[]],["component/7-2",[]],["title/7-3",[509,32.372,510,36.141]],["name/7-3",[]],["text/7-3",[]],["component/7-3",[]],["title/7-4",[42,18.124,65,17.165,511,30.913]],["name/7-4",[]],["text/7-4",[]],["component/7-4",[]],["title/7",[20,5.516,151,6.113]],["name/7",[153,1.736]],["text/7",[1,0.652,2,2.584,3,0.778,4,0.431,5,2.252,6,2.252,7,2.11,9,1.702,10,2.436,20,0.619,22,0.799,27,1.147,36,1.378,42,2.219,48,1.378,50,1.753,59,1.232,63,0.63,65,2.668,81,0.799,94,3.069,104,1.479,110,0.598,112,0.799,114,1.905,118,0.928,119,0.705,123,0.934,129,1.291,151,0.519,152,2.283,154,3.316,155,1.135,156,0.749,157,1.135,158,1.816,159,1.957,160,4.303,161,1.135,162,1.135,163,0.928,164,1.957,165,1.135,166,1.135,167,1.135,168,1.135,169,1.95,170,1.957,171,1.135,172,1.957,173,1.291,174,1.957,175,1.135,176,1.017,177,1.017,179,1.957,180,0.928,181,1.135,182,1.135,183,1.135,184,1.957,185,1.135,187,1.135,188,1.601,189,2.748,190,1.135,191,0.858,192,1.135,193,1.135,194,2.58,195,1.135,196,1.957,197,1.017,202,1.617,210,1.397,216,1.753,218,0.749,225,1.753,231,1.017,235,1.017,237,1.017,239,0.928,245,1.753,272,1.017,280,0.928,286,0.928,290,1.017,291,2.436,329,0.928,350,0.799,362,0.858,365,1.135,368,1.135,369,0.569,371,0.928,399,1.957,411,1.135,418,1.957,419,2.436,426,1.135,433,1.135,466,1.753,509,1.753,510,1.135,511,3.785,512,1.315,513,1.315,514,2.267,515,1.315,516,1.315,517,2.267,518,1.315,519,2.267,520,1.315,521,1.315,522,1.315,523,1.315,524,1.315,525,1.315,526,1.315,527,1.135,528,1.315,529,3.554,530,1.315,531,3.068,532,1.315,533,1.315,534,1.315,535,1.315,536,1.315,537,1.315,538,2.267,539,2.267,540,1.315,541,1.315,542,2.267,543,1.315,544,1.315,545,1.315,546,1.315,547,1.315,548,1.315,549,1.315,550,1.315,551,2.267,552,1.315,553,1.315,554,1.315,555,1.315,556,1.315,557,1.315,558,1.315]],["component/7",[20,0.216,151,0.239]],["title/8-1",[0,12.574,1,12.041]],["name/8-1",[]],["text/8-1",[]],["component/8-1",[]],["title/8-2",[0,10.756,1,10.299,2,17.165]],["name/8-2",[]],["text/8-2",[]],["component/8-2",[]],["title/8-3",[0,10.756,1,10.299,3,6.949]],["name/8-3",[]],["text/8-3",[]],["component/8-3",[]],["title/8-4",[0,12.574,4,13.724]],["name/8-4",[]],["text/8-4",[]],["component/8-4",[]],["title/8-5",[0,10.756,2,17.165,4,11.739]],["name/8-5",[]],["text/8-5",[]],["component/8-5",[]],["title/8-6",[0,10.756,3,6.949,4,11.739]],["name/8-6",[]],["text/8-6",[]],["component/8-6",[]],["title/8",[0,9.397,3,6.071,5,14.996,6,14.996]],["name/8",[0,0.604]],["text/8",[0,1.683,2,2.502,3,0.913,5,0.465,6,0.465,7,0.684,8,0.837,9,0.987,10,0.589,11,0.837,12,0.837,13,1.497,14,0.837,15,0.837,16,3.431,17,2.843,18,3.585,19,1.224,20,0.31,21,0.684,22,0.589,23,0.837,24,0.589,25,0.837,26,1.661,27,1.667,28,3.431,29,0.684,30,0.837,31,1.34,32,2.728,33,1.261,34,0.837,35,0.632,36,0.589,37,0.837,38,1.128,39,2.13,40,2.325,41,1.497,42,1.45,43,1.497,44,1.497,45,0.929,46,1.341,47,1.341,48,1.741,49,1.497,50,1.341,51,1.661,52,2.582,53,0.684,54,0.837,55,1.224,56,0.684,57,0.837,58,2.001,59,0.715,60,2.473,61,1.224,62,3.39,63,0.465,64,1.224,65,1.905,66,1.054,67,3,68,0.684,69,2.325,70,2.582,71,2.022,72,0.837,73,1.497,74,0.837,75,0.837,76,2.473,77,1.497,78,2.473,79,1.497,80,0.837,81,2.582,82,0.837,83,0.837,84,0.837,85,0.837,86,0.837,87,0.632,88,0.837,89,1.631,90,0.684,91,0.589,92,0.684,93,1.497,94,2.884,95,1.497,96,1.054,97,2.215,98,1.497,99,1.497,100,1.497,101,1.497,102,1.341,103,1.341,104,1.131,105,1.497,106,2.473,107,1.497,108,1.497,109,1.054,110,0.789,111,1.054,112,1.054,113,0.987,114,1.535,115,1.224,116,1.497,117,1.497,118,1.224,119,0.929,120,1.224,121,0.987,122,1.224,123,0.715,124,1.224,125,1.497,126,1.497,127,1.131,128,1.224,129,0.987,130,1.131,131,0.837,132,1.661,133,0.569,134,0.837,135,0.684,136,0.684,137,1.741,138,0.684,139,1.224,140,1.875,141,1.224,142,0.837,143,1.497,144,1.497,145,0.684,146,0.684,147,0.684,148,0.837,149,0.837,150,0.837]],["component/8",[20,0.216,151,0.239]],["title/9-1",[133,13.724,208,29.557]],["name/9-1",[]],["text/9-1",[]],["component/9-1",[]],["title/9-2",[3,8.125,133,13.724]],["name/9-2",[]],["text/9-2",[]],["component/9-2",[]],["title/9-3",[3,6.949,4,11.739,209,20.389]],["name/9-3",[]],["text/9-3",[]],["component/9-3",[]],["title/9-4",[133,13.724,210,16.453]],["name/9-4",[]],["text/9-4",[]],["component/9-4",[]],["title/9-5",[211,36.141,212,25.439]],["name/9-5",[]],["text/9-5",[]],["component/9-5",[]],["title/9-6",[32,21.76,213,25.282,214,25.282]],["name/9-6",[]],["text/9-6",[]],["component/9-6",[]],["title/9",[3,6.071,20,4.122,133,10.256,151,4.568]],["name/9",[20,0.112,133,0.279,151,0.124]],["text/9",[1,1.124,3,0.859,4,1.372,9,1.31,10,0.573,18,1.705,19,1.194,20,0.223,21,0.666,22,0.573,24,1.398,29,0.666,31,0.963,32,2.376,35,0.615,36,0.573,38,2.006,39,0.906,42,0.856,45,0.505,52,1.964,58,1.705,59,1.611,62,3.113,63,2.006,65,1.345,66,0.573,70,1.028,81,0.573,89,1.597,91,0.573,94,1.31,96,0.573,104,1.501,109,1.964,110,0.77,111,0.573,113,0.963,114,0.505,119,0.906,121,0.537,122,3.411,123,2.237,124,2.76,128,0.666,129,0.537,132,2.76,133,1.737,137,0.573,140,0.963,151,0.525,158,1.398,188,0.666,191,0.615,198,1.103,199,0.505,201,1.611,202,1.47,208,1.194,209,0.537,210,1.644,212,1.964,213,1.194,214,1.981,215,1.46,216,0.729,217,0.814,218,2.849,219,0.729,220,0.814,221,1.46,222,0.666,223,0.729,224,1.46,225,0.729,226,1.103,227,0.814,228,0.814,229,0.814,230,0.729,231,0.729,232,2.422,233,0.814,234,0.814,235,0.729,236,0.814,237,0.729,238,0.814,239,0.666,240,1.779,241,0.666,242,0.814,243,0.814,244,0.814,245,1.779,246,0.814,247,0.814,248,1.46,249,1.46,250,0.814,251,1.46,252,0.814,253,0.814,254,0.814,255,1.46,256,0.814,257,0.814,258,0.729,259,0.615,260,0.729,261,0.729,262,1.779,263,1.308,264,1.46,265,0.814,266,0.814,267,0.814,268,0.814,269,0.814,270,1.46,271,0.666,272,0.729,273,0.814,274,0.814,275,0.814,276,0.814,277,0.729,278,2.954,279,0.814,280,1.624,281,0.814,282,0.814,283,0.666,284,0.814,285,1.308,286,1.194,287,0.814,288,0.814,289,0.615,290,0.729,291,0.573,292,0.814,293,0.814,294,0.814,295,0.729,296,2.17,297,1.986,298,0.814,299,1.46,300,1.46,301,0.814,302,0.814,303,0.814,304,0.814,305,0.814,306,0.814,307,0.814,308,1.46,309,0.814,310,1.46,311,1.46,312,0.814,313,0.814,314,2.79,315,0.814,316,1.986,317,1.46,318,1.308,319,1.46,320,1.46,321,2.17,322,0.814,323,2.422,324,0.814,325,0.814,326,1.46,327,1.46,328,0.814,329,0.666,330,0.814,331,0.814,332,0.814,333,0.814,334,0.814,335,0.814,336,0.814,337,1.46,338,0.729,339,0.814,340,0.814,341,0.666,342,0.814,343,0.814,344,0.814,345,0.814]],["component/9",[20,0.216,151,0.239]],["title/10-1",[27,15.834,369,13.537,458,16.765,459,16.765]],["name/10-1",[]],["text/10-1",[]],["component/10-1",[]],["title/10-2",[1,8.998,369,13.537,458,16.765,459,16.765]],["name/10-2",[]],["text/10-2",[]],["component/10-2",[]],["title/10-3",[4,10.256,369,13.537,458,16.765,459,16.765]],["name/10-3",[]],["text/10-3",[]],["component/10-3",[]],["title/10",[33,27]],["name/10",[33,1.077]],["text/10",[0,0.777,1,0.442,2,1.887,3,0.764,4,1.099,5,0.736,6,0.736,18,2.392,20,0.202,24,3.872,27,2.224,31,0.874,33,0.823,38,0.736,39,0.823,40,1.084,42,2.224,48,0.933,51,1.084,52,3.579,53,1.084,55,1.827,56,1.084,58,2.67,59,1.066,61,1.827,62,3.587,63,0.736,64,1.827,65,1.607,66,2.67,67,2.779,68,1.084,69,3.364,70,2.392,71,1.827,87,1.001,89,2.241,90,1.084,91,0.933,92,1.084,109,0.933,110,1.177,111,0.933,112,0.933,114,0.823,115,1.084,119,0.823,120,1.084,123,0.633,127,1.001,130,1.001,135,1.084,136,1.084,137,2.392,138,1.084,139,1.827,140,0.874,141,1.084,145,1.084,146,1.084,147,1.084,151,0.224,154,1.084,156,0.874,180,1.084,202,0.699,209,0.874,212,0.933,226,1.001,259,1.001,278,2.368,283,1.084,341,1.084,348,1.084,355,2.038,371,1.084,427,1.187,458,2.553,459,2.355,460,1.325,461,1.325,462,1.325,463,1.325,464,1.325,465,2.234,466,2.001,467,2.234,468,1.325,469,2.234,470,1.325,471,1.325,472,1.325,473,1.325,474,1.325,475,1.325,476,1.325,477,1.325,478,1.325,479,1.325,480,2.234,481,2.234,482,1.325,483,1.325,484,1.325,485,1.325,486,2.234,487,1.325,488,1.325,489,1.325,490,1.325,491,1.325]],["component/10",[20,0.216,151,0.239]],["title/11",[158,21.76,356,27.69,559,35.807]],["name/11",[560,2.01]],["text/11",[1,1.474,3,0.995,20,0.675,62,3.027,151,0.922,289,3.343,351,3.837,561,5.124,562,5.124,563,5.124,564,3.618,565,4.119,566,3.343,567,3.343,568,4.424]],["component/11",[20,0.216,151,0.239]],["title/12",[569,35.572]],["name/12",[569,1.42]],["text/12",[1,1.409,3,0.677,20,0.645,26,2.462,38,1.672,45,2.624,59,1.437,62,3.569,110,1.587,113,1.985,123,1.437,151,0.896,156,1.985,173,1.985,199,3.465,201,1.437,202,1.587,210,1.37,218,1.985,318,2.696,350,2.119,351,3.73,353,2.275,355,2.119,362,3.195,369,1.509,564,2.462,565,3.195,566,2.275,567,2.275,569,2.462,570,3.487,571,3.487,572,3.487,573,3.487,574,3.01,575,3.01,576,3.487,577,3.487]],["component/12",[20,0.216,151,0.239]],["title/13",[3,9.778]],["name/13",[3,0.39]],["text/13",[1,1.471,4,1.677,20,0.794,27,1.474,42,2.177,45,1.561,48,1.77,59,1.2,63,1.396,89,2.449,102,2.252,127,1.9,133,1.41,151,0.953,152,1.658,158,2.614,160,2.252,163,2.056,169,2.806,176,3.326,177,3.326,198,1.396,199,3.027,201,1.773,202,1.957,205,2.514,219,2.252,241,2.056,271,2.056,280,2.056,285,2.252,289,3.337,291,1.77,350,1.77,351,1.77,354,3.955,356,2.252,369,1.26,387,2.514,389,2.514,420,2.514,430,2.514,527,2.514,531,2.514,564,2.056,565,2.806,566,1.9,567,1.9,569,2.056,578,4.301,579,2.913,580,2.913,581,4.301,582,2.913,583,2.913,584,2.913,585,2.913,586,2.913,587,2.056,588,2.913,589,2.913,590,2.913]],["component/13",[20,0.216,151,0.239]],["title/14",[587,35.572]],["name/14",[587,1.42]],["text/14",[1,1.517,3,0.754,20,0.695,26,2.742,38,1.861,45,2.081,59,1.6,110,1.767,113,2.211,123,1.6,151,0.939,156,2.211,173,2.211,199,3.715,201,1.6,202,2.726,210,1.526,350,2.36,351,2.36,353,2.533,355,2.36,369,1.68,419,3.205,565,3.441,566,2.533,567,2.533,574,3.352,587,2.742,591,5.275,592,3.883,593,3.883,594,3.883,595,3.883,596,5.275,597,3.883]],["component/14",[20,0.216,151,0.239]],["title/15",[198,24.152]],["name/15",[198,0.964]],["text/15",[1,0.945,3,0.638,4,1.077,20,0.619,38,1.575,45,1.761,59,1.354,62,3.533,63,1.575,110,1.495,123,1.354,140,1.871,151,0.873,156,1.871,173,1.871,198,2.251,199,3.388,201,1.354,202,1.495,210,1.291,263,2.541,350,1.997,353,2.144,354,2.541,355,2.853,357,2.837,362,2.144,369,1.422,419,3.329,452,4.054,564,2.32,565,3.063,566,2.144,567,2.144,568,2.837,575,2.837,598,3.286,599,3.286,600,3.286,601,3.286,602,3.286,603,4.695,604,3.286,605,4.695,606,3.286,607,3.286,608,3.286]],["component/15",[20,0.216,151,0.239]]],"invertedIndex":[["",{"_index":62,"title":{},"name":{},"text":{"1":{},"3":{},"4":{},"5":{},"8":{},"9":{},"10":{},"11":{},"12":{},"15":{}},"component":{}}],["0.12",{"_index":572,"title":{},"name":{},"text":{"12":{}},"component":{}}],["0.13.18",{"_index":363,"title":{},"name":{},"text":{"4":{}},"component":{}}],["1",{"_index":314,"title":{},"name":{},"text":{"3":{},"9":{}},"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.x",{"_index":495,"title":{"6":{}},"name":{},"text":{"6":{}},"component":{}}],["200",{"_index":331,"title":{},"name":{},"text":{"3":{},"9":{}},"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":{}}],["_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":{}},"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":{}},"component":{}}],["activ",{"_index":366,"title":{},"name":{},"text":{"4":{}},"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":{}},"component":{}}],["add",{"_index":355,"title":{},"name":{},"text":{"4":{},"5":{},"10":{},"12":{},"14":{},"15":{}},"component":{}}],["addit",{"_index":350,"title":{"4-8":{}},"name":{},"text":{"7":{},"12":{},"13":{},"14":{},"15":{}},"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.typesafe.sbt",{"_index":358,"title":{},"name":{},"text":{"4":{}},"component":{}}],["addsbtplugin(\"io.paymenthighway.sbt",{"_index":600,"title":{},"name":{},"text":{"15":{}},"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":{}}],["alias",{"_index":476,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["allow",{"_index":10,"title":{},"name":{},"text":{"1":{},"2":{},"3":{},"7":{},"8":{},"9":{}},"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":{}}],["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":{}},"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":{}},"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":{}},"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":{}}],["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":{}},"component":{}}],["build.gradl",{"_index":570,"title":{},"name":{},"text":{"12":{}},"component":{}}],["build.sbt",{"_index":602,"title":{},"name":{},"text":{"15":{}},"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":{}},"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":{}}],["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":{}},"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":{},"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":{}},"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":{}},"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.mycompany.exampl",{"_index":408,"title":{},"name":{},"text":{"4":{}},"component":{}}],["com.typesafe.play",{"_index":574,"title":{},"name":{},"text":{"12":{},"14":{}},"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":{}}],["completionstag",{"_index":272,"title":{},"name":{},"text":{"3":{},"7":{},"9":{}},"component":{}}],["compon",{"_index":246,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["compos",{"_index":179,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["concern",{"_index":13,"title":{},"name":{},"text":{"1":{},"8":{}},"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":{}},"component":{}}],["conflict",{"_index":229,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["consid",{"_index":219,"title":{},"name":{},"text":{"3":{},"9":{},"13":{}},"component":{}}],["construct",{"_index":181,"title":{},"name":{},"text":{"2":{},"7":{}},"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":{}},"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":{}}],["cours",{"_index":463,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["creat",{"_index":466,"title":{},"name":{},"text":{"5":{},"7":{},"10":{}},"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":{}},"component":{}}],["default",{"_index":329,"title":{},"name":{},"text":{"3":{},"4":{},"7":{},"9":{}},"component":{}}],["defin",{"_index":295,"title":{},"name":{},"text":{"3":{},"4":{},"9":{}},"component":{}}],["depend",{"_index":45,"title":{},"name":{},"text":{"1":{},"3":{},"8":{},"9":{},"12":{},"13":{},"14":{},"15":{}},"component":{}}],["describ",{"_index":182,"title":{},"name":{},"text":{"2":{},"7":{}},"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":{}},"component":{}}],["differ",{"_index":352,"title":{"4-9":{}},"name":{},"text":{"4":{}},"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":{}}],["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":{}},"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":{}}],["enabl",{"_index":389,"title":{},"name":{},"text":{"4":{},"13":{}},"component":{}}],["enableplugins(cxfplugin",{"_index":604,"title":{},"name":{},"text":{"15":{}},"component":{}}],["encod",{"_index":319,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["end",{"_index":235,"title":{},"name":{},"text":{"3":{},"7":{},"9":{}},"component":{}}],["endpoint",{"_index":232,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["enhanc",{"_index":292,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["enough",{"_index":545,"title":{},"name":{},"text":{"7":{}},"component":{}}],["ensur",{"_index":341,"title":{},"name":{},"text":{"3":{},"5":{},"9":{},"10":{}},"component":{}}],["entir",{"_index":30,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["eventu",{"_index":556,"title":{},"name":{},"text":{"7":{}},"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":{}},"component":{}}],["except",{"_index":84,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["execut",{"_index":437,"title":{},"name":{},"text":{"4":{}},"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":{}},"component":{}}],["extract",{"_index":540,"title":{},"name":{},"text":{"7":{}},"component":{}}],["fals",{"_index":102,"title":{},"name":{},"text":{"1":{},"8":{},"13":{}},"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":{}},"component":{}}],["filesystem",{"_index":446,"title":{},"name":{},"text":{"4":{}},"component":{}}],["final",{"_index":251,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["first",{"_index":188,"title":{},"name":{},"text":{"2":{},"3":{},"7":{},"9":{}},"component":{}}],["focuss",{"_index":192,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["follow",{"_index":113,"title":{},"name":{},"text":{"1":{},"3":{},"4":{},"8":{},"9":{},"12":{},"14":{}},"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":{}},"component":{}}],["frontend",{"_index":582,"title":{},"name":{},"text":{"13":{}},"component":{}}],["full",{"_index":422,"title":{},"name":{},"text":{"4":{}},"component":{}}],["fulli",{"_index":302,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["further",{"_index":343,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["futur",{"_index":291,"title":{"4-4":{}},"name":{},"text":{"3":{},"4":{},"7":{},"9":{},"13":{}},"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":{}},"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":{}},"name":{"12":{}},"text":{"12":{},"13":{}},"component":{}}],["group",{"_index":573,"title":{},"name":{},"text":{"12":{}},"component":{}}],["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":{}}],["helloworld",{"_index":132,"title":{},"name":{},"text":{"1":{},"3":{},"8":{},"9":{}},"component":{}}],["helloworld.wsdl",{"_index":568,"title":{},"name":{},"text":{"11":{},"15":{}},"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":{}}],["http",{"_index":119,"title":{},"name":{},"text":{"1":{},"2":{},"3":{},"5":{},"7":{},"8":{},"9":{},"10":{}},"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":{}},"component":{}}],["implicit",{"_index":281,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["import",{"_index":52,"title":{},"name":{},"text":{"1":{},"3":{},"5":{},"8":{},"9":{},"10":{}},"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":{}},"text":{},"component":{}}],["individu",{"_index":404,"title":{},"name":{},"text":{"4":{}},"component":{}}],["info",{"_index":316,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["inject",{"_index":245,"title":{},"name":{},"text":{"3":{},"7":{},"9":{}},"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":{}},"component":{}}],["java.util",{"_index":464,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["java.util.concurrent.completionstag",{"_index":271,"title":{},"name":{},"text":{"3":{},"4":{},"9":{},"13":{}},"component":{}}],["java.util.set",{"_index":57,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["java.util.{map",{"_index":480,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["javax",{"_index":502,"title":{},"name":{},"text":{"6":{}},"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":{}},"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":{}},"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":{}},"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":{}}],["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":{}},"component":{}}],["mani",{"_index":35,"title":{},"name":{},"text":{"1":{},"3":{},"4":{},"8":{},"9":{}},"component":{}}],["map",{"_index":467,"title":{},"name":{},"text":{"5":{},"10":{}},"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":{}},"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":{}},"component":{}}],["monitor",{"_index":34,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["more",{"_index":46,"title":{},"name":{},"text":{"1":{},"6":{},"8":{}},"component":{}}],["multipl",{"_index":530,"title":{},"name":{},"text":{"7":{}},"component":{}}],["mycompon",{"_index":248,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["mycomponent(helloworldservic",{"_index":252,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["name",{"_index":218,"title":{"4-5":{},"4-6":{}},"name":{},"text":{"3":{},"4":{},"7":{},"9":{},"12":{}},"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":{}},"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":{}},"component":{}}],["notic",{"_index":376,"title":{},"name":{},"text":{"4":{}},"component":{}}],["now",{"_index":239,"title":{},"name":{},"text":{"3":{},"6":{},"7":{},"9":{}},"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(answ",{"_index":270,"title":{},"name":{},"text":{"3":{},"9":{}},"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":{}},"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":{}}],["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":{}}],["over",{"_index":410,"title":{},"name":{},"text":{"4":{}},"component":{}}],["overrid",{"_index":399,"title":{},"name":{},"text":{"4":{},"7":{}},"component":{}}],["overridden",{"_index":411,"title":{},"name":{},"text":{"4":{},"7":{}},"component":{}}],["packag",{"_index":222,"title":{"4-5":{}},"name":{},"text":{"3":{},"4":{},"9":{}},"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":{}}],["payload",{"_index":326,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["place",{"_index":380,"title":{},"name":{},"text":{"4":{}},"component":{}}],["play",{"_index":151,"title":{"2":{},"3":{},"6":{},"7":{},"9":{},"2-2":{}},"name":{"3":{},"9":{}},"text":{"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"9":{},"10":{},"11":{},"12":{},"13":{},"14":{},"15":{}},"component":{"1":{},"2":{},"3":{},"4":{},"5":{},"6":{},"7":{},"8":{},"9":{},"10":{},"11":{},"12":{},"13":{},"14":{},"15":{}}}],["play.api.libs.concurrent.execution.implicits._",{"_index":265,"title":{},"name":{},"text":{"3":{},"9":{}},"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":{}}],["playscala",{"_index":391,"title":{},"name":{},"text":{"4":{}},"component":{}}],["plugin",{"_index":199,"title":{},"name":{},"text":{"2":{},"3":{},"4":{},"9":{},"12":{},"13":{},"14":{},"15":{}},"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":{}},"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":{}}],["prepend",{"_index":477,"title":{},"name":{},"text":{"5":{},"10":{}},"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":{}},"component":{}}],["process",{"_index":98,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["project",{"_index":354,"title":{},"name":{},"text":{"4":{},"13":{},"15":{}},"component":{}}],["project/plugins.sbt",{"_index":357,"title":{},"name":{},"text":{"4":{},"15":{}},"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":{}}],["protocol",{"_index":460,"title":{},"name":{},"text":{"5":{},"10":{}},"component":{}}],["provid",{"_index":7,"title":{},"name":{},"text":{"1":{},"2":{},"7":{},"8":{}},"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":{}},"component":{}}],["pure",{"_index":288,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["qualifi",{"_index":303,"title":{},"name":{},"text":{"3":{},"9":{}},"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":{}},"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":{}}],["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":{}}],["resourcedirectory).valu",{"_index":608,"title":{},"name":{},"text":{"15":{}},"component":{}}],["respons",{"_index":81,"title":{},"name":{},"text":{"1":{},"2":{},"3":{},"7":{},"8":{},"9":{}},"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":{}},"component":{}}],["reus",{"_index":538,"title":{},"name":{},"text":{"7":{}},"component":{}}],["run",{"_index":423,"title":{},"name":{},"text":{"4":{}},"component":{}}],["runtimeexception(",{"_index":88,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["s",{"_index":512,"title":{},"name":{},"text":{"7":{}},"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":{}},"component":{}}],["sbt",{"_index":198,"title":{"4":{},"15":{}},"name":{"4":{},"15":{}},"text":{"2":{},"3":{},"4":{},"9":{},"13":{},"15":{}},"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":{}},"component":{}}],["scala.collection.javaconverters._",{"_index":283,"title":{},"name":{},"text":{"3":{},"5":{},"9":{},"10":{}},"component":{}}],["scala.concurrent.futur",{"_index":387,"title":{},"name":{},"text":{"4":{},"13":{}},"component":{}}],["scalafutureapi",{"_index":438,"title":{},"name":{},"text":{"4":{}},"component":{}}],["scope",{"_index":377,"title":{},"name":{},"text":{"4":{}},"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":{}},"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":{}}],["server",{"_index":106,"title":{},"name":{},"text":{"1":{},"8":{}},"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":{}},"component":{}}],["servicenam",{"_index":413,"title":{},"name":{},"text":{"4":{}},"component":{}}],["set",{"_index":63,"title":{},"name":{},"text":{"1":{},"3":{},"4":{},"5":{},"7":{},"8":{},"9":{},"10":{},"13":{},"15":{}},"component":{}}],["setter",{"_index":284,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["shown",{"_index":244,"title":{},"name":{},"text":{"3":{},"9":{}},"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":{}}],["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":{}},"component":{}}],["spec",{"_index":164,"title":{},"name":{},"text":{"2":{},"7":{}},"component":{}}],["specif",{"_index":37,"title":{},"name":{},"text":{"1":{},"8":{}},"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":{}},"component":{}}],["straightforward",{"_index":217,"title":{},"name":{},"text":{"3":{},"9":{}},"component":{}}],["string",{"_index":262,"title":{},"name":{},"text":{"3":{},"4":{},"9":{}},"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":{}}],["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":{}}],["suppli",{"_index":121,"title":{"4-2":{},"4-8":{}},"name":{},"text":{"1":{},"3":{},"4":{},"8":{},"9":{}},"component":{}}],["support",{"_index":152,"title":{"2-1":{},"7-1":{}},"name":{},"text":{"2":{},"4":{},"6":{},"7":{},"13":{}},"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":{}}],["they’r",{"_index":25,"title":{},"name":{},"text":{"1":{},"8":{}},"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":{}}],["throw",{"_index":86,"title":{},"name":{},"text":{"1":{},"8":{}},"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":{}},"component":{}}],["top",{"_index":417,"title":{},"name":{},"text":{"4":{}},"component":{}}],["transform",{"_index":200,"title":{},"name":{},"text":{"2":{}},"component":{}}],["tri",{"_index":74,"title":{},"name":{},"text":{"1":{},"8":{}},"component":{}}],["true",{"_index":89,"title":{},"name":{},"text":{"1":{},"3":{},"5":{},"8":{},"9":{},"10":{},"13":{}},"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":{}}],["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":{},"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":{}},"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":{}},"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":{}}],["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":[]}},"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},"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},"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}]}}}}) \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 0000000..5b32c2c --- /dev/null +++ b/sitemap.xml @@ -0,0 +1,63 @@ + + + +https://playframework.github.io/play-soap/2.x/client/handlers.html +2023-11-15T03:17:08.898Z + + +https://playframework.github.io/play-soap/2.x/client/play-soap-client.html +2023-11-15T03:17:08.898Z + + +https://playframework.github.io/play-soap/2.x/client/security.html +2023-11-15T03:17:08.898Z + + +https://playframework.github.io/play-soap/2.x/highlights.html +2023-11-15T03:17:08.898Z + + +https://playframework.github.io/play-soap/2.x/index.html +2023-11-15T03:17:08.898Z + + +https://playframework.github.io/play-soap/2.x/plugin/cli.html +2023-11-15T03:17:08.898Z + + +https://playframework.github.io/play-soap/2.x/plugin/gradle.html +2023-11-15T03:17:08.898Z + + +https://playframework.github.io/play-soap/2.x/plugin/how-to-use.html +2023-11-15T03:17:08.898Z + + +https://playframework.github.io/play-soap/2.x/plugin/maven.html +2023-11-15T03:17:08.898Z + + +https://playframework.github.io/play-soap/2.x/plugin/sbt.html +2023-11-15T03:17:08.898Z + + +https://playframework.github.io/play-soap/1.x/handlers.html +2023-11-15T03:17:08.898Z + + +https://playframework.github.io/play-soap/1.x/index.html +2023-11-15T03:17:08.898Z + + +https://playframework.github.io/play-soap/1.x/play-soap-client.html +2023-11-15T03:17:08.898Z + + +https://playframework.github.io/play-soap/1.x/sbt-wsdl.html +2023-11-15T03:17:08.898Z + + +https://playframework.github.io/play-soap/1.x/security.html +2023-11-15T03:17:08.898Z + +