blob: 6dd36bc14e200b7931f6a49b5a30374f7e7e8936 [file] [log] [blame]
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) on Thu Sep 15 14:13:16 CDT 2022 -->
<title>Uses of Class org.eclipse.jetty.websocket.core.internal.util.InvokerUtils.Arg (Eclipse Jetty API Doc - v11.0.12)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-09-15">
<meta name="description" content="use: package: org.eclipse.jetty.websocket.core.internal.util, class: InvokerUtils, class: Arg">
<meta name="generator" content="javadoc/ClassUseWriter">
<link rel="stylesheet" type="text/css" href="../../../../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../../../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../../../../script-dir/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="../../../../../../../../script-dir/jquery-ui.min.js"></script>
</head>
<body class="class-use-page">
<script type="text/javascript">var pathtoroot = "../../../../../../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
<li><a href="../../../../../../../../index.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../InvokerUtils.Arg.html" title="class in org.eclipse.jetty.websocket.core.internal.util">Class</a></li>
<li class="nav-bar-cell1-rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../../../../help-doc.html#use">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
<input type="text" id="search-input" value="search" disabled="disabled">
<input type="reset" id="reset-button" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<div class="header">
<h1 title="Uses of Class org.eclipse.jetty.websocket.core.internal.util.InvokerUtils.Arg" class="title">Uses of Class<br>org.eclipse.jetty.websocket.core.internal.util.InvokerUtils.Arg</h1>
</div>
<div class="caption"><span>Packages that use <a href="../InvokerUtils.Arg.html" title="class in org.eclipse.jetty.websocket.core.internal.util">InvokerUtils.Arg</a></span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Package</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><a href="#org.eclipse.jetty.websocket.core.internal.util">org.eclipse.jetty.websocket.core.internal.util</a></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><a href="#org.eclipse.jetty.websocket.jakarta.server.internal">org.eclipse.jetty.websocket.jakarta.server.internal</a></div>
<div class="col-last odd-row-color">&nbsp;</div>
</div>
<section class="class-uses">
<ul class="block-list">
<li>
<section class="detail" id="org.eclipse.jetty.websocket.core.internal.util">
<h2>Uses of <a href="../InvokerUtils.Arg.html" title="class in org.eclipse.jetty.websocket.core.internal.util">InvokerUtils.Arg</a> in <a href="../package-summary.html">org.eclipse.jetty.websocket.core.internal.util</a></h2>
<div class="caption"><span>Methods in <a href="../package-summary.html">org.eclipse.jetty.websocket.core.internal.util</a> that return <a href="../InvokerUtils.Arg.html" title="class in org.eclipse.jetty.websocket.core.internal.util">InvokerUtils.Arg</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code><a href="../InvokerUtils.Arg.html" title="class in org.eclipse.jetty.websocket.core.internal.util">InvokerUtils.Arg</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">InvokerUtils.Arg.</span><code><a href="../InvokerUtils.Arg.html#convertible()" class="member-name-link">convertible</a>()</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code><a href="../InvokerUtils.Arg.html" title="class in org.eclipse.jetty.websocket.core.internal.util">InvokerUtils.Arg</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">InvokerUtils.ParamIdentifier.</span><code><a href="../InvokerUtils.ParamIdentifier.html#getParamArg(java.lang.reflect.Method,java.lang.Class,int)" class="member-name-link">getParamArg</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/reflect/Method.html" title="class or interface in java.lang.reflect" class="external-link">Method</a>&nbsp;method,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a>&lt;?&gt;&nbsp;paramType,
int&nbsp;idx)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code><a href="../InvokerUtils.Arg.html" title="class in org.eclipse.jetty.websocket.core.internal.util">InvokerUtils.Arg</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">InvokerUtils.Arg.</span><code><a href="../InvokerUtils.Arg.html#required()" class="member-name-link">required</a>()</code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
<div class="caption"><span>Methods in <a href="../package-summary.html">org.eclipse.jetty.websocket.core.internal.util</a> with parameters of type <a href="../InvokerUtils.Arg.html" title="class in org.eclipse.jetty.websocket.core.internal.util">InvokerUtils.Arg</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>boolean</code></div>
<div class="col-second even-row-color"><span class="type-name-label">InvokerUtils.Arg.</span><code><a href="../InvokerUtils.Arg.html#matches(org.eclipse.jetty.websocket.core.internal.util.InvokerUtils.Arg)" class="member-name-link">matches</a><wbr>(<a href="../InvokerUtils.Arg.html" title="class in org.eclipse.jetty.websocket.core.internal.util">InvokerUtils.Arg</a>&nbsp;other)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
<div class="col-first odd-row-color"><code>static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/MethodHandle.html" title="class or interface in java.lang.invoke" class="external-link">MethodHandle</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">InvokerUtils.</span><code><a href="../InvokerUtils.html#mutatedInvoker(java.lang.invoke.MethodHandles.Lookup,java.lang.Class,java.lang.reflect.Method,org.eclipse.jetty.websocket.core.internal.util.InvokerUtils.Arg...)" class="member-name-link">mutatedInvoker</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/MethodHandles.Lookup.html" title="class or interface in java.lang.invoke" class="external-link">MethodHandles.Lookup</a>&nbsp;lookup,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a>&lt;?&gt;&nbsp;targetClass,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/reflect/Method.html" title="class or interface in java.lang.reflect" class="external-link">Method</a>&nbsp;method,
<a href="../InvokerUtils.Arg.html" title="class in org.eclipse.jetty.websocket.core.internal.util">InvokerUtils.Arg</a>...&nbsp;callingArgs)</code></div>
<div class="col-last odd-row-color">
<div class="block">Build a MethodHandle that can call the method with the calling args provided.</div>
</div>
<div class="col-first even-row-color"><code>static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/MethodHandle.html" title="class or interface in java.lang.invoke" class="external-link">MethodHandle</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">InvokerUtils.</span><code><a href="../InvokerUtils.html#mutatedInvoker(java.lang.invoke.MethodHandles.Lookup,java.lang.Class,java.lang.reflect.Method,org.eclipse.jetty.websocket.core.internal.util.InvokerUtils.ParamIdentifier,java.lang.String%5B%5D,org.eclipse.jetty.websocket.core.internal.util.InvokerUtils.Arg...)" class="member-name-link">mutatedInvoker</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/MethodHandles.Lookup.html" title="class or interface in java.lang.invoke" class="external-link">MethodHandles.Lookup</a>&nbsp;lookup,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a>&lt;?&gt;&nbsp;targetClass,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/reflect/Method.html" title="class or interface in java.lang.reflect" class="external-link">Method</a>&nbsp;method,
<a href="../InvokerUtils.ParamIdentifier.html" title="interface in org.eclipse.jetty.websocket.core.internal.util">InvokerUtils.ParamIdentifier</a>&nbsp;paramIdentifier,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>[]&nbsp;namedVariables,
<a href="../InvokerUtils.Arg.html" title="class in org.eclipse.jetty.websocket.core.internal.util">InvokerUtils.Arg</a>...&nbsp;callingArgs)</code></div>
<div class="col-last even-row-color">
<div class="block">Create a MethodHandle that performs the following layers
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/MethodHandles.html#permuteArguments(java.lang.invoke.MethodHandle,java.lang.invoke.MethodType,int...)" title="class or interface in java.lang.invoke" class="external-link"><code>MethodHandles.permuteArguments(MethodHandle, MethodType, int...)</code></a> - moving calling Args around
to fit actual actual method parameter arguments (in proper order), with remaining (unused) calling args afterwords
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/MethodHandles.html#dropArguments(java.lang.invoke.MethodHandle,int,java.lang.Class...)" title="class or interface in java.lang.invoke" class="external-link"><code>MethodHandles.dropArguments(MethodHandle, int, Class[])</code></a> - to drop the unused calling args
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/MethodHandle.html#invoke(java.lang.Object...)" title="class or interface in java.lang.invoke" class="external-link"><code>MethodHandle.invoke(Object...)</code></a> - to call the specific method
</div>
</div>
<div class="col-first odd-row-color"><code>static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/MethodHandle.html" title="class or interface in java.lang.invoke" class="external-link">MethodHandle</a></code></div>
<div class="col-second odd-row-color"><span class="type-name-label">InvokerUtils.</span><code><a href="../InvokerUtils.html#optionalMutatedInvoker(java.lang.invoke.MethodHandles.Lookup,java.lang.Class,java.lang.reflect.Method,org.eclipse.jetty.websocket.core.internal.util.InvokerUtils.Arg...)" class="member-name-link">optionalMutatedInvoker</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/MethodHandles.Lookup.html" title="class or interface in java.lang.invoke" class="external-link">MethodHandles.Lookup</a>&nbsp;lookup,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a>&lt;?&gt;&nbsp;targetClass,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/reflect/Method.html" title="class or interface in java.lang.reflect" class="external-link">Method</a>&nbsp;method,
<a href="../InvokerUtils.Arg.html" title="class in org.eclipse.jetty.websocket.core.internal.util">InvokerUtils.Arg</a>...&nbsp;callingArgs)</code></div>
<div class="col-last odd-row-color">&nbsp;</div>
<div class="col-first even-row-color"><code>static <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/MethodHandle.html" title="class or interface in java.lang.invoke" class="external-link">MethodHandle</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">InvokerUtils.</span><code><a href="../InvokerUtils.html#optionalMutatedInvoker(java.lang.invoke.MethodHandles.Lookup,java.lang.Class,java.lang.reflect.Method,org.eclipse.jetty.websocket.core.internal.util.InvokerUtils.ParamIdentifier,java.lang.String%5B%5D,org.eclipse.jetty.websocket.core.internal.util.InvokerUtils.Arg...)" class="member-name-link">optionalMutatedInvoker</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/invoke/MethodHandles.Lookup.html" title="class or interface in java.lang.invoke" class="external-link">MethodHandles.Lookup</a>&nbsp;lookup,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a>&lt;?&gt;&nbsp;targetClass,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/reflect/Method.html" title="class or interface in java.lang.reflect" class="external-link">Method</a>&nbsp;method,
<a href="../InvokerUtils.ParamIdentifier.html" title="interface in org.eclipse.jetty.websocket.core.internal.util">InvokerUtils.ParamIdentifier</a>&nbsp;paramIdentifier,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>[]&nbsp;namedVariables,
<a href="../InvokerUtils.Arg.html" title="class in org.eclipse.jetty.websocket.core.internal.util">InvokerUtils.Arg</a>...&nbsp;callingArgs)</code></div>
<div class="col-last even-row-color">
<div class="block">Create an optional MethodHandle that performs the following layers.</div>
</div>
</div>
</section>
</li>
<li>
<section class="detail" id="org.eclipse.jetty.websocket.jakarta.server.internal">
<h2>Uses of <a href="../InvokerUtils.Arg.html" title="class in org.eclipse.jetty.websocket.core.internal.util">InvokerUtils.Arg</a> in <a href="../../../../jakarta/server/internal/package-summary.html">org.eclipse.jetty.websocket.jakarta.server.internal</a></h2>
<div class="caption"><span>Methods in <a href="../../../../jakarta/server/internal/package-summary.html">org.eclipse.jetty.websocket.jakarta.server.internal</a> that return <a href="../InvokerUtils.Arg.html" title="class in org.eclipse.jetty.websocket.core.internal.util">InvokerUtils.Arg</a></span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code><a href="../InvokerUtils.Arg.html" title="class in org.eclipse.jetty.websocket.core.internal.util">InvokerUtils.Arg</a></code></div>
<div class="col-second even-row-color"><span class="type-name-label">PathParamIdentifier.</span><code><a href="../../../../jakarta/server/internal/PathParamIdentifier.html#getParamArg(java.lang.reflect.Method,java.lang.Class,int)" class="member-name-link">getParamArg</a><wbr>(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/reflect/Method.html" title="class or interface in java.lang.reflect" class="external-link">Method</a>&nbsp;method,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Class.html" title="class or interface in java.lang" class="external-link">Class</a>&lt;?&gt;&nbsp;paramType,
int&nbsp;idx)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
</section>
</li>
</ul>
</section>
</main>
<footer role="contentinfo">
<hr>
<p class="legal-copy"><small>Copyright &#169; 1995&#x2013;2022 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p>
</footer>
</div>
</div>
</body>
</html>