blob: 75244e028952b18b021c471fccf7013cd467aa24 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.2) on Wed Sep 23 17:36:24 GMT 2020 -->
<title>RuntimeDelegate (jakarta.ws.rs-api 3.0.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2020-09-23">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="RuntimeDelegate (jakarta.ws.rs-api 3.0.0 API)";
}
}
catch(err) {
}
//-->
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":9,"i7":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/RuntimeDelegate.html">Use</a></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">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">jakarta.ws.rs.ext</a></div>
<h2 title="Class RuntimeDelegate" class="title">Class RuntimeDelegate</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>jakarta.ws.rs.ext.RuntimeDelegate</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<pre>public abstract class <span class="typeNameLabel">RuntimeDelegate</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></pre>
<div class="block">Implementations of JAX-RS provide a concrete subclass of RuntimeDelegate and various JAX-RS API methods defer to
methods of RuntimeDelegate for their functionality. Regular users of JAX-RS are not expected to use this class
directly and overriding an implementation of this class with a user supplied subclass may cause unexpected behavior.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.0</dd>
<dt><span class="simpleTagLabel">Author:</span></dt>
<dd>Paul Sandoz, Marc Hadley</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="RuntimeDelegate.HeaderDelegate.html" title="interface in jakarta.ws.rs.ext">RuntimeDelegate.HeaderDelegate</a>&lt;<a href="RuntimeDelegate.HeaderDelegate.html" title="type parameter in RuntimeDelegate.HeaderDelegate">T</a>&gt;</span></code></th>
<td class="colLast">
<div class="block">Defines the contract for a delegate that is responsible for converting between the String form of a HTTP header and
the corresponding JAX-RS type <code>T</code>.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#JAXRS_RUNTIME_DELEGATE_PROPERTY">JAXRS_RUNTIME_DELEGATE_PROPERTY</a></span></code></th>
<td class="colLast">
<div class="block">Name of the property identifying the <a href="RuntimeDelegate.html" title="class in jakarta.ws.rs.ext"><code>RuntimeDelegate</code></a> implementation to be returned from
<a href="#getInstance()"><code>getInstance()</code></a>.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colSecond" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">RuntimeDelegate</a></span>()</code></th>
<td class="colLast">
<div class="block">Allows custom implementations to extend the <code>RuntimeDelegate</code> class.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>abstract &lt;T&gt;&nbsp;T</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createEndpoint(jakarta.ws.rs.core.Application,java.lang.Class)">createEndpoint</a></span>&#8203;(<a href="../core/Application.html" title="class in jakarta.ws.rs.core">Application</a>&nbsp;application,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;endpointType)</code></th>
<td class="colLast">
<div class="block">Create a configured instance of the supplied endpoint type.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>abstract &lt;T&gt;&nbsp;<a href="RuntimeDelegate.HeaderDelegate.html" title="interface in jakarta.ws.rs.ext">RuntimeDelegate.HeaderDelegate</a>&lt;T&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createHeaderDelegate(java.lang.Class)">createHeaderDelegate</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;type)</code></th>
<td class="colLast">
<div class="block">Obtain an instance of a <a href="RuntimeDelegate.HeaderDelegate.html" title="interface in jakarta.ws.rs.ext"><code>RuntimeDelegate.HeaderDelegate</code></a> for the supplied class.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>abstract <a href="../core/Link.Builder.html" title="interface in jakarta.ws.rs.core">Link.Builder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createLinkBuilder()">createLinkBuilder</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new instance of a <a href="../core/Link.Builder.html" title="interface in jakarta.ws.rs.core"><code>Link.Builder</code></a>.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>abstract <a href="../core/Response.ResponseBuilder.html" title="class in jakarta.ws.rs.core">Response.ResponseBuilder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createResponseBuilder()">createResponseBuilder</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new instance of a <a href="../core/Response.ResponseBuilder.html" title="class in jakarta.ws.rs.core"><code>Response.ResponseBuilder</code></a>.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>abstract <a href="../core/UriBuilder.html" title="class in jakarta.ws.rs.core">UriBuilder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createUriBuilder()">createUriBuilder</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new instance of a <a href="../core/UriBuilder.html" title="class in jakarta.ws.rs.core"><code>UriBuilder</code></a>.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>abstract <a href="../core/Variant.VariantListBuilder.html" title="class in jakarta.ws.rs.core">Variant.VariantListBuilder</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createVariantListBuilder()">createVariantListBuilder</a></span>()</code></th>
<td class="colLast">
<div class="block">Create a new instance of a <a href="../core/Variant.VariantListBuilder.html" title="class in jakarta.ws.rs.core"><code>Variant.VariantListBuilder</code></a>.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static <a href="RuntimeDelegate.html" title="class in jakarta.ws.rs.ext">RuntimeDelegate</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInstance()">getInstance</a></span>()</code></th>
<td class="colLast">
<div class="block">Obtain a <code>RuntimeDelegate</code> instance.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setInstance(jakarta.ws.rs.ext.RuntimeDelegate)">setInstance</a></span>&#8203;(<a href="RuntimeDelegate.html" title="class in jakarta.ws.rs.ext">RuntimeDelegate</a>&nbsp;rd)</code></th>
<td class="colLast">
<div class="block">Set the runtime delegate that will be used by JAX-RS classes.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang" class="externalLink">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="JAXRS_RUNTIME_DELEGATE_PROPERTY">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>JAXRS_RUNTIME_DELEGATE_PROPERTY</h4>
<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> JAXRS_RUNTIME_DELEGATE_PROPERTY</pre>
<div class="block">Name of the property identifying the <a href="RuntimeDelegate.html" title="class in jakarta.ws.rs.ext"><code>RuntimeDelegate</code></a> implementation to be returned from
<a href="#getInstance()"><code>getInstance()</code></a>.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#jakarta.ws.rs.ext.RuntimeDelegate.JAXRS_RUNTIME_DELEGATE_PROPERTY">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>RuntimeDelegate</h4>
<pre>protected&nbsp;RuntimeDelegate()</pre>
<div class="block">Allows custom implementations to extend the <code>RuntimeDelegate</code> class.</div>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="getInstance()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInstance</h4>
<pre class="methodSignature">public static&nbsp;<a href="RuntimeDelegate.html" title="class in jakarta.ws.rs.ext">RuntimeDelegate</a>&nbsp;getInstance()</pre>
<div class="block">Obtain a <code>RuntimeDelegate</code> instance. If an instance had not already been created and set via
<a href="#setInstance(jakarta.ws.rs.ext.RuntimeDelegate)"><code>setInstance(RuntimeDelegate)</code></a>, the first invocation will create an instance which will then be cached for
future use.
<p>
The algorithm used to locate the RuntimeDelegate subclass to use consists of the following steps:
</p>
<ul>
<li>If a resource with the name of <code>META-INF/services/jakarta.ws.rs.ext.RuntimeDelegate</code> exists, then its first
line, if present, is used as the UTF-8 encoded name of the implementation class.</li>
<li>If the $java.home/lib/jaxrs.properties file exists and it is readable by the
<code>java.util.Properties.load(InputStream)</code> method and it contains an entry whose key is
<code>jakarta.ws.rs.ext.RuntimeDelegate</code>, then the value of that entry is used as the name of the implementation
class.</li>
<li>If a system property with the name <code>jakarta.ws.rs.ext.RuntimeDelegate</code> is defined, then its value is used as
the name of the implementation class.</li>
<li>Finally, a default implementation class name is used.</li>
</ul></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an instance of <code>RuntimeDelegate</code>.</dd>
</dl>
</li>
</ul>
<a id="setInstance(jakarta.ws.rs.ext.RuntimeDelegate)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setInstance</h4>
<pre class="methodSignature">public static&nbsp;void&nbsp;setInstance&#8203;(<a href="RuntimeDelegate.html" title="class in jakarta.ws.rs.ext">RuntimeDelegate</a>&nbsp;rd)</pre>
<div class="block">Set the runtime delegate that will be used by JAX-RS classes. If this method is not called prior to
<a href="#getInstance()"><code>getInstance()</code></a> then an implementation will be sought as described in <a href="#getInstance()"><code>getInstance()</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rd</code> - the runtime delegate instance</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/SecurityException.html?is-external=true" title="class or interface in java.lang" class="externalLink">SecurityException</a></code> - if there is a security manager and the permission ReflectPermission("suppressAccessChecks")
has not been granted.</dd>
</dl>
</li>
</ul>
<a id="createUriBuilder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createUriBuilder</h4>
<pre class="methodSignature">public abstract&nbsp;<a href="../core/UriBuilder.html" title="class in jakarta.ws.rs.core">UriBuilder</a>&nbsp;createUriBuilder()</pre>
<div class="block">Create a new instance of a <a href="../core/UriBuilder.html" title="class in jakarta.ws.rs.core"><code>UriBuilder</code></a>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>new <code>UriBuilder</code> instance.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../core/UriBuilder.html" title="class in jakarta.ws.rs.core"><code>UriBuilder</code></a></dd>
</dl>
</li>
</ul>
<a id="createResponseBuilder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createResponseBuilder</h4>
<pre class="methodSignature">public abstract&nbsp;<a href="../core/Response.ResponseBuilder.html" title="class in jakarta.ws.rs.core">Response.ResponseBuilder</a>&nbsp;createResponseBuilder()</pre>
<div class="block">Create a new instance of a <a href="../core/Response.ResponseBuilder.html" title="class in jakarta.ws.rs.core"><code>Response.ResponseBuilder</code></a>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>new <code>ResponseBuilder</code> instance.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../core/Response.ResponseBuilder.html" title="class in jakarta.ws.rs.core"><code>Response.ResponseBuilder</code></a></dd>
</dl>
</li>
</ul>
<a id="createVariantListBuilder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createVariantListBuilder</h4>
<pre class="methodSignature">public abstract&nbsp;<a href="../core/Variant.VariantListBuilder.html" title="class in jakarta.ws.rs.core">Variant.VariantListBuilder</a>&nbsp;createVariantListBuilder()</pre>
<div class="block">Create a new instance of a <a href="../core/Variant.VariantListBuilder.html" title="class in jakarta.ws.rs.core"><code>Variant.VariantListBuilder</code></a>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>new <code>VariantListBuilder</code> instance.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../core/Variant.VariantListBuilder.html" title="class in jakarta.ws.rs.core"><code>Variant.VariantListBuilder</code></a></dd>
</dl>
</li>
</ul>
<a id="createEndpoint(jakarta.ws.rs.core.Application,java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createEndpoint</h4>
<pre class="methodSignature">public abstract&nbsp;&lt;T&gt;&nbsp;T&nbsp;createEndpoint&#8203;(<a href="../core/Application.html" title="class in jakarta.ws.rs.core">Application</a>&nbsp;application,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;endpointType)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IllegalArgumentException</a>,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang" class="externalLink">UnsupportedOperationException</a></pre>
<div class="block">Create a configured instance of the supplied endpoint type. How the returned endpoint instance is published is
dependent on the type of endpoint.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - endpoint type.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>application</code> - the application configuration.</dd>
<dd><code>endpointType</code> - the type of endpoint instance to be created.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a configured instance of the requested type.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IllegalArgumentException</a></code> - if application is null or the requested endpoint type is not supported.</dd>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang" class="externalLink">UnsupportedOperationException</a></code> - if the implementation supports no endpoint types.</dd>
</dl>
</li>
</ul>
<a id="createHeaderDelegate(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createHeaderDelegate</h4>
<pre class="methodSignature">public abstract&nbsp;&lt;T&gt;&nbsp;<a href="RuntimeDelegate.HeaderDelegate.html" title="interface in jakarta.ws.rs.ext">RuntimeDelegate.HeaderDelegate</a>&lt;T&gt;&nbsp;createHeaderDelegate&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;type)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IllegalArgumentException</a></pre>
<div class="block">Obtain an instance of a <a href="RuntimeDelegate.HeaderDelegate.html" title="interface in jakarta.ws.rs.ext"><code>RuntimeDelegate.HeaderDelegate</code></a> for the supplied class. An implementation is required to support the
following values for type: <a href="../core/CacheControl.html" title="class in jakarta.ws.rs.core"><code>CacheControl</code></a>, <a href="../core/Cookie.html" title="class in jakarta.ws.rs.core"><code>Cookie</code></a>,
<a href="../core/EntityTag.html" title="class in jakarta.ws.rs.core"><code>EntityTag</code></a>, <a href="../core/Link.html" title="class in jakarta.ws.rs.core"><code>Link</code></a>, <a href="../core/NewCookie.html" title="class in jakarta.ws.rs.core"><code>NewCookie</code></a>,
<a href="../core/MediaType.html" title="class in jakarta.ws.rs.core"><code>MediaType</code></a> and <code>java.util.Date</code>.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - header type.</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>type</code> - the class of the header.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an instance of <code>HeaderDelegate</code> for the supplied type.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IllegalArgumentException</a></code> - if type is <code>null</code>.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="RuntimeDelegate.HeaderDelegate.html" title="interface in jakarta.ws.rs.ext"><code>RuntimeDelegate.HeaderDelegate</code></a></dd>
</dl>
</li>
</ul>
<a id="createLinkBuilder()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>createLinkBuilder</h4>
<pre class="methodSignature">public abstract&nbsp;<a href="../core/Link.Builder.html" title="interface in jakarta.ws.rs.core">Link.Builder</a>&nbsp;createLinkBuilder()</pre>
<div class="block">Create a new instance of a <a href="../core/Link.Builder.html" title="interface in jakarta.ws.rs.core"><code>Link.Builder</code></a>.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>new <code>Link.Builder</code> instance.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../core/Link.Builder.html" title="interface in jakarta.ws.rs.core"><code>Link.Builder</code></a></dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/RuntimeDelegate.html">Use</a></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">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small><p align="left">Copyright &#169; 2018, 2020 Eclipse Foundation.<br>Use is subject to <a href="../../../../resources/EFSL.html" target="_top">license terms</a>.</small></p>
</footer>
</body>
</html>